注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

天意(专注股票)

对股票一往情深,享受成功与失败

 
 
 

日志

 
 
关于我

对股票一往情深,享受成功与失败。 声明: 本博客只是个人的一些看法,不对任何个人和团体构成投资依据和建议,据此操作,风险自担。

网易考拉推荐

MAQK+BOLL+缺口看盘+选股  

2013-11-23 14:28:23|  分类: 股票编程 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
N:=20;
BOLL:MA(CLOSE,N);
UPPER:BOLL+2*STD(CLOSE,N);
LOWER:BOLL-2*STD(CLOSE,N);


MA60:MA(CLOSE,60) COLORYELLOW LINETHICK3;


{
{60日均线-10~70度向上}
ZHANGFU5:=(MA60-REF(MA60,5))/REF(MA60,5)*100;
JIAODU5:=180/3.1416*ATAN(ZHANGFU5/5);
ZHANGFU10:=(MA60-REF(MA60,10))/REF(MA60,10)*100;
JIAODU10:=180/3.1416*ATAN(ZHANGFU10/10);
JIAO1:=(JIAODU5>-15 AND JIAODU5<0) OR (JIAODU10>-15 AND JIAODU10<0);
JIAO2:=(JIAODU5>0 AND JIAODU5<15) OR (JIAODU10>0 AND JIAODU10<15);
JIAO3:=(JIAODU5>15 AND JIAODU5<70) OR (JIAODU10>15 AND JIAODU10<70);
{周线下轨选股:股价最低值接近BOLL下轨}
{C1:=L/LOWER<1;
C2:=L/LOWER<1.05;
C3:=L/LOWER<1.07;
XUAN:=(JIAO1 AND C1) OR (JIAO2 AND C2) OR (JIAO3 AND C3);
};


{突破BOLL上轨,且BOLL开口}
A1:=CROSS(C,UPPER);
A2:=UPPER>REF(UPPER,1) AND LOWER<REF(LOWER,1) AND BOLL>REF(BOLL,1);
XUAN1:=A1 AND A2;
XUAN2:=IF(XUAN1,1, LOWER);






DRAWTEXT(LLV(L,1)>REF(H,1) AND DATE>1080101,REF(H,1),'-'),COLORRED;
DRAWTEXT(LLV(L,2)>REF(H,2) AND DATE>1080101,REF(H,2),'-'),COLORRED;
DRAWTEXT(LLV(L,3)>REF(H,3) AND DATE>1080101,REF(H,3),'-'),COLORRED;
DRAWTEXT(LLV(L,4)>REF(H,4) AND DATE>1080101,REF(H,4),'-'),COLORRED;
DRAWTEXT(LLV(L,5)>REF(H,5) AND DATE>1080101,REF(H,5),'-'),COLORRED;
DRAWTEXT(LLV(L,6)>REF(H,6) AND DATE>1080101,REF(H,6),'-'),COLORRED;
DRAWTEXT(LLV(L,7)>REF(H,7) AND DATE>1080101,REF(H,7),'-'),COLORRED;
DRAWTEXT(LLV(L,8)>REF(H,8) AND DATE>1080101,REF(H,8),'-'),COLORRED;
DRAWTEXT(LLV(L,9)>REF(H,9) AND DATE>1080101,REF(H,9),'-'),COLORRED;
DRAWTEXT(LLV(L,10)>REF(H,10) AND DATE>1080101,REF(H,10),'-'),COLORRED;
DRAWTEXT(LLV(L,11)>REF(H,11) AND DATE>1080101,REF(H,11),'-'),COLORRED;
DRAWTEXT(LLV(L,12)>REF(H,12) AND DATE>1080101,REF(H,12),'----'),COLORRED;

DRAWTEXT(HHV(H,1)<REF(L,1) AND DATE>1080101,REF(LOW,1),'-'),COLORGREEN;
DRAWTEXT(HHV(H,2)<REF(L,2) AND DATE>1080101,REF(LOW,2),'-'),COLORGREEN;
DRAWTEXT(HHV(H,3)<REF(L,3) AND DATE>1080101,REF(LOW,3),'-'),COLORGREEN;
DRAWTEXT(HHV(H,4)<REF(L,4) AND DATE>1080101,REF(LOW,4),'-'),COLORGREEN;
DRAWTEXT(HHV(H,5)<REF(L,5) AND DATE>1080101,REF(LOW,5),'-'),COLORGREEN;
DRAWTEXT(HHV(H,6)<REF(L,6) AND DATE>1080101,REF(LOW,6),'-'),COLORGREEN;
DRAWTEXT(HHV(H,7)<REF(L,7) AND DATE>1080101,REF(LOW,7),'-'),COLORGREEN;
DRAWTEXT(HHV(H,8)<REF(L,8) AND DATE>1080101,REF(LOW,8),'-'),COLORGREEN;
DRAWTEXT(HHV(H,9)<REF(L,9) AND DATE>1080101,REF(LOW,9),'-'),COLORGREEN;
DRAWTEXT(HHV(H,10)<REF(L,10) AND DATE>1080101,REF(LOW,10),'-'),COLORGREEN;
DRAWTEXT(HHV(H,11)<REF(L,11) AND DATE>1080101,REF(LOW,11),'----'),COLORGREEN;
  评论这张
 
阅读(137)| 评论(2)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017