Is there a way to scan for:ADX crossing up through both -DI and +DI?
|
Bruce, thanks for your BB code on 1/31/13. But it seems that you just repeated the upper BB code and did not give the code for the lower BB. You wrote:
An Indicator Formula for the Simple Upper Bollinger Band 20, 2.00 could be written as:
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) / 20)
And an Indicator Formula for the Simple Lower Bollinger Band 20, 2.00 could be written as:
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) / 20)
Would you please post the code for the lower BB?
NOTE: as far as I can tell one could not create a scan using the chart system for a stock opening above an upper BB and closing below it. So it seems a PCFs would be needed.
|