Volume bull bear extraction

 
how to extract the Volume for bull and bear ticks from current Volume indicator in MQL4. I want Volume[0] to be BullVol[0] and  BearVol[0].
 
12345abc22:
how to extract the Volume for bull and bear ticks from current Volume indicator in MQL4. I want Volume[0] to be BullVol[0] and  BearVol[0].

You will have to record the price changes bullish/bearish based on live data.

 
12345abc22: how to extract the Volume for bull and bear ticks from current Volume indicator in MQL4. I want Volume[0] to be BullVol[0] and  BearVol[0].

Not generality possible given that MT4 does not store historical tick data. You will have to collect the tick data yourself, or approximate the Bull/Bear tick volume for higher time-frames by using direction and volume of the M1 bars as an estimate.