@OntradingX said in Position Created block with failure.:
@fxDreema Please at least let us know if you are trying to resolve it. Being without answers is worse than not having the solution to the problems.
Yes, I started investigating this bug. It's a little bit strange situation and it will take some time, because the problem happens in a relatively large class that I wrote before for detecting Trade events, and I have to remind myself how all of this worked.
Otherwise the problem happens when the pending order and stop-loss of the position are very close to each other (they can be different). Group numbers doesn't matter.
I also have a message "Positions order mismatch", which basically means "I don't know what kind of event is this, something is off".
I'm not sure, but I think this bug is not related to my latest code changes, I think this one is an old bug that you just discovered.


But I know that MQL5 and MT4 are different things and they are not compatible. MQL5 is a programming language for MetaTrader 5. MT4 is MetaTrader 4, which works with programs written in MQL4. MQL4 and MQL5 are very similar, but there are many differences as well.