OPEN-SOURCE SCRIPT
已更新 SHAMAZZ = Smoothed Heikin Ashi + MA + ZigZag

SHAMAZZ: Smoothed Heikin Ashi + Moving Averages + ZigZag Structure
This script is a visual analysis tool that combines three components in one place:
Smoothed Heikin Ashi candles
• Candles are generated using a two-stage exponential smoothing process applied to open, high, low, and close
• Helps visualize general price direction and candle transitions
• Supports optional multi-timeframe views using TradingView’s request.security()
Moving Averages
• Includes two standard moving averages (SMA 50 and SMA 200 by default)
• These are plotted on the same timeframe as the main chart or a selected higher timeframe
• No trading signals or strategies are generated from the averages
ZigZag Pivot Mapping
• Identifies swing highs and lows based on user-selected pivot length
• Classifies pivots into simple categories such as higher high, lower high, higher low, or lower low
• Draws connecting lines between detected pivots
• Can optionally display small labels showing the pivot type
• The ZigZag is not predictive and only reflects swings already formed by the chosen pivot settings
Purpose
The script is meant as a charting helper for traders who want to visualize smoothed candles, major moving averages, and swing structure without switching indicators. It does not generate signals, alerts, or trading advice. It does not imply future outcomes, accuracy, or profitability.
Note on Higher Timeframes
When higher-timeframe values are requested, the script only displays confirmed higher-timeframe candle closes. No lookahead behavior is intended. Users who want the safest and strictest mode should keep all additional timeframe options disabled and use the indicator on one timeframe only.
How to Use
• Turn components on or off depending on your workflow
• Adjust pivot length to make the ZigZag more or less sensitive
• Use smoothed candles and moving averages as visual references
• Use ZigZag swings only for structure mapping, not for trade signals or forecasts
This tool is provided for visual analysis only and does not promise performance or predictive value.
This script is a visual analysis tool that combines three components in one place:
Smoothed Heikin Ashi candles
• Candles are generated using a two-stage exponential smoothing process applied to open, high, low, and close
• Helps visualize general price direction and candle transitions
• Supports optional multi-timeframe views using TradingView’s request.security()
Moving Averages
• Includes two standard moving averages (SMA 50 and SMA 200 by default)
• These are plotted on the same timeframe as the main chart or a selected higher timeframe
• No trading signals or strategies are generated from the averages
ZigZag Pivot Mapping
• Identifies swing highs and lows based on user-selected pivot length
• Classifies pivots into simple categories such as higher high, lower high, higher low, or lower low
• Draws connecting lines between detected pivots
• Can optionally display small labels showing the pivot type
• The ZigZag is not predictive and only reflects swings already formed by the chosen pivot settings
Purpose
The script is meant as a charting helper for traders who want to visualize smoothed candles, major moving averages, and swing structure without switching indicators. It does not generate signals, alerts, or trading advice. It does not imply future outcomes, accuracy, or profitability.
Note on Higher Timeframes
When higher-timeframe values are requested, the script only displays confirmed higher-timeframe candle closes. No lookahead behavior is intended. Users who want the safest and strictest mode should keep all additional timeframe options disabled and use the indicator on one timeframe only.
How to Use
• Turn components on or off depending on your workflow
• Adjust pivot length to make the ZigZag more or less sensitive
• Use smoothed candles and moving averages as visual references
• Use ZigZag swings only for structure mapping, not for trade signals or forecasts
This tool is provided for visual analysis only and does not promise performance or predictive value.
版本注释
minor update开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。