OPEN-SOURCE SCRIPT
3DMA % Declining Issues (Diodato 2019)

Description:
This script is a faithful implementation of the "3-DMA % Declining Issues" indicator from Chris Diodato's 2019 CMT paper, "Making The Most Of Panic." It is a simple but highly effective short-term panic meter based on market breadth.
What It Is
This indicator first calculates the percentage of total traded issues on the NYSE that were decliners for that day. It then plots a 3-day simple moving average of that percentage. The result is a 0-100 scale indicator that provides a clear visual of the intensity of recent, widespread selling pressure.
How to Interpret
Unlike a typical "oversold" oscillator where low is a signal, with this indicator, a high value indicates panic.
Panic Spikes: A sharp spike upward suggests that a very large portion of the market is selling off simultaneously. The paper found that when this indicator exceeded 65%, 70%, or 75%, it often marked a point of extreme short-term panic that presented a buying opportunity.
Panic Threshold: The script includes a customizable "Panic Threshold" line (defaulting to 65) to help you instantly spot these events.
Settings
Data Sources: Allows toggling the use of "Unchanged" issues data.
Thresholds: You can set the "Panic Threshold" line to your preferred level (e.g., 65, 70, 75).
This script is a faithful implementation of the "3-DMA % Declining Issues" indicator from Chris Diodato's 2019 CMT paper, "Making The Most Of Panic." It is a simple but highly effective short-term panic meter based on market breadth.
What It Is
This indicator first calculates the percentage of total traded issues on the NYSE that were decliners for that day. It then plots a 3-day simple moving average of that percentage. The result is a 0-100 scale indicator that provides a clear visual of the intensity of recent, widespread selling pressure.
How to Interpret
Unlike a typical "oversold" oscillator where low is a signal, with this indicator, a high value indicates panic.
Panic Spikes: A sharp spike upward suggests that a very large portion of the market is selling off simultaneously. The paper found that when this indicator exceeded 65%, 70%, or 75%, it often marked a point of extreme short-term panic that presented a buying opportunity.
Panic Threshold: The script includes a customizable "Panic Threshold" line (defaulting to 65) to help you instantly spot these events.
Settings
Data Sources: Allows toggling the use of "Unchanged" issues data.
Thresholds: You can set the "Panic Threshold" line to your preferred level (e.g., 65, 70, 75).
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。