I don't understand at all why you don't use the current bar to make your orders... Plus, you can't open a trade with a past price, you must use current Bid/Ask. Well, I don't see what you're driving at. I've sent you a private message about ...
Ok, the key to my issue is simply that the start() method is called at the OPENING of each bar. It implies that one shouldn't call indicators operating on close price with a 0 shift, it would have no sense. Bolt, the strange thing is that the ...
Ok, Bolt, you explained how things should work in MT4 and that was interesting. But that didn't explain why -and this is the topic of my thread- candles characteristics (open, high, low, close) are different between what is read by the EA and what ...
Hi Zeuzere, Well, I've already posted the issue you mentioned, perhaps in another forum. Sometimes, calling iRSI doesn't work the same way as calling Custom(NULL, 0, "RSI", ...). It must be due to the same problem I pinpointed in this thread, the ...
Hi Bolt, Thanks alot for your detailed reply. So, the HST file data is copied to a FST file in order to replace values with ones from the current server. I precise I run my EA with the "complete bar only" model so the modelling quality is not ...
Hi Zeuzere, Thanks for your reply. Here is the code of the testing EA : int start() { if (Time[0] < D'2004.12.29 15:00' || Time[0] > D'2004.12.29 16:00') return (0); Print(NormalizeDouble(Close[0], Digits)); } I just test the Close value in a range ...