I have an EA that gives me over 80% wins on longs and shorts on any currency pair and on any time frame. Which is acceptable to me. However I had been backtesting only using the :-
Control points (a very crude methods based on the nearest less timeframe)
When I switched it to :-
Every tick (the most precise method based on all available least timeframes)
It just fails miserably. I realise that even the 'Every tick' method is never 100% yet I also know its more accurate the 'Control points' method. I'm quite new to MQL4 but I've determined that the only way I can make this useful is to find out how to interpolate the timeframes the same way that the strategy tester does and apply it in my code.
I wish to use the H1 for live testing. So the question I have is what least timeframe would the H1 strategy tester be using?
I counted the number of times the bar moved on the H1 and it appeared to be 12 times, which lead me to think it was using the control points of the M5 bars. If this is the case how on my H1 chart can my EA access the time period for the M5 time period? I thought about having a separate M5 chart open and saving the results to a file that my H1 chart can pick up and use. But there must be a better way of doing this.
Does anyone have any ideas on this one?
Thanks
George
Control points (a very crude methods based on the nearest less timeframe)
When I switched it to :-
Every tick (the most precise method based on all available least timeframes)
It just fails miserably. I realise that even the 'Every tick' method is never 100% yet I also know its more accurate the 'Control points' method. I'm quite new to MQL4 but I've determined that the only way I can make this useful is to find out how to interpolate the timeframes the same way that the strategy tester does and apply it in my code.
I wish to use the H1 for live testing. So the question I have is what least timeframe would the H1 strategy tester be using?
I counted the number of times the bar moved on the H1 and it appeared to be 12 times, which lead me to think it was using the control points of the M5 bars. If this is the case how on my H1 chart can my EA access the time period for the M5 time period? I thought about having a separate M5 chart open and saving the results to a file that my H1 chart can pick up and use. But there must be a better way of doing this.
Does anyone have any ideas on this one?
Thanks
George