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 |

TSV Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Qc-MC
Posted : Sunday, February 1, 2015 3:30:39 PM
Registered User
Joined: 11/4/2014
Posts: 11

When I use TSV24 in PCF's window, it gives me the "simple type averaging method" of the indicator(see edit in TSV indicator, the option of "average type"). Wht is the wy to have TSV24 lin, but with "exponential" averaging method of te indicator?

Please, do not be confused between averaging method of TSV and average of the indicator over a period of time.

see this example:

MSFTon 30-01-2015:

(these are the values  I want to refer to)

TSV24(expontial method) : -189 k

EMA of TSV24(exp.) over 12 periods: -91,7 k

(these are not)

TSV24 (simple mehod) : -151 k (seem to be the default)

EMA of this TSV over 12 peiods: -70 k

I want to refer to the 2 fist set of values, not the second set.

thanks,

 

 

Bruce_L
Posted : Monday, February 2, 2015 12:43:25 PM


Worden Trainer

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

An exponential moving average of a raw TSV (a TSV with a period of 1) is the same thing as an exponential TSV of the same period as the moving average.

So a 24-period simple TSV can be written as follows.

TSV24

And a 24-period exponential TSV can be written as follows.

XAVG(TSV,24)

The 24-period simple TSV of 1 bar ago can be written as follows.

TSV24.1

While the 24-period exponential TSV 2f 1 bar ago can be written as follows.

XAVG(TSV1.1,24)

The 12-period exponential EMA of a 24-period exponential TSV can be written as follows.

(23 * XAVG(TSV,24) - 11 * XAVG(TSV,12)) / 12

Cascades of Moving Averages

This is the same thing as the 24-period exponential EMA of a 12-period exponential TSV. The order that the EMAs are applied does not matter.

An interesting consequence of the math is that the 12-period exponential moving average of a 24-period exponential TSV being above the TSV and a 24-period exponential moving average of a 12-period exponential TSV being above the TSV can both be written in exactly the same way as well.

XAVG(TSV,12) > XAVG(TSV,24)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Qc-MC
Posted : Monday, February 2, 2015 2:28:13 PM
Registered User
Joined: 11/4/2014
Posts: 11

 

[/QUOTE] OK, I created new indicators wih the formulas and ploted them over the TSV(e)24 anEM12 of TSV(e)24. It's ok. If I save this new indicator as a custom ind. am I able to refer to it by its name or need to enter the fml each time?

Bruce_L
Posted : Monday, February 2, 2015 2:31:06 PM


Worden Trainer

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

If you give the Custom PCF Indicator a name and then save the indicator in TC2000 version 12.4, you should be able to use the name you used when saving it to re-load it later.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Qc-MC
Posted : Monday, February 2, 2015 2:55:13 PM
Registered User
Joined: 11/4/2014
Posts: 11

QUOTE (Bruce_L)

If you give the Custom PCF Indicator a name and then save the indicator in TC2000 version 12.4, you should be able to use the name you used when saving it to re-load it later.

But the question is if I want to refer to it in a condition can I refer to my new ind by it's name?

ex:

1: create this ind: XAVG(TSV1,24)

2: name it "MYExpTSV24"

3: In a condition (later) Search MYExpTSV4 = MIN(MYExpTSV24,21) (verify if the ind is at a low of 21 p.)

OR MYExpTSV24 >MYExpTSV24.1 (comparing current value with the last period)

cm

Bruce_L
Posted : Monday, February 2, 2015 2:57:12 PM


Worden Trainer

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

No, there is no way to reference the value in another formula. You would need to include the syntax for the formula within any other formula in order to use it.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Qc-MC
Posted : Monday, February 2, 2015 3:33:52 PM
Registered User
Joined: 11/4/2014
Posts: 11

QUOTE (Bruce_L)

No, there is no way to reference the value in another formula. You would need to include the syntax for the formula within any other formula in order to use it.

 

Ok

 

thanks

(close)

 

cm

Bruce_L
Posted : Monday, February 2, 2015 3:34:51 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.