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


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Donchian Channels Topic Rating:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Bruce_L
Posted : Thursday, March 30, 2017 12:29:19 PM


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
stockscience
Posted : Friday, April 7, 2017 12:09:44 PM
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?

Bruce_L
Posted : Friday, April 7, 2017 12:17:05 PM


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
stockscience
Posted : Friday, April 7, 2017 12:20:29 PM
Registered User
Joined: 6/26/2011
Posts: 128

Oh...   What happened most recently an n-period high or an n-period low?

Bruce_L
Posted : Friday, April 7, 2017 12:26:22 PM


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
stockscience
Posted : Friday, April 7, 2017 12:33:20 PM
Registered User
Joined: 6/26/2011
Posts: 128

Perfect. Thank you. (I overlooked that aroonup and aroondown are now available).

Bruce_L
Posted : Friday, April 7, 2017 12:41:45 PM


Worden Trainer

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

You're welcome.



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