大智慧先知量能指标公式

M:=3;N:=4;

0,COLORWHITE;

AA:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));

主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));

{www.zhibiaow.com 指标网_大智慧股票指标公式}

主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));

主买:=主动买盘/CAPITAL;

主卖:=-主动卖盘/CAPITAL;

M1:=MA(主买,M);

M2:=MA(主卖,M);

买:100*MA(M1,N),COLORRED;

卖:100*MA(M2,N),COLORGREEN;

差:买-卖,COLORYELLOW;

差D:=MA(差,2);

关注:(1+BArslAst(crOSS(差,差D)))*(差>差D),linethick0;