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

Random Trading EA with success - MT4/MT5 resources

author EAcpu | 4 reads | 0 comments |
Out of boredom I made this 72 liner, a very basic random trader.

Here’s how it works:

- Buy trade reaches TP or SL
- Next is selling...
- Than buying again etc.

Currently I have this EA running backtests and interestingly it works haha

The backtest is run like this:

- Tickstory 4 Year EURUSD includes correct commissions and swaps, approaching 4GB file size limit
- Batch 0.1
- Optimize TP and SL from 1 to 500 respectively

It seems that the backtest will take more than 30 hours to run. The best result so far is: net profit 5800, DD 26%

Interestingly, if I optimize the EA like a neuron network to trade the next 30 days forward by optimizing TP/SL on the last 30 (or 60/90) days, it gives very good results. So if you're basically optimizing every day to prepare yourself for the next 24 hours of trading, it might even be useful in some way.

appendix
[MQ4] RandomFun.mq4 2 KB | 1,720 downloads
RandomFun.pngphoto5014843951735220277.jpg
RandomFun.pngphoto5014843951735220277.jpg
RandomFun.pngphoto5014843951735220277.jpg
RandomFun.pngphoto5014843951735220277.jpg
RandomFun.pngphoto5014843951735220277.jpg
RandomFun.pngphoto5014843951735220277.jpg

Attachment to original post (1)

📦 Summary of post attachments (3)

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

Verification code Refresh