Anticipate the position opening?
Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please don't attach images of code. Please EDIT your post and use the CODE button (Alt-S) when inserting code.
Hover your mouse over your post and select "edit" ... ![]()
Federico Libra: [..] the trade are open some pips too late [..]
If they are only a few pips and not an entire bar, it sounds to be the spread. But without a minimal example that can be tested, I can only guess.
in the example, it's a rudimental doji trading.