量:=v;
换:V/CAPITAL*100,linethick0;
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));
DL:=(买盘-(-卖盘))/量*换;
{-股票公式网站 }
DLX:DL*1.2+REF(DL,1)*0.6+REF(DL,2)*0.3+REF(DL,3)*0.2+REF(DL,4)*0.1,color3d;
DLX1:ema(DLX,9)*10,COLORYELLOW;
DLX2:MA(DLX1,6),COLORMAGENTA;
DLX3:MA(DLX1,14),COLORGREEN;