M1:Ema(CLOSE,13),COLORYELLOW;
M2:ema(M1,3),COLORYELLOW;
M3:EMA(M2,3),COLORYELLOW;
M4:EMA(M3,3),COLORYELLOW;
M5:=EMA(M4,3),COLORYELLOW;
{支撑}
HLC:=REF(MA((HIGH+LOW+CLOSE)/3,10),1);
HV:=EMA(HHV(HIGH,10),3);
LV:=EMA(LLV(LOW,10),3);
支撑:EMA(HLC*2-HV,3),COLORE99A2C;
VC:=IF(CLOSE>=M1,10,-10)+IF(CLOSE>=M2,10,-10)+IF(CLOSE>=M3,10,-10)+
IF(M1>=M2,10,-10)+ IF(M2>=M3,10,-10);
SN:=IF(M5>REF(M5,1), 1, 0)*IF(M4>REF(M4,1), 1, 0); A:=VC-(1-SN)*10;
QRG:=IF(A<-50,-50,A),COLORAADDCC;
M1S:IF(M1>REF(M1,1),M1,DRAWNULL),COLORFF00FF ;
M2S:IF(M2>REF(M2,1),M2,DRAWNULL),COLORFF00FF;
M3S:IF(M3>REF(M3,1),M3,DRAWNULL),COLORFF00FF ;
M4S:IF(M4>REF(M4,1),M4,DRAWNULL),COLORFF00FF ;
M5S:IF(M5>REF(M5,1),M5,DRAWNULL),COLORFF00FF ;
STICKLINE(C<=O,O,C,2,1), COLORFFCCCC;
破浪:IF( crOSS(QRG,-10) ,L,DRAWNULL),CIRCLEDOT,COLORBLUE,LINETHICK2;
空仓:IF( QRG=-50 AND REF(QRG,1)>=-30,H,DRAWNULL),CIRCLEDOT,COLORCYAN,LINETHICK2;