用法:红灯亮持股,绿灯亮持币;
VARQS19:=(2*CLOSE+HIGH+LOW)/4;
VARQS21:=LLV(LOW,34);
VARQS24:=HHV(HIGH,34);
VAR17:EMA((VARQS19-VARQS21)/(VARQS24-VARQS21)*100,8);
VARQS25:=EMA(VAR17,5);
STICKLINE(VAR17>0 AND VAR17-VARQS25>=0,79,80,6,0),colorred;
STICKLINE(VAR17>0 AND VAR17-VARQS250 AND VAR17-VARQS25>=0,-5,-4,6,0),colorred;
STICKLINE(VAR17>0 AND VAR17-VARQS250,VAR17,VARQS25,8,1),colorred;
STICKLINE(VAR17-VARQS25-150,0,VARQS33,12,1),coloryellow;
操盘线:3*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),colorgreen;