DALE–!! Z-SCORE BREADTH INDICATOR ! Coded by Onn and Richard Denning 5/21/09 zMult is 1.0. maLen is 21. SD is SQRT(Variance([Close],maLen)). MA21 is SimpleAvg([Close],maLen). UpperBB is MA21 + SD * zMult. LowerBB is MA21 - SD * zMult. !Use the following two rules to create two breadth tickers ! call one with zUpRule "zUpCount" ! call on with zDnRule "zDnCount": zUp if [Close]>UpperBB. zDn if [Close]