New version 17 available now


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


New account application Trading resources
Margin rates Stock & option commissions

Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Expressing a figure as percentage. Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
rbyrne
Posted : Monday, March 20, 2017 4:57:45 PM
Gold Customer Gold Customer

Joined: 10/21/2004
Posts: 23

Bruce (or anyone else...), 

 

How would I write an indicator that expressed a 20-day simple moving average of a 50-day average true range ... but rather than expressed as a number (I've already done this), I'd like it to be expressed as a percentage. 

 

For example, I show a 20 SMA of a 50-day Average True Range on AMZN to be 10.07. I'd like that 10.07 figure to be expressed as a percentage (so 1.2% based on the Monday, March 20 closing price). 

 

Thanks.

Bruce_L
Posted : Monday, March 20, 2017 5:04:08 PM


Worden Trainer

Joined: 10/7/2004
Posts: 58,914

If you want it expressed as a percentage of the closing price then you could write the following in TC2000 v17.

100 * AVG(ATR50, 20) / C



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rbyrne
Posted : Tuesday, March 21, 2017 9:17:15 AM
Gold Customer Gold Customer

Joined: 10/21/2004
Posts: 23

Thanks Bruce...much appreciated!

Bruce_L
Posted : Tuesday, March 21, 2017 9:28:03 AM


Worden Trainer

Joined: 10/7/2004
Posts: 58,914

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.