/*M:=-15;P:=-20;
VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));
VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));
VAR3:=REF(CLOSE,1);
VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) *
100);
红白出现可追涨:(VAR1 AND VAR2)*80,STICK,COLORFFFFFF;
R1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
R2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
R3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
R4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
R5:=(R2+2*R3+3*R4)/6;
R6:=MA(R5,3);
VAR1A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2A:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3A:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4A:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5A:=(VAR2A+2*VAR3A+3*VAR4A)/6;
VAR6A:=MA(VAR5A,3);
绿白出现可以买: STICKLINE(VAR6A<=P,60,0,2,0),COLORGREEN;
BIAS := (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
ENTERLONG:=CROSS(-14,BIAS);
青白出现可以买:STICKLINE(ENTERLONG,0,99,1,0),COLORCYAN;
MID := MA(CLOSE,26);
LOWER:= MID - 2*STD(CLOSE,26);
EN:=CROSS(CLOSE,LOWER);
紫白出现可追涨:STICKLINE(EN,0,40,4,0),COLORFF00FF;
VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(VAR2W,3);
VAR3W:=EMA(VAR2W,7);
M1:= EMA(VAR3W,5);