You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I programmed an EA that opens either buy or sell trades depending on the signal from a custom indicator. The custom indicator gives a signal on candle A then the trade is taken on the following candle B. The problem i have is that, the signal is usually not stable, for example if the indicator gives a BUY signal on candle A, if the following candle B closes above candle A the signal changes to the new candle B for a buy and this keeps happening until a following candle closes below the signal candle. This is a loss assuming my EA took BUY trade on the signal of the initial candle A with the signal.
How can i make my EA take trades only when the following candle after the signal closes below it in the case of a sell signal or closes above it in a buy signal?
What i have currently only takes trades on the open of the new candle that follows the signal candle. but this could be a loss if the signal changes position on the close of the following candle.