小黑马:0,colormagenta;
Var2:=MA(CLOSE,N);
Var3:=(CLOSE-Var2)/Var2*100;
生命:MA(Var3,M);
Var5:=BARSLAST(CROSS(-10,生命)=1)>=5;
Var6:=BARSLAST(CROSS(生命,10)=1)>=5;
机会: IF(生命<-10 AND Var5,生命,0),colorffff00 ;
风险: IF(生命>10 AND Var6,生命,0),colorred ;
买:STICKLINE(FILTER(机会
卖:STICKLINE(FILTER(风险
DRAWTEXT(FILTER(生命<-10 AND Var5,5),生命 ,'注意反弹' ),coloryellow;
DRAWTEXT(FILTER(生命>10 AND Var6,5),生命 ,'逢高减磅↓' ),colorffff00;
C2:机会,COLORSTICK;
C4:风险,COLORSTICK;