PROTECTED SOURCE SCRIPT
Updated Six Sigma Enhanced

This script is a study of the Two Six Sigma patterns explored in the December 2018 issue of Technical Analysis of Stocks & Commodities (Stocks & Commodities V. 36:12 (8–12): Identifying High-Probability Buy Signals by François Picard, MS , & Edmond Miresco, PhD )
Signal 1 - 9 Closes Under MA
The first (Signal #1 or S1 on the chart) indicates 9 consecutive closes below the 20-period moving average. In the study, the authors used a simple moving average however I have modified it to use a MA to account for price distribution
Signal 2 - 6 Lower Closes and 9 Closes Under MA
The second signal (Signal #2 or S2 on the chart) indicates six consecutive periods where the close value is lower than the previous close and Signal 1.
Filter Signal Code provided by tradingview.com/u/AllTradeSignals/
Signal 1 - 9 Closes Under MA
The first (Signal #1 or S1 on the chart) indicates 9 consecutive closes below the 20-period moving average. In the study, the authors used a simple moving average however I have modified it to use a MA to account for price distribution
Signal 2 - 6 Lower Closes and 9 Closes Under MA
The second signal (Signal #2 or S2 on the chart) indicates six consecutive periods where the close value is lower than the previous close and Signal 1.
Filter Signal Code provided by tradingview.com/u/AllTradeSignals/
Release Notes
SMA is used to calculate plot lineRelease Notes
migrated to v5Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.