ihzx 发表于 2021-8-21 14:05:24

暴涨启动 主图(大智慧)

<p>MA5:MA(C,5);<br />
MA10 :MA(close,10);<br />
MA60 : MA(close,60);</p>
<p>GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));<br />
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));<br />
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));<br />
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));<br />
baijin1:=BARSLAST(CROSS(30,GJTJ1))&lt;2 AND BARSLAST(CROSS(GJTJ1,50))&lt;2;<br />
baijin2:=BARSLAST(CROSS(GJTJ4,GJTJ1))&lt;2 AND GJTJ1&gt;GJTJ4;<br />
baijin3:=GJTJ1&gt;60 AND GJTJ4&gt;70;<br />
drawtext(baijin1 AND baijin2 AND baijin3,l-0.02,'白金');</p>
<p>huangjin1:=BARSLAST(CROSS(50,GJTJ1))&lt;3 AND BARSLAST(CROSS(GJTJ1,50))&lt;3;<br />
huangjin2:=BARSLAST(CROSS(GJTJ4,GJTJ1))&lt;2 AND GJTJ1&gt;GJTJ4;<br />
DRAWTEXT(huangjin1 AND huangjin2,l-0.03,'黄金');</p>
<p>XG:=BARSLAST(CROSS(GJTJ4,GJTJ1))&lt;5 AND GJTJ1&gt;GJTJ4;<br />
drawtext(COUNT(XG,3)=1 AND XG and c&gt;ma(c,20),l-0.02,'暴涨启动'),colorred;</p>
<p>zhencang1:=BARSLAST(CROSS(GJTJ4,GJTJ1))&gt;3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))&lt;3;<br />
zhencang2:=BARSLAST(CROSS(GJTJ4,GJTJ2));<br />
zhencang3:=GJTJ3&lt;GJTJ4 AND GJTJ2&lt;GJTJ4;<br />
zhencang4:=BARSLAST(CROSS(GJTJ4,GJTJ3))&gt;3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))&lt;3;<br />
zhencang5:=GJTJ2&lt;GJTJ3 AND GJTJ2&lt;GJTJ4 AND GJTJ2&lt;GJTJ1 AND GJTJ1=100;<br />
zcB1:=zhencang1&gt;0 AND REF(zhencang1,1)=0 AND REF(zhencang1,2)&gt;0;<br />
drawtext(zhencang1 AND zhencang2 AND zhencang3 AND zhencang4 AND zhencang5,l-0.05,'震仓启点');</p>
<p>Aa:=BARSLAST(CROSS(97,GJTJ1))&lt;=1 AND BARSLAST(CROSS(GJTJ1,85))&lt;=1;<br />
Bb:=BARSLAST(CROSS(97,GJTJ2))&lt;=1 AND BARSLAST(CROSS(GJTJ2,85))&lt;=1;<br />
Aa1:=Aa AND Bb;<br />
AAa:=BARSLAST(CROSS(97,GJTJ1))&lt;=2 AND BARSLAST(CROSS(GJTJ1,85))&lt;=1;<br />
BAa:=BARSLAST(CROSS(97,GJTJ2))&lt;=2 AND BARSLAST(CROSS(GJTJ2,85))&lt;=1;<br />
Aa2:=AA AND Bb ;<br />
AAAa:=BARSLAST(CROSS(97,GJTJ1))&lt;=3 AND BARSLAST(CROSS(GJTJ1,85))&lt;=1;<br />
BAAa:=BARSLAST(CROSS(97,GJTJ2))&lt;=3 AND BARSLAST(CROSS(GJTJ2,85))&lt;=1;<br />
Aa3:=AAAa AND BAAa ;<br />
Bb1:=REF(Aa1,1);<br />
Bb2:=REF(Aa2,1);<br />
Bb3:=REF(Aa3,1);<br />
Dd1:=GJTJ1=100 AND GJTJ2=100 AND Aa1 ;<br />
Dd2:=GJTJ1=100 AND GJTJ2=100 AND Aa2 ;<br />
Dd3:=GJTJ1=100 AND GJTJ2=100 AND Aa3 ;<br />
drawtext(Dd1 OR Dd2 OR Dd3,l-0.02,'短线追涨');</p>
<p>Aw:=BARSLAST(CROSS(95,GJTJ1))&lt;=2;<br />
Bw:=BARSLAST(CROSS(95,GJTJ2))&lt;=2;<br />
Ew:= GJTJ4&lt;GJTJ1 AND GJTJ1&lt;GJTJ2 AND GJTJ1&lt;GJTJ3;<br />
Fw:=GJTJ2&gt;50 AND GJTJ3&gt;50;<br />
Gw:=GJTJ1=100 AND GJTJ2=100;<br />
TXw:=COUNT(Gw,2)=1;<br />
drawtext(Aw AND Bw AND Ew AND Fw AND TXw,l-0.03,'起涨首日');</p>
<p>Aq:=GJTJ3=100;<br />
Bq:=GJTJ4&lt;90;<br />
drawtext(COUNT(Aq,2) = 2 AND Bq,l-0.02,'波启前兆');</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 暴涨启动 主图(大智慧)