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 |

PCF for the Standard Deviation of the last 30 minutes Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
aquavision
Posted : Wednesday, January 21, 2015 12:32:05 PM
Registered User
Joined: 5/29/2014
Posts: 26

Bruce, is it possible to create a PCF for the standard deviation of only the first 30 minutes starting at the open of the day in TC2000?

 

Bruce_L
Posted : Wednesday, January 21, 2015 12:40:00 PM


Worden Trainer

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

No, it is not possible.

We can create a 30-period standard deviation formula and you can plot it in a 1-minute time frame by adding a Custom PCF Indicator to a 1-minute chart.

Adding and Moving Indicators (7:19)

- Period: 1
- Average Type: Doesn't matter (because the Period is 1).
- Formula: 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 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 + C20 ^ 2 + C21 ^ 2 + C22 ^ 2 + C23 ^ 2 + C24 ^ 2 + C25 ^ 2 + C26 ^ 2 + C27 ^ 2 + C28 ^ 2 + C29 ^ 2 - 30 * AVGC30 ^ 2) / 30

Modelling Bollinger Bands (& Standard Deviation) in a TC PCF

But it is only going to represent the first 30 minutes of the trading day on the 30th 1 minute bar of the trading day. Every other bar is going to return values for a different 30 minute span.

Note also that while you can plot the indicator in TC2000 Gold, you would need TC2000 Platinum to use intraday calculations as sorts or EasyScan Conditions.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
aquavision
Posted : Wednesday, January 21, 2015 12:54:12 PM
Registered User
Joined: 5/29/2014
Posts: 26

Thank you Bruce,

I came up with the same thing, but was hoping I could stop it at the 30 min mark rather than continuing to update each successive 1 min bar.

 

Bruce_L
Posted : Wednesday, January 21, 2015 12:56:15 PM


Worden Trainer

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

There is no way to automatically the calculations at the 30 minute mark.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
aquavision
Posted : Wednesday, January 21, 2015 1:40:47 PM
Registered User
Joined: 5/29/2014
Posts: 26

Bruce,

would it be possible in StockFinder?

Bruce_L
Posted : Wednesday, January 21, 2015 2:10:02 PM


Worden Trainer

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

Yes, it is possible to do this in StockFinder Platinum.



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