VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主卖:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
买卖差:=(主买+主卖);
量差:=SUM(主买-REF(买卖差,1),3)/3;
实量:=主买+量差;
{www.gupang.com 股旁网_飞狐股票指标公式}
DIL:(MA(实量,6)-MA(实量,18))/20000,COLORWHITE;
DEL:MA(DIL,3),COLORGREEN;
MDL: 5*(DIL-DEL),linethick0;
多:STICKLINE(MDL>=0,0,MDL,3,0),COLORRED;
空:STICKLINE(MDL<0,0,MDL,3,0),COLORCYAN;
0;
202108211211.jpg
|