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

How to convert DPO to a % value like RSI Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
vitorleite
Posted : Friday, January 18, 2013 2:06:22 PM
Registered User
Joined: 1/10/2008
Posts: 98

I Use Detrend price Oscillator with a setting of 21. I need to convert the absolutes values on Y axis to a a % value. 

 

Can You Help?

 

Thanks

Bruce_L
Posted : Friday, January 18, 2013 2:11:09 PM


Worden Trainer

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

I guess you could use the following formula as a Custom PCF Indicator:

100 * (C / AVGC21.12 - 1)

Instead of the actual formula for a 21-Period DPO which would be:

C - AVGC21.12



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
vitorleite
Posted : Friday, January 18, 2013 2:21:18 PM
Registered User
Joined: 1/10/2008
Posts: 98

 

When you say  (C / AVGC21.12 - 1) 

You mean  C / (AVG21.12-1)    OR (C / AVG21.12) -1  ?

 

I presume that is the first, right?

Bruce_L
Posted : Friday, January 18, 2013 2:35:38 PM


Worden Trainer

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

No, the second is correct. The order of operations but division before subtraction.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
vitorleite
Posted : Friday, January 18, 2013 4:36:47 PM
Registered User
Joined: 1/10/2008
Posts: 98

Bruce 

 

Putting this formula give me negative values.

 

I would want values from to 100%

Bruce_L
Posted : Friday, January 18, 2013 4:51:33 PM


Worden Trainer

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

Then you will need to describe the algorithm you wish to use for the calculations. There is no particularly obvious way to make such a conversion of a completely undbounded into a bounded indicator ranging from 0 to 100.

Price can be both above and below its offset moving average. The positive numbers represent price being above the moving average by that perentage and the negative numbers represent price being below the moving average by that percentage.



-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.