Registered User Joined: 10/5/2010 Posts: 67
|
How to write a condition that the donch top line's last move has been up in the last 65 bars.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm really not sure what you are asking.
Do you want the top line of a 65-period Donchian Channel moving up?
Do you want the top line of an arbitarry Donchian Channel moving up at least once during the most recent 65 bars?
Do you want the top line of an arbitrary Donchian Channel moving up during the most recent 65 bars and not moving down during the same 65 bars?
Do you want something else entirely?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 8/23/2013 Posts: 245
|
Donchain Channell
I would like to scan for H120 = DC Top 150 period (no offset) or what ever H#
I wish to do this for 150 = top and 75 Top Channell and the same for L120 DC Bottom (no offset) and 75 DC Bottom (no offset)
I am trying to identify the candle that set the DC Top before the decline in price (th final bar of an uptrend) and the Candle that set the DC Bottom before the rise in price (the final bar of an downtrend)
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The How Many Days Back Did the High Occur? topic has RealCode for calculating the number of bars since the current high or low was set.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|