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 |

Exponential averaging of TSV within PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Richard_Holden
Posted : Tuesday, January 8, 2013 11:42:01 AM
Registered User
Joined: 6/8/2012
Posts: 6

Hi, 

 

I'm trying to implementant an indicator using PCF that excatly emulates the TSV line plot with settings of: Period = 25, Average type = Exponential

Note that this is not the same as XAVG(TSV25.0,x) which applies an x day exponential moving average smoothing to the TSV25 after the TSV25 has been calculated instead of using the exponential averaging within the TSV calc.

Results between the two can be significantly different

 

Thanks for your help

 

Richard Holden

Bruce_L
Posted : Tuesday, January 8, 2013 11:55:06 AM


Worden Trainer

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

The only difference between a Simple TSV and an Exponential TSV is the type of moving average applied to the raw Time Segmented Volume calculations.

Your formula (were x given a numeric value) would be the x-Period Exponential Moving Average of a 25-Period Simple TSV. The formula for a 25-Period Exponential TSV would be:

XAVG(TSV,25)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Richard_Holden
Posted : Sunday, January 13, 2013 5:23:55 PM
Registered User
Joined: 6/8/2012
Posts: 6

Thanks Bruce, 

This does the job nicely

 

Richard

 

 

Bruce_L
Posted : Monday, January 14, 2013 8:45:10 AM


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.