Registered User Joined: 10/13/2011 Posts: 38
|
Hi,
Can anyone help me with a formula that compares todays price to the highest price of a range past price bars, lets say 250 bars ago to 150 bars ago?
The goal is to detect whether price is in a longer term uptrend without pegging the comparison to a specific bar in the past. I want to enhance "C > C200" and make the "C200" more like "High of C150-C250"
Thank you!
Yi
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The high of the bars from 150 through 250 bars ago can be written as follows.
MAXH101.150
So if you want to check if the current price is above this range.
C > MAXH101.150
-Bruce Personal Criteria Formulas TC2000 Support Articles
|