Thanks
Take a look at FANG as a perfect example. it has been swinging back and forth all year
How about counting the number of bars between Last 33 Day Closing High to Last 33 Day Closing Low
Can we write a PCF that would be able to start counting from the last 33 day High and Reset to 0 on the 33 Day Low

My guess this is not possible in TC but it doesn't hurt to ask
Bruce you have anyway in mind to be able to count the number of swings that were > 4 * ATR22 over a period of time. let's use last 126 days
My goal is to get rid of stocks that have too many swings back and forth and continue to chop
So looking at the last 6 months is there a way to count how many times the stock has swung back and forth that was > 4 * ATR22
Assume ATR22 is 1 and the stock moved from 20 to 25 (Swing 1) and reversed down to 20 ( Swing 2) if it reversed back up to 25 again that would be 3 swings
But if the stock just moved up from 20 to 40 without ever dropping 4 * ATR the entire move is 1 swing

Bruce is there any way i can do the above with Volatility stop loss
Count num of days stock closed above VST 22ATR, Multiplier 4

Bruce something is off with both look at AAP as one ex
During June to Oct when the stock was clearly above the 50 day both indicators sat at 0
The indicator should start counting from the first day stock closes above 50 day + ATR and reset to 0 and count up each day until it closes below the 50 day  ATR

Bruce I need a little bit of your magic touch here
I want to add a little room here so that the indicator doesn't constantly reset to 0 if price barely closes above or below the 50 day
Any way I can do something here so that the indicator will start counting the days from when price closes above the 50 day + ATR50 and reset to 0 when it closes below the 50 day  ATR50
Close > 50 Day + ATR = Start count
Close < 50 Day  ATR = reset
Thank you

Oh is that different than the Canadian Common Stocks we have in TC

ACRG.U went public in Canada yesterday but it still doesn't come up in TC.

Where can I find the mathematical formula of indicators in TC.
For ex i am looking for ADX, DI and DI
The links below don't show the math
http://help.tc2000.com/m/69404/l/744697directionalmovementdidiadx
http://forums.worden.com/default.aspx?g=posts&t=66529
http://forums.worden.com/default.aspx?g=posts&t=66511

What do i need to add here to offset this PCF by 1 day
I need the new PCF to show what was the value of this PCF yesterday
TRUEINROW(C > AVGC50  ATR50 AND C < AVGC50 + ATR50,200)
