Newby here on MT5....
How do I use an expert in meta editor to simply show a graph / indicator with a bid graph and an ask graph?
Before I start doing math, I want to see the spread....
Thanks in advance
You can show the Ask line for the current price (see Chart properties : F8).
But ask price aren't save so you need to save it yourself if you want to get ask price history.
You can check the Codebase, there is probably already something similar.
Hi,try this code :
double a = Bid-Ask;
Alert("Bid : " + Bid + " __ Ask " + Ask + "Spread:" + a);