How to Swap BUY/SELL signals in MLQ5
Hello!
I'm looking for a little help with my MT5 (MQL5) EA.
I'm new on the platform but used a ThinkScript to trade forex and have had a lot of good results. The problem is that it's a demanding scalping strat that would be best for an EA to trade.
In TOS (ThinkOrSwim) I was able to reverse the buy/sell signals as to when I first wrote it. we had a 70% loss rate (good news for math geeks); if you times any loss by -1 it becomes a win!
So I DID THIS, AND IT WORKS. It's been my success in trading, reversing the biggest losers to use them as entry points.
I was able to create an EA on the original algorithm and so the EA is backtesting at big losses. This would be great news as again per math just reverse it by * -1 BUT I can't figure out how to make the buy signal the sell signal in MT5's MQL5 language.
The winner who helps gets a copy of the EA or a hearty THANK YOU, pending which you choose (both are not optional).
Thank you!
Posted Feb 1, 2021, 8:08 PM UTC
Uh, no, it doesn't. You can't simply flip buy and sell signals on a losing script and think it'll suddenly start winning. It'll lose in both directions.
Uh yeah, you can. Its been my full-time income (and a good amount more than when I was working full time as a mortgage loan officer) for almost 2 years based on this.
If your signal is wrong 70% of the time on the trend, then you start betting against it (*-1), then you will be right 70% of the time on the trend. Your logic doesn't even make sense? Yes, there are small times of consolidation. This is why it's a scalping strategy with quick profits and small losses.
I have backtested data, I have live trades, I have a house.
Now I'm trying to finish my EA.
If you're not going to be helpful, why even post?
EDIT: And with any strat, you have to know how to manage risk, entry/exit points, etc. I'm not talking about shooting blind. 91% of forex traders are losers, so I'm assuming I know which side you're on (ggs).
Nope, simply not true. Most newbie algo traders think this at first, until they write a few EA's to do and it find out just how wrong that idea is.
Not because of the above idea you don't; I don't doubt you might have found something that's working for you, but trying to generalize that into a general rule that any consistently losing system can be made a winning system by flipping the signals is a well known classic EA newb trope.
Pointing out bad idea is helpful, more traders should do it.