等波暴涨看盘[同花顺公式]
相关标签:
追涨启动股票,赚取最大收益,又快又好的指标熬,试试吧
原理解析:
源码:
MA5:MA(C,5);MA10 :MA(CLOSE,10);MA60 : MA(CLOSE,60);GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));baijin1:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2;baijin2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;baijin3:=GJTJ1>60 AND GJTJ4>70;DRAWTEXT(baijin1 AND baijin2 AND baijin3,L-0.02,'白金');huangjin1:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3;huangjin2:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;DRAWTEXT(huangjin1 AND huangjin2,L-0.03,'黄金');XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5 AND GJTJ1>GJTJ4;DRAWTEXT(COUNT(XG,3)=1 AND XG AND C>MA(C,20),L-0.02,'暴涨启动'),colorred;zhencang1:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;zhencang2:=BARSLAST(CROSS(GJTJ4,GJTJ2));zhencang3:=GJTJ3<GJTJ4 AND GJTJ2<GJTJ4;zhencang4:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;zhencang5:=GJTJ2<GJTJ3 AND GJTJ2<GJTJ4 AND GJTJ2<GJTJ1 AND GJTJ1=100;zcB1:=zhencang1>0 AND REF(zhencang1,1)=0 AND REF(zhencang1,2)>0;DRAWTEXT(zhencang1 AND zhencang2 AND zhencang3 AND zhencang4 AND zhencang5,L-0.05,'震仓');Aa:=BARSLAST(CROSS(97,GJTJ1))<=1 AND BARSLAST(CROSS(GJTJ1,85))<=1;Bb:=BARSLAST(CROSS(97,GJTJ2))<=1 AND BARSLAST(CROSS(GJTJ2,85))<=1;Aa1:=Aa AND Bb;AAa:=BARSLAST(CROSS(97,GJTJ1))<=2 AND BARSLAST(CROSS(GJTJ1,85))<=1;BAa:=BARSLAST(CROSS(97,GJTJ2))<=2 AND BARSLAST(CROSS(GJTJ2,85))<=1;Aa2:=AA AND Bb ;AAAa:=BARSLAST(CROSS(97,GJTJ1))<=3 AND BARSLAST(CROSS(GJTJ1,85))<=1;BAAa:=BARSLAST(CROSS(97,GJTJ2))<=3 AND BARSLAST(CROSS(GJTJ2,85))<=1;Aa3:=AAAa AND BAAa ;Bb1:=REF(Aa1,1);Bb2:=REF(Aa2,1);Bb3:=REF(Aa3,1);Dd1:=GJTJ1=100 AND GJTJ2=100 AND Aa1 ;Dd2:=GJTJ1=100 AND GJTJ2=100 AND Aa2 ;Dd3:=GJTJ1=100 AND GJTJ2=100 AND Aa3 ;DRAWTEXT(Dd1 OR Dd2 OR Dd3,L-0.02,'追涨');Aw:=BARSLAST(CROSS(95,GJTJ1))<=2;Bw:=BARSLAST(CROSS(95,GJTJ2))<=2;Ew:= GJTJ4<GJTJ1 AND GJTJ1<GJTJ2 AND GJTJ1<GJTJ3;Fw:=GJTJ2>50 AND GJTJ3>50;Gw:=GJTJ1=100 AND GJTJ2=100;TXw:=COUNT(Gw,2)=1;DRAWTEXT(Aw AND Bw AND Ew AND Fw AND TXw,L-0.03,'起涨首日');Aq:=GJTJ3=100;Bq:=GJTJ4<90;DRAWTEXT(COUNT(Aq,2) = 2 AND Bq,L-0.02,'波启前兆');A1:=ABS(100*(C-REF(C,1))/REF(C,1))<=3;A2:=COUNT(A1,5)=5;A3:=REF(A2,1);A4:=C/REF(C,2)>1.03;B1:=REF(A4,1);A5:=(C-REF(C,1))/REF(C,1)*100;A6:=SUM(A5,5)<4;A7:=REF(A6,1);A8:=HHV(C,8);A9:=REF(A8,1);A10:=C>A9;A3 AND A4 AND A10 AND A7;DRAWTEXT_FIX(1,0.01,0.82,0,'做强势,地量是洗盘的结束,涨停是爆发的开始。www.cxh99.com'),colorwhite;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容