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 |

bOLLINGER CONDTION Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
SILVERWESOKE
Posted : Thursday, July 5, 2018 11:20:08 AM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

Hi Bruce.. Have this condition for stock that closes avbove upper BollingerBand. Would like to have one that shows same condition for YESTERDAY.. Any easy way to do this? 

 

C > AVGC21 + 2 * SQR(((C - AVGC21) ^ 2 + (C1 - AVGC21) ^ 2 + (C2 - AVGC21) ^ 2 + (C3 - AVGC21) ^ 2 + (C4 - AVGC21) ^ 2 + (C5 - AVGC21) ^ 2 + (C6 - AVGC21) ^ 2 + (C7 - AVGC21) ^ 2 + (C8 - AVGC21) ^ 2 + (C9 - AVGC21) ^ 2 + (C10 - AVGC21) ^ 2 + (C11 - AVGC21) ^ 2 + (C12 - AVGC21) ^ 2 + (C13 - AVGC21) ^ 2 + (C14 - AVGC21) ^ 2 + (C15 - AVGC21) ^ 2 + (C16 - AVGC21) ^ 2 + (C17 - AVGC21) ^ 2 + (C18 - AVGC21) ^ 2 + (C19 - AVGC21) ^ 2 + (C20 - AVGC21) ^ 2) / 20

Bruce_L
Posted : Thursday, July 5, 2018 11:24:53 AM


Worden Trainer

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

You need to add 1 to all of the bars ago parameters.

C1 > AVGC21.1 + 2 * SQR(((C1 - AVGC21.1) ^ 2 + (C2 - AVGC21.1) ^ 2 + (C3 - AVGC21.1) ^ 2 + (C4 - AVGC21.1) ^ 2 + (C5 - AVGC21.1) ^ 2 + (C6 - AVGC21.1) ^ 2 + (C7 - AVGC21.1) ^ 2 + (C8 - AVGC21.1) ^ 2 + (C9 - AVGC21.1) ^ 2 + (C10 - AVGC21.1) ^ 2 + (C11 - AVGC21.1) ^ 2 + (C12 - AVGC21.1) ^ 2 + (C13 - AVGC21.1) ^ 2 + (C14 - AVGC21.1) ^ 2 + (C15 - AVGC21.1) ^ 2 + (C16 - AVGC21.1) ^ 2 + (C17 - AVGC21.1) ^ 2 + (C18 - AVGC21.1) ^ 2 + (C19 - AVGC21.1) ^ 2 + (C20 - AVGC21.1) ^ 2 + (C21 - AVGC21.1) ^ 2) / 20



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
SILVERWESOKE
Posted : Thursday, July 5, 2018 11:28:10 AM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

thanks.. I just tried that.. says theres an unattached parentthesis at 476?  Wont verify

 

SILVERWESOKE
Posted : Thursday, July 5, 2018 11:33:38 AM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

i cant find any unattached )

 

Bruce_L
Posted : Thursday, July 5, 2018 11:36:24 AM


Worden Trainer

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

It is because your original is messed up. Try testing it....

I think it is just missing the closing parenthesis at the end. So your original should be as follows.

C > AVGC21 + 2 * SQR(((C - AVGC21) ^ 2 + (C1 - AVGC21) ^ 2 + (C2 - AVGC21) ^ 2 + (C3 - AVGC21) ^ 2 + (C4 - AVGC21) ^ 2 + (C5 - AVGC21) ^ 2 + (C6 - AVGC21) ^ 2 + (C7 - AVGC21) ^ 2 + (C8 - AVGC21) ^ 2 + (C9 - AVGC21) ^ 2 + (C10 - AVGC21) ^ 2 + (C11 - AVGC21) ^ 2 + (C12 - AVGC21) ^ 2 + (C13 - AVGC21) ^ 2 + (C14 - AVGC21) ^ 2 + (C15 - AVGC21) ^ 2 + (C16 - AVGC21) ^ 2 + (C17 - AVGC21) ^ 2 + (C18 - AVGC21) ^ 2 + (C19 - AVGC21) ^ 2 + (C20 - AVGC21) ^ 2) / 20)

And the altered version becomes the following.

C1 > AVGC21.1 + 2 * SQR(((C1 - AVGC21.1) ^ 2 + (C2 - AVGC21.1) ^ 2 + (C3 - AVGC21.1) ^ 2 + (C4 - AVGC21.1) ^ 2 + (C5 - AVGC21.1) ^ 2 + (C6 - AVGC21.1) ^ 2 + (C7 - AVGC21.1) ^ 2 + (C8 - AVGC21.1) ^ 2 + (C9 - AVGC21.1) ^ 2 + (C10 - AVGC21.1) ^ 2 + (C11 - AVGC21.1) ^ 2 + (C12 - AVGC21.1) ^ 2 + (C13 - AVGC21.1) ^ 2 + (C14 - AVGC21.1) ^ 2 + (C15 - AVGC21.1) ^ 2 + (C16 - AVGC21.1) ^ 2 + (C17 - AVGC21.1) ^ 2 + (C18 - AVGC21.1) ^ 2 + (C19 - AVGC21.1) ^ 2 + (C20 - AVGC21.1) ^ 2 + (C21 - AVGC21.1) ^ 2) / 20)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
SILVERWESOKE
Posted : Thursday, July 5, 2018 11:36:58 AM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

Ok thx.. funny the original seems to work..Ill try it..

 

 

 

Bruce_L
Posted : Thursday, July 5, 2018 11:38:12 AM


Worden Trainer

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

Your original really doesn't work as posted in the forums actually. It could just be a copy and past error when going from the program into the forums (it happens to me sometimes).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
SILVERWESOKE
Posted : Thursday, July 5, 2018 11:39:56 AM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

that was it.. for some reason that last ) didnt copy when i pasted it..

Thanks!!

Bruce_L
Posted : Thursday, July 5, 2018 11:57:06 AM


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.