I'm trying to build an EA on one of those free sites, but running into a snag. The strategy is simple - if price is above 100EMA and MACD value crosses and CLOSES over signal line, the EA takes a buy. Vice versa for sell. But for some reason the EA is taking trades immediately once it crosses the signal line - it's not waiting for it to close. Can anyone tell me what I did wrong? Pic attached...
- #3
- Jun 30, 2021 10:37am Jun 30, 2021 10:37am
- Joined Apr 2020 | Status: Trader/Coder | 1,929 Posts
Observer effect
- #5
- Last Post: Jul 1, 2021 9:11pm Jul 1, 2021 9:11pm
- Joined Dec 2013 | Status: Trader | 1,942 Posts
Learn, a forex trader must, unlearn and relearn he will.