大智慧分时主动买盘指标公式

大智慧分时主动买盘指标公式:
AA:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));

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

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

买卖比:=主动买盘/主动卖盘;

WJ:=(HIGH+LOW+CLOSE)/3;

VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));

VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);

VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);

VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));

VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

VD6:=(VD1*VD5);

VD7:=(VD2*VD5);

VD8:=(VD3*VD5);

VD9:=(VD4*VD5);

买入量:=(VD9+VD8);

卖出量:=(VD6+VD7);

成交方向:=买入量-卖出量;

即时资金:成交方向*close/100,color3d;

分钟数:=IF(TIME0/60-565<=130,TIME0/60-565,TIME0/60-660);

多头存量金:sum(即时资金,0.618*分钟数),linethick2;

正时p:100*count(多头存量金>0,0)/count(c>0,0),linethick0;