宝线短 超强反抽[同花顺公式]
相关标签:
宝线短 超强反抽源码
原理解析:
来源:程序化99( WWW.CXH99.COM )
源码:
ZF:=(C-REF(C,1))/REF(C,1)*100;
MA510:=( MA(CLOSE,10) + MA(CLOSE,5) )/2,coloryellow,LINETHICK4;
MA3:=MA(C,3);
MA5:=MA(C,5);
AA:=(REF(H,1)-REF(C,6))/REF(C,6)*100;
BB:=(H-REF(C,1))/REF(C,1)*100;
CC:=(L-REF(C,1))/REF(C,1)*100;
DD:= COUNT( COUNT(ZF>9.9 AND C == H,1)>=1,10)>0;
EE:= ZF<-9.9 AND C == H;
超强反抽:=VOL <REF(VOL,1) AND AA >15 AND DD AND COUNT( MA510 >REF (MA510,1),5)>=5 AND COUNT( MA5 >REF (MA5,1),5)>=5 AND C<MA5 AND EE ==0;
HH0:=超强反抽;
HH:= HH0 ==1 AND COUNT(HH0,5)==1 ;
FF:= COUNT(HH,5)==1 AND VOL<REF(VOL,1) AND CC>-5 AND ( L>REF(L,2) OR ( L>REF(L,1) ) OR (L>REF(L,2)*0.98 )) ;
GG0:= HH==0 AND COUNT(HH,5)>=1 AND FF ==0;
II0:= HH==0 AND COUNT(HH,5)>=1 AND FF ==1;
GG:= GG0 ==1 AND COUNT(GG0,5)==1 ;
II:= II0 ==1 AND COUNT(II0,5)>=1 AND COUNT(GG0,5)==0;
DRAWICON( GG ,-2,2);
STICKLINE( GG ,0,10,8,0),colorgreen;
DRAWTEXT( GG ,13,'卖'),colorgreen;
STICKLINE(II ,3,7,8,0),COLORFF00FF;
DRAWTEXT(II ,13,'持'),COLORFF00FF;
DRAWICON(HH AND COUNT(HH,5)==1 ,0,1);
STICKLINE(HH AND COUNT(HH,5)==1 ,0,10,8,0),colorred;
DRAWTEXT(HH AND COUNT(HH,5)==1,13,'买'),colorred;
TIPTEXT(ISNULL(REFX(&CLOSE,1)),0,' WWW.CXH99.COM '),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,'同花顺程序化交易');
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容