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
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
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.
|
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
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
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
|