Quote:
Originally Posted by elepoutre
I do not know anything about programming. I just know that in order to have reliable backtest, an expert should be programmed in such a way that he is only checking for new entries/exits at the close of each bar. Then the backtest with option "open price only" will be fully reliable.
|
When you're letting the server take care of your stoplosses, that can be true, but in order to make sure we don't reenter the same trade without the conditions changing first, we needed to contol the stoploss in the EA. If we only look at bar open/closes, our stoploss won't be closed when hit. Rather it will be closed when the next bar opens AFTER it's been hit. With a good running bar, that could mean a lot of additional loss. With the 1h timeframe on the GBPJPY, that could easily pass an additional 100 pips.
FYI: Entries are based on the results at the previous bar. While the EA will check for new entries at every tick, it won't actually enter a new trade except at the open of a new bar (with the exception of when it's loaded onto the chart for the first time, or the EA/MT4 is restarted and it isn't in the middle of a trade.
-MRE-