Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 11/18/2017 Posts: 56
|
How can I know as PCF condition the price for intra day or days is surging up or down?
I tried to use Price Surge Up and Price Surge Down built in and they are not returning any values, even if they are set to daily or for different time frames in a day.
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please provided a specific unambiguous objective definition of what you mean by "surging".
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/18/2017 Posts: 56
|
During open, price is moving side ways and then started surging up(moving Up) during the day (may pull back after some time, but I want to know, when it starts rising) and the same way it is going down after open.
Thanks
|
|
Registered User Joined: 11/18/2017 Posts: 56
|
To be specific on one stock, MTSL today started to moving up some time after open
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
There is no way to tell as part of an intraday formula when the stocks opened. We can compare the range of the current bar or some smaller number of bars to the range of previous bars to see if it is larger, but there is no way algorithmic way to know if those bars are going to overlap the start of the trading day or not.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/18/2017 Posts: 56
|
QUOTE (Bruce_L)
We can compare the range of the current bar or some smaller number of bars to the range of previous bars to see if it is larger.
Can I have the formula for the above?
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
As an example, checking for the range of the current bar to be more than twice the total range of the previous ten bars would be:
H - L > 2 * (MAXH10.1 - MINL10.1)
Checking for the range of the current bar to be more than twice the average range of the previous ten bars would be:
H - L > 2 * AVG(H1 - L1, 10)
Checking for the range of the current bar to be more than twice the maximum range of the previous ten bars would be:
H - L > 2 * MAX(H1 - L1, 10)
You can adjust the number of bars before or after the comparison. You can change the 2 * to something else. If you adjust the number of bars on the left side of the inequality, you can use total range, average range, maximum range, or even minimum range on the left side of the inequality just as easily as on the right side.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/18/2017 Posts: 56
|
Thanks Bruce
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |