生命线与柱型图的结合.
VARTIME:=IF(YEAR>=2050 AND MONTH>=11 AND DAY>=07,0,1); VARDTIME:=IF(YEAR=2050 AND MONTH=11 AND DAY=06,1,0); QW1:=(HIGH+LOW+CLOSE*2)/4*VARTIME; QW3:=EMA(QW1,10)*VARTIME; QW4:=STD(QW1,10)*VARTIME; QW5:=(QW1-QW3)*100/QW4*VARTIME; VAR12:=EMA(QW5,5)*VARTIME; VAR13:=EMA(VAR12,10)+100/2-5*VARTIME; 生命线:EMA(VAR13,2), coloryellow; STICKLINE(VAR12-VAR13>0,VAR12,VAR13,8,0),colorred; STICKLINE(VAR12-VAR13<0,VAR12,VAR13,8,0),COLOR00FF0F; STICKLINE(VAR12>0,VAR13,8,0),colorred; STICKLINE(VAR12<-100,VAR13,5,5),colorwhite; STICKLINE(VAR12<-150,VAR13,5,5), colorred;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
生命线与柱型图的结合.
VARTIME:=IF(YEAR>=2050 AND MONTH>=11 AND DAY>=07,0,1);
VARDTIME:=IF(YEAR=2050 AND MONTH=11 AND DAY=06,1,0);
QW1:=(HIGH+LOW+CLOSE*2)/4*VARTIME;
QW3:=EMA(QW1,10)*VARTIME;
QW4:=STD(QW1,10)*VARTIME;
QW5:=(QW1-QW3)*100/QW4*VARTIME;
VAR12:=EMA(QW5,5)*VARTIME;
VAR13:=EMA(VAR12,10)+100/2-5*VARTIME;
生命线:EMA(VAR13,2), coloryellow;
STICKLINE(VAR12-VAR13>0,VAR12,VAR13,8,0),colorred;
STICKLINE(VAR12-VAR13<0,VAR12,VAR13,8,0),COLOR00FF0F;
STICKLINE(VAR12>0,VAR13,8,0),colorred;
STICKLINE(VAR12<-100,VAR13,5,5),colorwhite;
STICKLINE(VAR12<-150,VAR13,5,5), colorred;