Tweaks to ema crossover
-
Hi,
It took me a while but I have finally got a basic ema crossover ea to work in the MT4 tester and surprisingly, it was profitable!
I wanted it to buy or sell on each crossover but it fails only picking up alternate trades. I have also set it without a SL but think it will perform better with a trailing stop starting at say x 1.5 profit.
Is anyone willing to share ideas on how to make sure it trades on each crossover and the best stop loss strategy to employ?
https://fxdreema.com/shared/u4MouLgxd
Thanks for any help!
Mike -
@mikehzzzz I notice I posted a version with a fixed 20 pip stop by mistake. This was not profitable! The version I meant to post is the same but without a stop. It exits trades when the ema's cross. I noticed several long trades where a stop would have taken me out of winning trades before the price reversed too far but using a fixed pip stop lost more trades.
I am not too lazy to learn and will continue trying to figure it out but any pointers would be very much appreciated!
Thanks
Mike -
@mikehzzzz Why is blocks 11 working on candle ID 1 whereas block 15 is on candle ID 0?
-
@l-andorrà Thank you for offering some feedback and pointing this out. I hadn't realised that I was making changes to the shared version so I am not sure when I made this mistake. I have corrected it and posted the version as was when I wrote my first post. I will test it with these settings. https://fxdreema.com/shared/XAv06dBed
Thanks, Mike -
@mikehzzzz I still would recommend to duplicate block 7. One for buys only and the other one for sells only. That way you will be sure both closings are always correct.
-
@l-andorrà That's Correct, Thanks