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
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?