VAR1:=(CLOSE+OPEN)/2;
A1: (EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4;
A2: MA(OPEN,3.2)*1.028,COLORGREEN;
A3: EMA(A2,5),COLORGREEN;
A5:= EMA(VAR1,2.78)*1.028;
Z:=ZIG(3,13);
ZS:=Z REF(Z,1);
Z5:=ZIG(3,5);
Z5S:=Z5 REF(Z5,1);
强上冲:PARTLINE(C A2 AND Z5S,A2),COLORWHITE,LINETHICK2;
短期右持:PARTLINE(C A3 AND Z5S,A3),COLORYELLOW,LINETHICK2;
安全线变绿回避:A1, COLORGREEN,LINETHICK2;
安全强势转红色:PARTLINE(VAR1 安全线变绿回避 AND ZS,安全线变绿回避),COLORRED,LINETHICK2;
高:=IF(PEAKBARS(3,5,1)=0 AND HIGH LOW+0.04,1,0);
探低:=IF(TROUGHBARS(3,5,1)=0 AND HIGH LOW+0.04,1,0) ;
高16:=IF(PEAKBARS(3,16,1)=0 AND HIGH LOW+0.04,1,0);
探16低:=IF(TROUGHBARS(3,16,1)=0 AND HIGH LOW+0.04,1,0) ;
进入:= 探低 ;
DRAWICON(进入,L-(H-L)*0.1,8);
DRAWICON(进入,L-(H-L)*0.6,10);
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
DRAWTEXT(进入,L-(H-L)*0.75,'='),COLORWHITE;
DRAWTEXT(高,H+(H-L)*0.75,'ㄣ'),COLORgreen;
DRAWICON(高,H+(H-L)*0.30,9);
进入16:= 探16低 ;
DRAWICON(进入16,L-(H-L)*0.1,5);
DRAWICON(进入16,L-(H-L)*0.6,15);
DRAWTEXT(进入16,L-(H-L)*1.8,'==探16底'),COLORWHITE;
DRAWTEXT(高16,H+(H-L)*1.95,'压力16出ㄣ'),COLORgreen;
DRAWICON(高16,H+(H-L)*1.30,5);
右底进:=CROSS(VAR1 安全线变绿回避 AND ZS,0.2) AND NOT(高=1) AND Z5S;
DRAWICON(右底进,L-(H-L)*0.6,12);
DRAWICON(右底进,L-(H-L)*1.6,4);
DRAWTEXT(右底进,L-(H-L)*1.6,'右底进'),COLORWHITE;