New version 18 available now


Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

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

Administration

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

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: 63,727

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
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.