N:=18;
均价:=(2*C+(H-L)/2+L+o)/4;
价差:=SUM(均价-REF(均价,1),3)/3;
实价:=(均价+价差);
bov:=SUM(IF(实价>均价,vol,IF(实价<均价,-VOL,0)),0);
ST:bov/ma(ma(MA(bov,8),8),8)*100,COLORWHITE;
M5:ema(ST,4),COLORAAAA00;
MM:=EMA(ST,64),COLORCYAN;
{ _飞狐股票指标公式}
I0:=(Ema(MM,3)+Ema(MM,6)+EMA(MM,12)+EMA(MM,24))/4;
i1:=REF(i0,1);
生命线:(I0+I1)/2,COLORRED,LINETHICK;
STICKLINE(i0<i1,i1,i0,10,0),COLOR00bb00;
STICKLINE(I0>=I1,I1,I0,10,0),COLORRED;
MID:MA(ST,n),COLORYELLOW;
UP:MID+2*STD(ST,n),COLORRED;
DN:MID-2*STD(ST,n),COLORRED;
STICKLINE(C>0,100,100,5,0),COLORGRAY;