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

bollinger break out Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
kippers
Posted : Sunday, May 26, 2013 3:09:42 PM
Registered User
Joined: 6/18/2012
Posts: 24

Hi, I know that for the price to break through the bollinger during the current candle the pcf is 

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)

 

Can you please tell me how to adapt this to be true for the price to have broken above the bollinger for the last 2 candles. Many thanks.

Bruce_L
Posted : Tuesday, May 28, 2013 9:20:33 AM


Worden Trainer

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

Please try the following Condition Formula to check for your requirements being true for both of the two most recent bars.

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, May 28, 2013 1:55:59 PM
Registered User
Joined: 6/18/2012
Posts: 24

Thanks. Can you kindly also tell me the pcf for the rsi 2 being below 50 on either the current or previous bar. Really appreciate your help.

Bruce_L
Posted : Tuesday, May 28, 2013 2:05:01 PM


Worden Trainer

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

If your RSI is the plain RSI indicator that is not Wilder's smoothed, then a Condition Formula for a 2-Period RSI being below 50 for one of the two most recent bars could be written as:

RSI2 < 50 OR RSI2.1.1 < 50

If your RSI is the RSI - Wilder's indicator this is Wilder's smoothed, then the Condition Formula would be quite a bit longer:

50 * (C - XAVGC3.1) / 2 / (.5000305 * (ABS(C - C1) + .5 * (ABS(C1 - C2) + .5 * (ABS(C2 - C3) + .5 * (ABS(C3 - C4) + .5 * (ABS(C4 - C5) + .5 * (ABS(C5 - C6) + .5 * (ABS(C6 - C7) + .5 * (ABS(C7 - C8) + .5 * (ABS(C8 - C9) + .5 * (ABS(C9 - C10) + .5 * (ABS(C10 - C11) + .5 * (ABS(C11 - C12) + .5 * (ABS(C12 - C13) + .5 * (ABS(C13 - C14)))))))))))))))) + 50 < 50 OR 50 * (C1 - XAVGC3.2) / 2 / (.5000305 * (ABS(C1 - C2) + .5 * (ABS(C2 - C3) + .5 * (ABS(C3 - C4) + .5 * (ABS(C4 - C5) + .5 * (ABS(C5 - C6) + .5 * (ABS(C6 - C7) + .5 * (ABS(C7 - C8) + .5 * (ABS(C8 - C9) + .5 * (ABS(C9 - C10) + .5 * (ABS(C10 - C11) + .5 * (ABS(C11 - C12) + .5 * (ABS(C12 - C13) + .5 * (ABS(C13 - C14) + .5 * (ABS(C14 - C15)))))))))))))))) + 50 < 50 



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kippers
Posted : Tuesday, May 28, 2013 2:41:36 PM
Registered User
Joined: 6/18/2012
Posts: 24

Bruce you're a star!

 

Bruce_L
Posted : Tuesday, May 28, 2013 2:43:03 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.