Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Calculation Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
FranckZ
Posted : Sunday, November 26, 2017 10:20:56 AM
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

Bruce_L
Posted : Monday, November 27, 2017 11:19:46 AM


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
FranckZ
Posted : Tuesday, November 28, 2017 5:01:23 AM
Registered User
Joined: 11/18/2017
Posts: 5

Thanks Bruce. I can work with that. 

Franck

Bruce_L
Posted : Tuesday, November 28, 2017 8:42:31 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.