Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 3/22/2005 Posts: 35
|
my last post i asked about sorting stocks by the width of the bollinger bands.
another user tell me:
Further suggestion: search for Bollinger Bands in the PCF's Board to find the custom indicator formula for BB bandwidth (i.e N * Standard Deviation).
Now apply a separate 60SMA child indicator to that plot, and look for cases where the Width is below the SMA.
Better yet ... apply a 60,20 BB child indicator to the custom width indicator ... look for cases where the width is below the lower BB.
You can use Comparative SortBy to assist with this.
how do i do this?
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
He suggests you search these forums for certain items. You can search the forums with the SEARCH link at the top right of this page just under the blue bar.
- Craig Here to Help!
|
|
Registered User Joined: 3/22/2005 Posts: 35
|
craig,
i got that far already.
for someone with minimal coding knowhow, this is a difficult exercise.
im sure you answer a lot of stupid questions.
im just trying to make a living here.
|
|
Registered User Joined: 3/22/2005 Posts: 35
|
which of these formula do i use?
when i try and create a new pcf (via cut and paste) i get a syntax error?
General Bollinger Band formula BB(Pds,SDs)= SMA(Pds) +/- SDs*StdDev Add/Sub final term to get Top/Bot BB Middle BB line = SMA(Pds)
Standard Deviation PCF (per TC plot) SQR( ( ( C*C + C1*C1 + ...+ Cn*Cn ) - ( p * AvgCp * AvgCp ) ) / n ) where p = SMAPds and n = Pds-1
Example: Pds = 10 days, 2x SD Top BB TC requires 2x to be input as "20"
BB(10,2) = AvgC10 + 2 * SQR((( C*C +C1*C1 +C2*C2 +C3*C3 +C4*C4 +C5*C5 +C6*C6 +C7*C7 +C8*C8 +C9*C9 ) - ( 10 * AvgC10 * AvgC10 ) ) / 9 )
Example: Pds = 20 days, 1x SD Bot BB TC requires 1x to be input as "10"
BB(20,1) = AvgC20 - 1 * SQR((( C*C +C1*C1 +C2*C2 +C3*C3 +C4*C4 +C5*C5 +C6*C6 +C7*C7 +C8*C8 +C9*C9 +C10*C10 +C11*C11 +C12*C12 +C13*C13 +C14*C14 +C15*C15 +C16*C16 +C17*C17 +C18*C18 +C19*C19 ) - ( 20 * AvgC20*AvgC20 ) ) / 19 )
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
All he was talking about was finding stocks with below average band widths. The original solttion/video I gave you is going to do what you want. I would try my method first.
- Craig Here to Help!
|
|
Registered User Joined: 3/22/2005 Posts: 35
|
well, it sounded to me like he was talking about something a little different.
anyway, your video was very helpful, thanks...
|
|
Registered User Joined: 10/7/2004 Posts: 799 Location: Duluth, GA
|
I just posted a thorough explanation here:
Breakout from a Bollinger Band Squeeze
Jim Dean
|
|
Guest-1 |