Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 4/23/2012 Posts: 10
|
Hi bud, can you please illustrate the pcf for the high of the last candle being greater than the upper bollinger band? The candle does not have to close above the upper limit, just to have crossed it. Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You didn't specify the settings of yoru Bollinger Band, so my example will use a Period of 20, Std Dev of 2.00 and an Average Type of Simple. If your settings are different, the formula would need to change as well.
H > AVGC20 + 2 * 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 - 20 * AVGC20 ^ 2) / 20)
Modelling Bollinger Bands (& Standard Deviation) in a TC PCF
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 4/23/2012 Posts: 10
|
QUOTE (stav1)
Hi bud, can you please illustrate the pcf for the high of the last candle being greater than the upper bollinger band? The candle does not have to close above the upper limit, just to have crossed it. Thanks
Sorry Bruce, (the're 10, 0.8) - do I stop the equation after C10 and change the '-20' to -10?
|
|
Registered User Joined: 4/23/2012 Posts: 10
|
can you also show me the shorting verion of this please (period = 10, SD = 0.8, Simple MA). thanks
[/QUOTE]
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Pretty close. You have to shorten it as you described, change all of the 20s in the formula to 10 and change the + 2 near the beginning to a + .8. There are more details in the topic referenced in my original reply.
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)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 4/23/2012 Posts: 10
|
Sorry Bruce, still strugling to get the formula to work. Period = 10, SD = 0.8, SMA. Could you also give me the pcf for the short side, thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
In what way is the formula not working? Note that if you change a formula it does not change any copies of the formula used elsewhere. So if had created an EasyScan or WatchList Column based on the Condition Formula, you will need to delete it and re-add it if you make any changes.
The low being below the bottom Bollinger Band 10,0.8 would be:
L < 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)
The only real difference in the formula is that the first + gets changed to a - instead.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 4/23/2012 Posts: 10
|
Thanks Bruce, working now. Can I have the short version of this - ie price pierces low of same bollinger settings. thanks
|
|
Registered User Joined: 4/23/2012 Posts: 10
|
many thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome. The short version has already been posted above.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |