## New version 18 available now

Subscription & data-feed pricing Class schedule

Margin rates Stock & option commissions

 Donchian channel height Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
defense
 Posted : Thursday, May 03, 2018 1:58:36 AM
Registered User
Joined: 2/28/2011
Posts: 33

Bruce, Is it possible to calculate and compare the current height of a donchian channel to its maximum height over a historical period of time?

thanks

StockGuy
 Posted : Thursday, May 03, 2018 8:12:20 AM

Joined: 9/30/2004
Posts: 9,175

The top of the Donchian channel is just the max high for n periods.

You can calculate data up to 500 bars back so the period of the Donchian channel and the lookback period added together must be 500 or less.

MAX(MAXH50,450) will return the highest value of the 50 period Donchian channel top over the last 450 bars.

defense
 Posted : Thursday, May 03, 2018 2:38:12 PM
Registered User
Joined: 2/28/2011
Posts: 33

By "height" I meant the "width" of the channel. Not just the high point over a historical period of time. How would one go about historical max width (over x periods) to current width? thanks

Bruce_L
 Posted : Thursday, May 03, 2018 2:39:40 PM

Worden Trainer

Joined: 10/7/2004
Posts: 65,037

Let's say you have Donchian Channel 50, 1 base on high and low and you want to find the largest width over the most recent 100 bars.

`MAX(MAXH50.1 - MINL50.1, 100)`

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

 Forum Jump Customer Training & Support - Ask a Trainer - TC2000 version 12/18 - Ask a Trainer - TC2000 version 7 - Ask a Trainer - StockFinder 5.0 - PCFs, EasyScan and Custom Indicators General Discussions - Stock and Market Talk - TC2000 version 12 or 18 - TC2000 version 7 - StockFinder 5.0 - RealCode for StockFinder 5.0 Tutorial Videos - TC2000 version 12 tutorial videos - TC2000 version 7 tutorial videos You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot delete your posts in this forum. You cannot edit your posts in this forum. You cannot create polls in this forum. You cannot vote in polls in this forum.