OPEN-SOURCE SCRIPT
Qing (EMA + MACD + Squeeze)

Overview
The Qing EMA + MACD + Squeeze strategy is designed for traders who prioritize systematic trend confirmation over speculative entries. The core philosophy centers on the "bias" or gap between price and key moving averages, particularly the EMA 20, to determine overextended or breakout-ready conditions.
Key Features
The EMA Power Stack: Visualizes six distinct EMA periods (6, 12, 20, 50, 100, 200) to provide a clear view of short-term momentum versus long-term trend health.
EMA 20 Gap Label: Real-time percentage display of the distance between the current price and the EMA 20, allowing you to gauge "mean reversion" or "breakout strength" at a glance.
Qing Squeeze Detection: A specialized logic that identifies "tight" market consolidation (the Squeeze) where EMAs 6, 12, and 20 converge, often preceding explosive moves.
Integrated MACD & Volume: Uses MACD crossovers for momentum confirmation and volume spikes to filter out low-conviction breakouts.
Smart Risk Management: Features automatic position sizing based on a percentage of your equity and dynamic ATR-based Stop Loss and Take Profit levels.
How to Use
Bold Entry (Aggressive): Monitor for price moving and holding above the EMA 6. This is the first signal of a shift in immediate momentum.
Safe Entry (Conservative): Wait for a "Pair Stack" where the price is positioned above the EMA 6, 12, and 21 concurrently, supported by steadily buying volume.
Trend Filter: The EMA 200 (Red) serves as the ultimate trend barometer; typically, long setups are favored when the price is above this line.
Settings & Customization
Squeeze Tightness: Adjust the percentage spread allowed between short-term EMAs to define your breakout sensitivity.
Volume Spike: Customize the multiplier to ensure you only enter when professional interest is present.
MTF Filter: Optionally toggle a Higher Timeframe (e.g., Daily) filter to ensure you are trading in the direction of the "Big Picture."
The Qing EMA + MACD + Squeeze strategy is designed for traders who prioritize systematic trend confirmation over speculative entries. The core philosophy centers on the "bias" or gap between price and key moving averages, particularly the EMA 20, to determine overextended or breakout-ready conditions.
Key Features
The EMA Power Stack: Visualizes six distinct EMA periods (6, 12, 20, 50, 100, 200) to provide a clear view of short-term momentum versus long-term trend health.
EMA 20 Gap Label: Real-time percentage display of the distance between the current price and the EMA 20, allowing you to gauge "mean reversion" or "breakout strength" at a glance.
Qing Squeeze Detection: A specialized logic that identifies "tight" market consolidation (the Squeeze) where EMAs 6, 12, and 20 converge, often preceding explosive moves.
Integrated MACD & Volume: Uses MACD crossovers for momentum confirmation and volume spikes to filter out low-conviction breakouts.
Smart Risk Management: Features automatic position sizing based on a percentage of your equity and dynamic ATR-based Stop Loss and Take Profit levels.
How to Use
Bold Entry (Aggressive): Monitor for price moving and holding above the EMA 6. This is the first signal of a shift in immediate momentum.
Safe Entry (Conservative): Wait for a "Pair Stack" where the price is positioned above the EMA 6, 12, and 21 concurrently, supported by steadily buying volume.
Trend Filter: The EMA 200 (Red) serves as the ultimate trend barometer; typically, long setups are favored when the price is above this line.
Settings & Customization
Squeeze Tightness: Adjust the percentage spread allowed between short-term EMAs to define your breakout sensitivity.
Volume Spike: Customize the multiplier to ensure you only enter when professional interest is present.
MTF Filter: Optionally toggle a Higher Timeframe (e.g., Daily) filter to ensure you are trading in the direction of the "Big Picture."
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。