Registered User Joined: 10/21/2004 Posts: 28
|
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.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
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
|
Registered User Joined: 10/21/2004 Posts: 28
|
Thanks Bruce...much appreciated!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|