Mysteriown

Lagged Donchian Channel + EMA

This strategy is based on a lagged 24 periods Donchian Channel and a 200 periods EMA .

The enter positions are calculated this way :
Bull entry

1. we wait for the close of a candle below the channel and it must be below the 200 EMA
2. the following candle must be a green one and close in the lagged channel
3. we put a long order at the close of the second candle, a stop loss at the low of last 3 candles and a x3 take profit


Bear entry

1. we wait for the close of a candle above the channel and it must be above the 200 EMA
2. the following candle must be a red one and close in the lagged channel
3. we put a short order at the close of the second candle, a stop loss at the high of last 3 candles and a x3 take profit


For both long or short positions :

If the order is not filled, it's cancelled if the price reach 50% of the TP or if the price reach the stop loss level
The position is closed if a new bear/bull condition appears in the other side of the position (if a bear appears when you're long and inversement)


Features :

Position calculator's included with leverage option
Labels of position can be plotted or not
Bull/Bear channels can be plotted with red and green filled
All parameters can be changed for backtesting


Better results have been got with defaults parameters on LTCUSDTPERP in H1 timeframe => profit factor of 2.84 with almost 100 positions.

Hope this strategy will be useful and it would be cool if I could get feedback, comments or better combinations of parameters !!

Don't hesitate to like and leave a comment ;)

@Mysteriown
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?