OPEN-SOURCE SCRIPT

Donchian Mean Reversion Alerts

Donchian Channels mean reversion signals/alerts with RSI filtering with signals applied to the mean, for strong trend situations.

Original Author: ChrisMoody

Modified Donchonian Channel with separate adjustments for upper and lower levels
Purpose is if you expect big move up, Use lower input example 3 or 4, and longer lower input, 40 - 100 and use lower input line as a stop out
Opposite if you expect big move down
Mid Line Rule in Long Example. If lower line is below entry take partial profits at Mid Line and move stop to Break even.
If Lower line moves above entry price before price retraces to midline use Lower line as Stop...Opposite if Shorting
Created by user ChrisMoody 1-30-2014

Updated 7-11-2018 by Dysrupt
Revamped for mean reversion strategy
Created midline alerts for strong trending upside buy signals/downside sell signals.
Added RSI Filtering
Added Alerts
Removed bar color change
alertsbuysignalPivot PointsRelative Strength Index (RSI)sellsignalTrend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer