OPEN-SOURCE SCRIPT

Vietnamese: Swing Low Detection with SMA Bands & Background

311
This script detects **swing lows** using a dynamic SMA-based logic and visually highlights them on the chart.

Features
  1. Customizable Moving Averages: Supports multiple MA types (SMA, EMA, WMA, RMA, HMA, DEMA, TEMA, VWMA).
  2. Swing Low Visualization: Identifies swing lows when price closes below the SMA of lows and exits once price trades above the SMA of highs.
  3. Smart Rectangles: Marks detected swing lows with labeled boxes for clear visual reference.
  4. Background Highlights**: Dynamically shades the chart background when price breaks below recent swing lows, helping traders spot potential breakdown zones.
  5. Configurable Parameters: Period length, rectangle length, and MA source can all be tuned.

Use Cases
  1. Spot breakdown/bearish continuation signals when price closes under recent lows.
  2. Combine with higher timeframe trend analysis for confluence.

Notes
* This tool is designed for **visual analysis** and is not a standalone buy/sell signal.
* Works best when combined with broader trend analysis, support/resistance levels, and volume.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.