Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

reverse martingale (Anti Martingale) EA (reverse martingale (Anti Martingale) EA)

author EAcpu | 2 reads | 0 comments |
Dear Trader,

Please see the pictures below…

I once tried to check the frequency of consecutive occurrences of positions with a 1:1 ratio with random entries.
The result is 19 consecutive backtests in 3 years...

I added a reverse martingale to this strategy...which means when I win my amount is doubled...of course I won 19 times in a row and doubled as much as possible in the backtest...what happened?

I won 19 times...so my risk at that time was an initial lot size of 0.01 per trade and a stop loss of 18 pips (it was 20 pips at the time)
...I lost $1.80 per trade...but I won 19x my initial amount...so that's a $64.000 win compared to a $540 loss in 270 attempts. (Backtested 19 winning streaks in 3 years)

So basically I took these settings and let it encode to ea in mt4

Target price: 20 points
SL: 18 pips (because the spread is 2 pips)
Initial lot size: 0.01

Reverse martingale multiplier: 2.0 (in case of profit, multiply the lot size by 2 from the previous trade)
Diffusion filter: 2 pips maximum

random entry direction

That's all...
So no matter what happens I can only lose $2 per trade, but if I win on a series of trades I will make money. As I mentioned in my 3 year backtest, I won 19 random times in a row.... soooo... that's it

1. Trade 2$ and win 0.01 lot 20 points
2. Trade 4$ and win 0.02 lots of 20 points
3. Trade 8$ and win 0.04 lots of 20 points
4. Trade 16$ and win 0.08 lots and 20 points
5. Trade 32$ and win 0.16 lots of 20 points
6. Trade 64$ and win 0.32 lots and 20 points
7. Trade 128$ and win etc.
8. Trade 256$ and win
9. Trade 512$ and win
10. Trade 1024$ and win
11. Trade 2048$ Win
12. Trade 4096$ Winning

Somewhere the maximum lot size was reached and he stopped multiplying, but as far as I remember I won about $64000 and lost $540…
So I'm trying to make the strategy faster..

Of course, as we all know...our 19 consecutive wins with a 1:1 R:R ratio rarely happens...backtested once every 3 years.

I'm trying to figure out how to make it faster...I have 5 trades going on at the same time and each time it's a random entry...

The coder who wrote my EA did a good job in coding, but the backtesting was very slow, so I asked you if you would be interested in reprogramming my EA and working together on how to increase the speed at which winning trade streaks reach high levels.

I will send backtest pictures of my last test of EA...this was during 1 month of testing...but the EA has bugs, does not take maximum trades, and is very slow...

So I can't backtest the strategy the way I want... That's why I asked if you know how to make backtesting faster? Would you like to be involved in developing this strategy?

basically:

- I'd like to hear your thoughts on this strategy?
- Maybe you know how to improve it further?
- Maybe you can help me speed up my backtesting?
- Or create a new EA with this strategy?

I will send my EA here so you can backtest it yourself and check the strategy.

In the example of the picture you can see... he needs 400 trades to win a row of winners... because the 5 trades are randomly multiplied... and he wins very quickly...
The 400 trades took him 20 days... so in 20 days he made a profit of 5000, -

If someone could correct the EA we could do more backtesting... as it does look promising...

I'd love to fix the EA and be able to backtest it...

If you are interested in this EA setup and "playing around" idea, please join this chat...

Sorry for my English, I'm not a native.
KR
Bild1.jpgBild2.jpgBild3.jpggbpusd_sell_only.png
Bild1.jpgBild2.jpgBild3.jpggbpusd_sell_only.png
Bild1.jpgBild2.jpgBild3.jpggbpusd_sell_only.png
Bild1.jpgBild2.jpgBild3.jpggbpusd_sell_only.png
Bild1.jpgBild2.jpgBild3.jpggbpusd_sell_only.png
Bild1.jpgBild2.jpgBild3.jpggbpusd_sell_only.png

Attachment to original post (1)

📦 Summary of post attachments (1)

Below are all the files shared in the reply (1).

Verification code Refresh