double Spread = GetCurrentAsk() - GetCurrentBid(); Print("Spread: " + Spread);
Thank you,
- Daniel B.
Edit: I see that it started printing values after letting it run a bit in real-time. Is there any way for me to calculate the spread in past data? I suppose past data is simply where the transactions took place at, not the Bid/Ask prices available at that time, so this is unlikely.
Comment