OPEN-SOURCE SCRIPT

Donchian Channels System [racer8]

Donchian Channels was developed by Richard Donchian in 1949. They have been used with great success by the Turtles, a group of traders in the 1980s who managed to obtain returns of 80% annually. Truly incredible story.

This particular indicator is a trend trading system I coded that shows you when to enter long or short and when to exit those longs or shorts.
In addition, this indicator shows the past performance results that are incredibly valuable information for backtesting this system.

The high, mid, and low lines have been plotted to show how this system works. The blue line is the high line. The gray line is the mid line. The red line is the low line.

Entry signals are generated when the current close closes above the highest price for a long trade or below the lowest price for a short trade over n periods.

Exit signals are generated when the current close crosses the mid-line (aka. baseline) and closes.
Baseline = (highest price + lowest price)/2

I encourage you to play around with the settings, although I reccomend avoiding any period below 14.

This system is no bullshit, it's the real deal.

Good luck traders, and enjoy ;)




Moving AveragesTrend Analysistrendtradingturtles

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?

Disclaimer