Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Platinum Customer
Joined: 10/13/2009 Posts: 4
|
I am looking for one 'ready to go' and dont see one in the Library
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You may wish to review the Can you tell me how to create a condition when the bollinger bands squeeze together? topic.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 12/3/2004 Posts: 30
|
Bruce, You wrote this PCF for me. I would like to change the doji size from .1 to .05. Where would I make that change? (((H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 - ((O + H + L + C + XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 + ABS(O + H + L + C - XAVGO3.1 - XAVGH3.1 - XAVGL3.1 - XAVGC3.1)) / 2) / 4 < .1 * ((H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 - (L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2)) OR (((O + H + L + C + XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 - ABS(O + H + L + C - XAVGO3.1 - XAVGH3.1 - XAVGL3.1 - XAVGC3.1)) / 2) / 4 - (L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 < .1 * ((H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 - (L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2))) AND (ABS((XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4 - (O1 + H1 + L1 + C1) / 4) < .1 * ((H1 + (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4 + ABS(H1 - (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4)) / 2 - (L1 + (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4 - ABS(L1 - (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4)) / 2))
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If I'm understanding your question correctly, you would need to change every instance of < .1 to < .05 instead:
(((H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 - ((O + H + L + C + XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 + ABS(O + H + L + C - XAVGO3.1 - XAVGH3.1 - XAVGL3.1 - XAVGC3.1)) / 2) / 4 < .05 * ((H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 - (L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2)) OR (((O + H + L + C + XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 - ABS(O + H + L + C - XAVGO3.1 - XAVGH3.1 - XAVGL3.1 - XAVGC3.1)) / 2) / 4 - (L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 < .05 * ((H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 - (L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2))) AND (ABS((XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4 - (O1 + H1 + L1 + C1) / 4) < .05 * ((H1 + (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4 + ABS(H1 - (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4)) / 2 - (L1 + (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4 - ABS(L1 - (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4)) / 2))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 12/3/2004 Posts: 30
|
Yes Bruce. Thank you
|
|
Registered User Joined: 11/9/2004 Posts: 5
|
Hi Bruce, I tried your formula for the bollinger band tight squeeze but it did not produce my desired results. There were several stocks that should've been in the list but they were not. The only stocks that appeared in the list I would not consider a tight squeeze. I looked at the formula but was unable to determine the relationship between the variables. Can you give me a quick summary of the condition elements...Thanks....
|
|
Registered User Joined: 11/9/2004 Posts: 5
|
Bruce I forgot to send a stock example...try RFP that broke out today but was in a very very tight squeeze for awhile...Thanks
|
|
Registered User Joined: 11/9/2004 Posts: 5
|
Sorry Bruce the stock is RGP not RFP...thanks...
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The formulas given in this topic actually have nothing to do with a Bollinger Band Squeeze and were given in response to claudb's question and not to robertrao's original question which started the topic.
You would need to click through the link in the first response given in this topic to find an explanation of how to create a condition to identify a Bollinger Band Squeeze.
Can you tell me how to create a condition when the bollinger bands squeeze together?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |