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 |

standard deviation Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
drewfalk
Posted : Saturday, April 7, 2012 3:04:47 PM
Registered User
Joined: 3/8/2012
Posts: 12

Hi- could you please show me how to write a custom formula?  I want to scan for prices that  are below an Envelope Channel which is set to a 12-day SMA, 1 period, 3 standard deviations.  Thanks!

Bruce_L
Posted : Monday, April 9, 2012 10:05:54 AM


Worden Trainer

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

The Envelope Channels in TC2000 version 12 are actually the percentage above or below a Moving Average. So checking for Price being below the Lower Simple Envelope Channel 12, 3.00 would be:

C < .97 * AVGC12

If you are looking for price to be at least 3-Standard Deviations below the 12-Period Simple Moving Average, you would need to use Bollinger Bands 12, 3.00 instead:

C < AVGC12 - 3 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 - 12 * AVGC12 ^ 2) / 12)

I do not know how the Envelope Channels in TC2000 version 7 are calculated and cannot duplicate them or test for them using a Personal Criteria Formula.

Modelling Bollinger Bands (& Standard Deviation) in a TC PCF
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



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