Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 11/18/2017 Posts: 56
|
Hi Bruce,
If I want to know, how far today's price is lower than yesterday's low, is there any formula/ scan condition?
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you mean the net difference between the current price and the low of the previous bar (so set the time frame of the formula to daily to compare the current price to the low of the previous trading day).
C - L1
If you mean the percent difference.
100 * (C / L1 - 1)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/18/2017 Posts: 56
|
Thanks Bruce
|
|
Registered User Joined: 11/18/2017 Posts: 56
|
Do you mean previous bar in the same day?
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I meant exactly what I said. I meant the previous bar, nothing more, nothing less.
The syntax is time frame agnostic. The previous bar is the previous trading day in a daily time frime. The previous bar is the previous week in a weekly time frame. The previous bar is the previous 5 minute interval in a 5 minute time frame.
This is why I specifically indicated to set the time frame of the formula to daily.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/18/2017 Posts: 56
|
Thanks for the detailed explanation.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |