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

大智慧突破回踩主图指标公式

<p>{N:10,60,10;}<br />
MA5:MA(C,5),COLOR00FF00,LINETHICK2;<br />
MA10:MA(C,10),COLORWHITE;<br />
MA20:MA(C,20),COLORFF00FF;<br />
MA30:MA(C,30),COLORred,LINETHICK2;<br />
MA120:MA(C,120),COLORff9900;<br />
DTPL:=MA20&gt;MA30 AND MA30&gt;MA120;<br />
QSXS:=MA30&gt;REF(MA30,1);<br />
BDGD:=C=HHV(C,N);<br />
GDSJ:=BARSLAST(BDGD);<br />
前高:IF(GDSJ&gt;0,REF(C,GDSJ),REF(C,GDSJ)),POINTDOT,COLOR00FF00,LINETHICK0;<br />
TP:=CROSS(C,REF(前高,1));<br />
突破:TP AND COUNT(TP,1)=1,POINTDOT,COLORFF00FF,LINETHICK0;<br />
TPSJ:=BARSLAST(突破);<br />
HC:=CROSS(REF(前高,TPSJ+1),L) OR CROSS(REF(前高,TPSJ),C);<br />
回踩:HC AND TPSJ&gt;1,POINTDOT,COLOR00FF00,LINETHICK0;<br />
优选:(HC AND TPSJ&gt;1 AND DTPL AND QSXS)*2,POINTDOT,COLORYELLOW,LINETHICK0;<br />
{以下设置主图显示方式}<br />
STICKLINE(突破,(O+C)/2,(O+C)/2,4,1),COLORFF00FF;<br />
STICKLINE(突破,H,L,0,0),COLORFF00FF;<br />
DRAWTEXT(突破,L,'&uarr;'),COLORFF00FF;<br />
DRAWTEXT(回踩,L,'◆'),COLOR00FF00;<br />
DRAWICON(优选,L*0.98,1);</p>
<p></p>
<p>&nbsp;</p>
页: [1]
查看完整版本: 大智慧突破回踩主图指标公式