Hi there. Been trying to do the same, know how to write EAs now but tricky coming up with a profitable strategy.
Convinced it’s all to do with entry and exit points:
- So you don’t miss trades
- Give all your profit back before closing.
- Let your trade run sufficiently to get a good profit.
- Setting your SL not too high or low.
I’m working with ZigZag and Forex zone hours, max/min of London, NY etc which gives a lot of false signals as it redraws, but huge gains when the move is confirmed.
Toying now with the idea of a small SL, so when signal is good, there will be a big win. Small risk, big return…but lots of small losses…
Happy to share ideas and help with code.