Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Donchian Channels
Template
Top Band (High and Low)
MAXHx.z
Bottom Band (High and Low)
MINLx.z
Center Line (High and Low)
(MAXHx.z + MINLx.z) / 2
Top Band (Close Only)
MAXCx.z
Bottom Band (Close Only)
MINCx.z
Center Line (Close Only)
(MAXCx.z + MINCx.z) / 2
Top Band (v17+, Generalized)
MAX(w, x)
Bottom Band (v17+, Generalized)
MIN(w, x)
Center Line (v17+, Generalized)
(MAX(w, x) + MIN(w, x)) / 2
Where w is any formula returning a numeric value, but written to be offset by z bars.
Where x is the Period of the Donchian Channels.
Where z is the Offset of the Donchian Channels.
Related Topics
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 6/26/2011 Posts: 128
|
Is there a short PCF formula that will tell whether Donchian n (offset 1, high low) is currently long or short?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm not quite sure what you mean by a Donchian Channel being long or short.
Did the high of the bar go above the Donchian Channel or the low of the bar go below the Donchian Channel?
Is price currently above or below the Donchian Channel?
Where is price relative to the Donchian Channels (top or bottom half)?
Did the top and/or bottom Donchian Channel most recently go up or down?
Was the top or bottom Donchian Channel set most recently?
Something else entirely?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 6/26/2011 Posts: 128
|
Oh... What happened most recently an n-period high or an n-period low?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You would use the Aroon Oscillator for that, but you would need to make sure you were checking the 1 bar ago value instead of the current value if you want it to match up with the Donchian Channels (with an offset of 1).
So if you want the high to be more recent on a 50 period offset 1:
AROONUP50.1 > AROONDOWN50.1
And if you want the low to be more recent on a 50 period offset 1:
AROONUP50.1 < AROONDOWN50.1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 6/26/2011 Posts: 128
|
Perfect. Thank you. (I overlooked that aroonup and aroondown are now available).
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |