Registered User Joined: 3/26/2012 Posts: 45
|
I was hoping for help with a PCF that would show stocks that are higher than the first bar of the trading day (whether that first bar is a 5 min bar, 15 min, hourly, etc.). Many thanks in advance.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It is not possible to do what you want. There is no way to reference the time of day in an intraday Personal Criteria Formula in order to reference the first bar of the trading day.
So while we could create a daily Condition Formula to check for the current price being above the open of the trading day.
C > O
There is no way to automaticallly check for the current price being above the high of the first bar of the trading day in an intraday time frame.
Any such formula would need to know how many bars you are currently into the trading day and would need to be changed each time a new bar starts forming.
So during the second bar of the trading day the formula would be:
C > H1
But during the third bar of the trading day the formula would need to be change to:
C > H2
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 3/26/2012 Posts: 45
|
Ok, great...thanks Bruce. I can create multiple ones and change every new bar as you pointed out.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|