Registered User Joined: 1/28/2005 Posts: 6,049
|
I would like to have a count (over 30 bars) of how many days
in a row the close was between standard 20,2 Bollinger bands.
If the close is outrside the upper or lower band it goes back to zero.
Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following.
TrueInRow(ABS(C - AVGC20) <= 2 * STDDEV20, 30)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|