I've found what they call it BSP indicator, but I didn't found it in MQ4 format till now.
Kindly help me to implement that concept for MT4.
The associated mathematical formula for BSP is as following:
Buy Pressure = Buy Volume / (Buy Volume + Sell Volume)
and
Sell Pressure = Sell Volume / (Buy Volume + Sell Volume )
where;
Current Buy Volume = Last Buy Volume + Current Traded Volume
if Current Traded Price >= Current Ask Price
and
Current Sell Volume = Last Sell Volume + Current Traded Volume
If Current Traded Price <= Current Bid Price
Remark: Trades executed between the bid and ask prices are ignored.
Now, what does it meant by each term and how it can interpreted in MQ4 language?
Thanks for your support and guidance.
double Current Traded Price =Close[0];
double Current Bid Price = MarketInfo("EURUSD",MODE_BID);
double Current Ask Price = MarketInfo("EURUSD",MODE_ASK);
if Current Traded Price >= Current Ask Price
Current Buy Volume = Last Buy Volume + Current Traded Volume
If Current Traded Price <= Current Bid Price
Current Sell Volume = Last Sell Volume + Current Traded Volume