用法:红灯亮持股,绿灯亮持币;
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-VARQS25<0,79,80,6,1),colorgreen;
STICKLINE(VAR17>0 AND VAR17-VARQS25>=0,-5,-4,6,0),colorred;
STICKLINE(VAR17>0 AND VAR17-VARQS25<0,-5,-4,6,1),colorgreen;
STICKLINE(VAR17-VARQS25>0,VAR17,VARQS25,8,1),colorred;
STICKLINE(VAR17-VARQS25<0,VAR17,VARQS25,8,1),colorcyan;
VARQS26:=REF(LOW,1);
VARQS27:=(SMA(ABS(LOW-VARQS26),3,1))/(SMA(MAX(LOW-VARQS26,0),3,1))*100;
VARQS28:=EMA(IF(CLOSE*1.3,VARQS27*10,VARQS27/10),3);
VARQS29:=LLV(LOW,30);
VARQS30:=HHV(VARQS28,30);
VARQS31:=IF(MA(CLOSE,58),1,0);
VARQS32:=(EMA(IF(LOW<=VARQS29,(VARQS28+VARQS30*2)/2,0),3))/(618)*VARQS31;
VARQS33:=IF(VARQS32>100,100,VARQS32);
吸筹:STICKLINE(VARQS33>-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;