Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

BBands not pierced Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
kippers
Posted : Tuesday, July 2, 2013 2:19:56 PM
Registered User
Joined: 6/18/2012
Posts: 24

Hi bud, is this the correct PCF for a bollinger band NOT pierced on the previous candle?

H1 <= AVGC10 + .8 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 - 10 * AVGC10 ^ 2) / 9)

 

I think the above may need a C10 added

 

The idea is to combine the above with the bollinger pierced on the most recent candle, which I presume would simply add:

and (H > AVGC10 + .8 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 - 10 * AVGC10 ^ 2) / 9)).

 

Is this correct? Thanks for your help.

kippers
Posted : Tuesday, July 2, 2013 2:29:06 PM
Registered User
Joined: 6/18/2012
Posts: 24

The above is refering to the top of the BB going long in a trade.

 

Bruce_L
Posted : Tuesday, July 2, 2013 2:33:29 PM


Worden Trainer

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

If you want the high of the previous candle to be at or below the Upper Bollinger Band 10, 0.8:

H1 <= AVGC10.1 + .8 * SQR(ABS(C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 - 10 * AVGC10.1 ^ 2) / 10)

Checking for this as well as the high being above during the current bar would be:

H > AVGC10 + .8 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 - 10 * AVGC10 ^ 2) / 10) AND H1 <= AVGC10.1 + .8 * SQR(ABS(C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 - 10 * AVGC10.1 ^ 2) / 10)

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



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kippers
Posted : Tuesday, July 2, 2013 2:35:04 PM
Registered User
Joined: 6/18/2012
Posts: 24

Many thanks Bruce

 

Bruce_L
Posted : Tuesday, July 2, 2013 2:37:49 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.