Registered User Joined: 11/18/2017 Posts: 5
|
Hi,
How do I calculate the number of days since the lowest price in the current year?
Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I can't think of any completely automated method of doing this. Everything I can think of requires manually creating a different formula each day. If you know the number of trading days in the year so far, you would write this as follows in TC2000 v17 (there really isn't a good way to write this in earlier versions of TC200 for a period this long).
227 * (100 - AROONDOWN227) / 100
Note that this as based on the first trading day of the year being 227 days ago, so there have been 228 days in the trading year so far including today.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 11/18/2017 Posts: 5
|
Thanks Bruce. I can work with that.
Franck
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|