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 |

Close less than bollinger band followed by an inside day Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
nabanco98
Posted : Monday, July 7, 2014 9:04:05 PM
Registered User
Joined: 10/25/2008
Posts: 218

Hi Bruce,

 

How would you define the below in a pcf?

 

-yesterday's close was less than yesterday's lower bollinger band 20,2

-today is an inside bar

Thank you

Todd

Bruce_L
Posted : Tuesday, July 8, 2014 12:41:38 PM


Worden Trainer

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

Assuming an inside bar is a bar where the entire range of the current bar is both completely contained inside the entire range of the previous bar (the highs or lows could match) and smaller than the previous bar.

H - L < H1 - L1 AND L1 <= L AND H <= H1 AND C1 < AVGC20.1 - 2 * SQR(ABS(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 - 20 * AVGC20.1 ^ 2) / 20)

Modelling Bollinger Bands (& Standard Deviation) in a TC PCF
Boolean PCFs for Candlestick Patterns



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
nabanco98
Posted : Friday, July 11, 2014 2:26:21 PM
Registered User
Joined: 10/25/2008
Posts: 218

Thank you sir.

nabanco98
Posted : Thursday, July 17, 2014 8:16:03 PM
Registered User
Joined: 10/25/2008
Posts: 218

Hi Bruce,

 

Would you mind converting this to

-an inside bar today (your previous presumption was correct)

-yesterday the bar closed outside the upper BB 20,2

 

Thank you sir

Bruce_L
Posted : Friday, July 18, 2014 9:42:27 AM


Worden Trainer

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

Please try the following Condition Formula.

H - L < H1 - L1 AND L1 <= L AND H <= H1 AND C1 > AVGC20.1 + 2 * SQR(ABS(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 - 20 * AVGC20.1 ^ 2) / 20)



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