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 |

New pcf Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Michaelc1507
Posted : Wednesday, October 17, 2018 6:19:03 PM
Registered User
Joined: 12/3/2006
Posts: 278

Afternoon Bruce - some time ago you made me a pcf for a close crossing up the upper BB's - would you please modify it for prices that exceed - but don't have to close above - the upper 3rd std dev BB 20/30.

Hope I said that right.  Thanks - Mike

Bruce_L
Posted : Thursday, October 18, 2018 8:07:28 AM


Worden Trainer

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

If you just want the high above the upper simple Bollinger Band 20, 20, you could write this as follows for TC2000 v7.

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) / 19)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Michaelc1507
Posted : Thursday, October 18, 2018 6:14:36 PM
Registered User
Joined: 12/3/2006
Posts: 278

Thank you - but could you make the high and/or close exceed the 3rd standard deviation?? 

Mike

Bruce_L
Posted : Thursday, October 18, 2018 6:55:33 PM


Worden Trainer

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

Change the + 2 * to a + 3 *  instead.

H > AVGC20 + 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 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Michaelc1507
Posted : Friday, October 19, 2018 10:06:30 AM
Registered User
Joined: 12/3/2006
Posts: 278

Thanks again - Mike

Bruce_L
Posted : Friday, October 19, 2018 2:30:22 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.