I just can't stand MT5 to be honest. I keep seeing error in execution
View attachment 312137
View attachment 312138
View attachment 312139
I just can't stand MT5 to be honest. I keep seeing error in execution
View attachment 312137
View attachment 312138
View attachment 312139
It sets an incorrect target after a stop and reverse when the net postion turns zero momentarily. ex long 5 lots, short 5 lots, short 5 lots.
The times where it reverses all full position, target is correct. I have a feeling that the code doesn't know how to handle that net zero position. This pattern happened twice, and thought it got fixed initially.
Hopefully. Here's a good article for him....
Hopefully it's the right fix this time

I'm not a programmer by profession, though I have studied and programmed in a variety of languages including Fortran, Pascal, FoxPro, C# and R. I took 2 Udemy courses in MQL5 in the summer of 2021 and in August I started paying my dues, learning the ins and outs of futures netting account trade management. My 1st EA, that worked perfectly in demo mode, went haywire in live trading. It somehow entered into a loop that cost me $535 in commissions and the spread, opening and immediately closing MNQ and M2K, all in a couple of seconds. More lessons, each of a different nature, followed. The only way to learn is through live trading.You're a programmer yourself? I should just hire you![]()