XA_1:=STRCAT(HYBLOCK,2);
XA_2:=STRCAT(XA_1,DYBLOCK);
XA_3:=STRCAT(XA_2,2);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(XA_3,GNBLOCK)),COLORRED;
XA_4:=HIGH=HHV(HIGH,笔) AND HHV(HIGH,笔) REF(HHV(HIGH,笔),3);
XA_5:=LOW=LLV(LOW,笔) AND LLV(LOW,笔) REF(LLV(LOW,笔),3);
DRAWLINE(XA_4,HIGH,XA_5,LOW,0),DOTLINE,COLORYELLOW;
DRAWLINE(XA_5,LOW,XA_4,HIGH,0),DOTLINE,COLORYELLOW;
XA_6:=BACKSET(ISLASTBAR,MIN(BARSLAST(XA_4),BARSLAST(XA_5))+1);
XA_7:=XA_6 REF(XA_6,1);{www.9m8.cn 九毛八公式指标网}
NOTEXT新浪:DRAWLINE(XA_7,IF(XA_4,HIGH,LOW),ISLASTBAR,IF(BARSLAST(XA_4) BARSLAST(XA_5),HIGH,LOW),1),DOTLINE,COLORWHITE;
XA_8:=MA(MA(CLOSE,3),1);
决策:MA(MA(CLOSE,3),M1),COLORWHITE,LINETHICK2;
NOTEXT_升:IF(XA_8 =决策,决策,DRAWNULL),COLORRED,LINETHICK2;
MA2:MA(CLOSE,M2),COLORYELLOW;
MA3:MA(CLOSE,M3),COLORGREEN,LINETHICK2;
MA4:MA(CLOSE,M4),COLORCYAN;
NOTEXTMA:IF(MA3 REF(MA3,1),MA3,DRAWNULL),COLORMAGENTA,LINETHICK2;