20201219374554836.jpg
20201219374953446.png
20201219375593639.png
XA_1:=(CLOSE+LOW+HIGH)/3;
XA_2:=SUM((XA_1-REF(LOW,1)-(HIGH-XA_1))*VOL/100000/(HIGH-LOW),0);
XA_3:=EMA(XA_2,1);
XA_4:=XA_3;
XA_5:=MA(XA_3,12);
XA_6:=MA(XA_3,26);
散游乖离率:(XA_4-XA_5)/XA_5*100,NODRAW;
游机乖离率:(XA_5-XA_6)/XA_6*100,NODRAW;
STICKLINE(散游乖离率>0,0,散游乖离率,3,0),COLORRED;
STICKLINE(散游乖离率<0,0,散游乖离率,3,0),COLORGREEN;
STICKLINE(游机乖离率>0,0,游机乖离率,2,1),COLORYELLOW;
STICKLINE(游机乖离率<0,0,游机乖离率,2,1),COLORBLUE;
DRAWICON(BETWEEN(散游乖离率,0.1,(-0.1))>0,0,5); |