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 |

Cumulative % gain or loss Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
nxasokan
Posted : Monday, February 29, 2016 12:24:02 PM
Registered User
Joined: 7/18/2011
Posts: 16

Hello Bruce:

Is it possible to create an indicator which continually calculates % gain or loss in price from one bar to the next bar (closing prices) and adds or subtracts this % value fom the previous cumulative % value of all bars under consideration (all available bars).

I am thinking of something like up down volume ratio except my indicator looks only at prices.

I am hoping to see if a given instrument is gaining or losing value overall at any giventime. Thanks.

Natarajan Asokan

Bruce_L
Posted : Monday, February 29, 2016 1:34:27 PM


Worden Trainer

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

You could add a Custom PCF Cumulative indicator to the chart with the following settings.

- Up Condition: C > C - 1
- Down Condition: C < C - 1
- Value to Add/Subtract: 100 * (C / C1 - 1)

How to add an indicator to a chart template
How to edit an Indicator



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
nxasokan
Posted : Monday, February 29, 2016 2:58:00 PM
Registered User
Joined: 7/18/2011
Posts: 16

Thanks

Bruce_L
Posted : Monday, February 29, 2016 2:59:16 PM


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.