Registered User Joined: 4/3/2015 Posts: 8
|
I'm trying to figure out how to write a PCF that will show price tapping previous highs or come within range of the high before pulling back down. So hopefully I can get in position prior to the breakout.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
How close to the high does it need to be before you want it to pass?
Over what period do you want to check the high?
For example, the following intraday formula would check for price being at or below the high of the previous 50 bars but within 0.5%.
.995 * MAXH50.1 <= C AND C <= MAXH50.1
If you want to check for price being near the top of its high for the day, you could use a daily stochastic. For example, the following daily Condition Formula checks for price to be in the top 1% of its range for the day.
STOC1 >= 99
Understanding Stochastics
-Bruce Personal Criteria Formulas TC2000 Support Articles
|