N:=13;
HH:=REF(HHV(HIGH,N),1);
LL:=REF(LLV(LOW,N),1);
HH1:=BARSLAST((HH>REF(HH,1)));
LL1:=BARSLAST((LL<REF(LL,1)));
DRAWTEXT_FIX(1,0.60,0,0,'☆微信公眾號:(程序化指標(biāo)) ☆'),COLORRED;
MA120:EMA(CLOSE,120),POINTDOT,LINETHICK2,COLORWHITE;
年線:EMA(C,250),COLORYELLOW,LINETHICK2;
AA:=EMA(CLOSE,13);
短線:EMA(AA,1),COLOR00DD00,LINETHICK1;
中線:EMA(AA,26),COLORRED,LINETHICK1;
CXHZB:=EMA(AA,8),COLORGREEN,LINETHICK2;
GZ:=EMA(AA,39),COLORFF00FF,LINETHICK2;
A1:STICKLINE(CXHZB<GZ,短線,GZ,1.5,0),COLORGREEN ;
A2:STICKLINE(短線>CXHZB,短線,CXHZB,3,0),COLORRED;
A3:STICKLINE(中線>GZ,中線,GZ,2,0),COLOR00FFFF;
IF((HH1 < LL1),LL,DRAWNULL),COLORRED,LINETHICK2; ;
IF((HH1 > LL1),HH,DRAWNULL)COLORGREEN,LINETHICK2;
聯(lián)系客服