YS:=(C-0.01*EMA(AMOUNT,30)/EMA(VOL,30))/(0.01*EMA(AMOUNT,30)/EMA(VOL,30))*20000;
STICKLINE(YS>0,0,YS,3,0),COLORRED;
STICKLINE(YS<0,0,YS,3,0),COLORGREEN;
STICKLINE(YS<-100,-100,YS,3,0),COLORLIBLUE;
STICKLINE(YS<-150,-150,YS,3,0),COLORYELLOW;
STICKLINE(YS>100,100,YS,3,0),COLORLIRED;
STICKLINE(YS>150,150,YS,3,0),COLORMAGENTA;
NOTEXT01:IF(YS>0,100,-100),DOTLINE;
NOTEXT02:IF(YS>0,150,-150),DOTLINE;
NOTEXT03:IF(YS>0,200,-200),DOTLINE;
202108201302.jpg
|