MA6:MA(CLOSE,6)COLORWHITE,LINETHICK1;
MA12:MA(CLOSE,12)COLORLIRED,CIRCLEDOT,LINETHICK1;
MA20:MA(CLOSE,20)COLORYELLOW,LINETHICK2;
MA33:MA(CLOSE,33),LINETHICK4,COLORGREEN;
MA60:MA(CLOSE,60)COLORGREEN;
MA120:MA(CLOSE,120)COLORLICYAN;
IF(MA(C,33)>=REF(MA(C,33),1),MA(C,33),DRAWNULL),COLORRED,LINETHICK5;
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,1) ;
DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,2);
IF(MA(C,20)>=REF(MA(C,20),1),MA(C,20),DRAWNULL),COLORRED;
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,1) ;
DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,2);
实体中位:IF(CLOSE>=OPEN,OPEN+(CLOSE-OPEN)/2,CLOSE+(OPEN-CLOSE)/2), COLORRED,NODRAW;
涨幅:=(MAX(O,C)-MIN(O,C))/REF(C,1)>=0.03;STICKLINE( 涨幅,实体中位,实体中位,4,2),LINETHICK2,COLORYELLOW; |