I developed an indicator that uses the GetCurrentAsk and GetCurrentBid functions. The indicator works fine but, it calculates the right values only for the new bars (not for the historical ones).
I know these functions return the close value instead of the bid or ask for historical bars.
The problem is I have to wait for some new bars in order my indicator could give some values, and each time I change some parameter in my graph the indicator is reseted and I have to wait again to see some relevant values.
But, how can I solve this limitation?
Thank you for your help and support.
Comment