Hi guys,
Sorry for my lack of time, I'm not sure I answered to everyone because of that but I read all posts and compute all your suggestions.
Attached is a new version 1.4 for the EA with the following changes:
Sorry for my lack of time, I'm not sure I answered to everyone because of that but I read all posts and compute all your suggestions.
Attached is a new version 1.4 for the EA with the following changes:
- Added a check to prevent opening sell orders above the channel and buy orders below the channel, could be useful during high volatility
- New UseHigherTimeframeTrend (disabled by default). If you set a higher timeframe, it will open trades according to the higher timeframe direction only.
The trend check is very simple, it is done with the position of the signal MA versus channel on the higher timeframe :
higherTimeframeAllowBuy = (SIGNAL_HIGHERTF > CHANNEL_HIGH_HIGHERTF);
higherTimeframeAllowSell = (SIGNAL_HIGHERTF < CHANNEL_LOW_HIGHERTF); - New CloseTradesWhenSignalMAInChannel parameter to close the positions when the signal MA goes back into the channel (cross channel low for a Sell, cross chanel high for a buy)
- A new logging stack (LogsEnabled=true) by default. I added this mainly to log the missed trades, like if the higher timeframe isn't in sync with the signal or if the SL can't be placed on the other side of the channel. It will help you to know why a signal was not traded (the logs are displayed in your Journal tab).
I advise you to disable it for backtests though because it's very verbose and will slow down your backtests.
Enjoy!
Attached File(s)
DD-channel-MA-1.4.ex4
66 KB
|
776 downloads
8