Here, take this profitable ea
-
Hi Roar, I dont know if you are still watching this thread, but I tried your EA and it is still profitable. Both on the 5min and 15min on EURUSD. I have to admit, that I dont understand it fully, but I gave it a go, and I wondered, if it would make sense to continue improving it.
-
Thank you for this EA
It's Perfect, But what is the name of the pair that you backtested it in that Photo?
And what timeframe??
@roar -
@bardiamsa its EURUSD 5 minute. Read the posts for more info, especially about account type
-
Update 29.8.2023: Refactored the EA to work on modern hedging method mt5 accounts. Also simplified the strategy to what matters the most (theres lots of useless/low impact stuff in original version), in essence the strategy is this:
- Build long/short positions with RSI
- When above 70, sell
- When below 30, buy
- Before selling/buying another time, wait for the RSI to visit level 50. This discourages trading against strong trends. - There must be a mechanism that favors closing the positions rather than letting long/short position grow bigger and bigger
- Only allow the position to grow if price is above daily median (buy) or below median (sell)
- Trades that shrink the total position don't have that rule, so positions naturally stay small - Lastly, limit the trading actions to more volatile half of the day by comparing fast and slow ATR values
The reduced strategy is not quite as profitable as the original one, but still clearly on the black after 6700 trades. Feel free to add your ideas to this.
- Build long/short positions with RSI
-
Hi. Thanks for the reply. I understand now. Makes total sense. Did you ever continue on this EA?
-
@DanZig55 I have used those 3 bullet points in many EAs.
-
how can i download this, please help
-
Read this post from the very beginning
-
@roar Why are blocks 92 and 93 turned off? I don't see the logic behind that.
-
@l-andorrà Just delete it brother
-
@l-andorrà I just used them for troubleshooting, should have removed from the shared version
-
Ok. Thanks.
-
Hi there, i like it very much, theres way to change lot size ? there's no option to do that. it only trades at 0.1
-
@PauloSouza the lot size is set in this custom block. You can replace 0.10 with your constant name.

-
@roar i've found this, but i would like to change this at the mt5 inputs, because i'm running it at eurgbp with 0.01 and gbpusd with 0.02.
Thank you for this EA, its really something dude.
"how can i change it with my constant name ?
I've just wish it to have an input to change it without compile everytime
-
@PauloSouza just create a constant, lets say "lotsize", and modify the code in my picture to
lotA = lotsize;
Now you can adjust it from your EA inputs.
-
@roar man I really appreciate you taking the time to reply, I'll try it tonight when I get home.
If I can't do it I'll ask you again
-
I am delighted with this project, it really is a great contribution from Roar, this EA if it promises to be a good base to create something much better... it would be wonderful if other expert developers like Roar had the same initiative to help, share and guide others to this same level, without detracting from the help that some give in this forum, I consider that in this world of algorithmic trading there is enough money for all of us and plenty... So it won't make much difference if we help each other to advance towards the goal on this path of trading....
