thank you so very much
Ask is not stored.
Could you elaborate on how to get previous tick ask values. If the spread isn't stored either then it is impossible to get the ask price history isn't it?.
thank you so very much
just a note here:
i tried every combination of the code but it would not compile, even in a very simple EA.
Ive since used another method to achieve the results i wanted.
but thanks anyway ....
"Could you elaborate on how to get previous tick ask values. If the spread isn't stored either then it is impossible to get the ask price history isn't it?."
Without some extra code and storage on your part, all you can get from MT4 for the past is OPEN HIGH LOW and CLOSE -- same as you see on the charts.
The data is not there unless you catch it and store it.
Thanks for the clarification Phy.
This means a scalper or any code that deals with small stops and takes cannot be tested on the back tester especially if your broker varies the spread between ticks.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
what functions can I use to get ask / bid price from the past in minutes or seconds ?
example:
I want to find out what the ask / bid price was 60 seconds or 600 seconds ago.
thanks
]