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 |

Ulcer Index Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
diceman
Posted : Wednesday, June 26, 2013 12:37:44 PM
Registered User
Joined: 1/28/2005
Posts: 6,049

I would like a 33 period Ulcer Index.

 

 

 

 

 

Thanks

 

Bruce_L
Posted : Wednesday, June 26, 2013 12:45:50 PM


Worden Trainer

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

Assuming the formulas given in the Ulcer Index PCF? topic are correct (which is not guaranteed), then a 33-Period Ulcer Index can be written as:

SQR(((100 * (C / MAXC33 - 1)) ^ 2 + (100 * (C1 / MAXC32.1 - 1)) ^ 2 + (100 * (C2 / MAXC31.2 - 1)) ^ 2 + (100 * (C3 / MAXC30.3 - 1)) ^ 2 + (100 * (C4 / MAXC29.4 - 1)) ^ 2 + (100 * (C5 / MAXC28.5 - 1)) ^ 2 + (100 * (C6 / MAXC27.6 - 1)) ^ 2 + (100 * (C7 / MAXC26.7 - 1)) ^ 2 + (100 * (C8 / MAXC25.8 - 1)) ^ 2 + (100 * (C9 / MAXC24.9 - 1)) ^ 2 + (100 * (C10 / MAXC23.10 - 1)) ^ 2 + (100 * (C11 / MAXC22.11 - 1)) ^ 2 + (100 * (C12 / MAXC21.12 - 1)) ^ 2 + (100 * (C13 / MAXC20.13 - 1)) ^ 2 + (100 * (C14 / MAXC19.14 - 1)) ^ 2 + (100 * (C15 / MAXC18.15 - 1)) ^ 2 + (100 * (C16 / MAXC17.16 - 1)) ^ 2 + (100 * (C17 / MAXC16.17 - 1)) ^ 2 + (100 * (C18 / MAXC15.18 - 1)) ^ 2 + (100 * (C19 / MAXC14.19 - 1)) ^ 2 + (100 * (C20 / MAXC13.20 - 1)) ^ 2 + (100 * (C21 / MAXC12.21 - 1)) ^ 2 + (100 * (C22 / MAXC11.22 - 1)) ^ 2 + (100 * (C23 / MAXC10.23 - 1)) ^ 2 + (100 * (C24 / MAXC9.24 - 1)) ^ 2 + (100 * (C25 / MAXC8.25 - 1)) ^ 2 + (100 * (C26 / MAXC7.26 - 1)) ^ 2 + (100 * (C27 / MAXC6.27 - 1)) ^ 2 + (100 * (C28 / MAXC5.28 - 1)) ^ 2 + (100 * (C29 / MAXC4.29 - 1)) ^ 2 + (100 * (C30 / MAXC3.30 - 1)) ^ 2 + (100 * (C2 / MAXC9.31 - 1)) ^ 2) / 33)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
ChartPilot
Posted : Sunday, July 28, 2013 4:37:45 PM
Platinum Customer Platinum Customer

Joined: 10/7/2004
Posts: 3

C/MAX - 1 is not really a drawdown, so I don't see how it can produce an ulcer index.

Suppose MAX for a period is $100, and C today is $105.

Then C/MAX = 105/100 - 1 = 1.05 - 1 = 0.05

But the drawdown for this example should be zero, since price went up.

If a stock hits a new high everyday during a period, the ulcer index should be zero, right?

 

diceman
Posted : Monday, July 29, 2013 12:14:56 PM
Registered User
Joined: 1/28/2005
Posts: 6,049

QUOTE (ChartPilot)

Suppose MAX for a period is $100, and C today is $105.

Then C/MAX = 105/100 - 1 = 1.05 - 1 = 0.05

 

This cant be true.

CMAX will rise when C does and be 105.

 

 

Thanks

Bruce_L
Posted : Monday, August 5, 2013 8:37:53 AM


Worden Trainer

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

You're welcome. And thanks for providing the explanation of how the formula works while I was away.



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