乖离:(EMA8-REF(EMA8,1))/REF(EMA8,1)*100,COLORSTICK;
PJGJ:=AMOUNT/VOL/100;
SSRYDJX:=MA(PJGJ,13);
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=SSRCJE/SSRCJL/100;
CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
XYSHSL:=EMA(VOL/CAPITAL*100,13);
0,COLORWHITE;
STICKLINE(XYSHSL 6.1 AND CYS13 5 ,2 ,0 ,3 ,0 ),COLORGREEN;
STICKLINE(XYSHSL 3.8 AND CYS13 5 ,1.5 ,0 ,3 ,0 ),COLORYELLOW;
STICKLINE(XYSHSL 2.1 AND CYS13 5 ,1 ,0 ,3 ,0 ),COLORCYAN;
STICKLINE(XYSHSL 1.8 AND CYS13 5 ,0.5 ,0 ,3 ,0 ),COLORBLUE;
乖乖:乖离,COLORWHITE;
小乖乖:MA(乖离,2),COLORAAAA00;
MM:=EMA(均价+价差,32),COLORCYAN;
xm:=EMA(均价,32);
{www.9m8.cn 九毛八新且全的股票公式指标网}
I0:=(Ema(MM,3)+Ema(MM,6)+EMA(MM,12)+EMA(MM,24))/4;
I1:=(Ema(xm,3)+Ema(xm,6)+EMA(xm,12)+EMA(xm,24))/4;
趋势线:=0.5*(I0+I1),LINETHICK,COLORRED;
大乖乖:(趋势线-REF(趋势线,1))/REF(趋势线,1)*100,COLORRED,LINETHICK2;
DGG:=MA(大乖乖,2),COLORGREEN;
PARTLINE(大乖乖 DGG,大乖乖),COLORGREEN,LINETHICK2;