OPEN-SOURCE SCRIPT
Aggiornato Ata✨SMA

This Pine Script v6 indicator performs three main functions on a trading chart:
Multiple Moving Averages (MA)
Displays 7 moving averages with fixed lengths (5, 10, 20, 30, 50, 100, 200).
Allows the user to select the MA type: SMA, EMA, WMA, or HMA.
Each MA has a distinct color and line width for clear visual differentiation.
Support and Resistance (S/R) Levels
Identifies key price levels based on pivot points (local highs/lows) within a user‑defined lookback period.
Filters levels by:
Minimum strength (number of touches).
Maximum zone width (as a percentage of price range).
Timeframe (user‑selectable: 5m to monthly).
Visualizes levels as horizontal zones (boxes) colored by type:
Red (res_col) for resistance.
Green (sup_col) for support.
Blue (inch_col) for indecision zones.
Optionally shows a table with level prices, types, and strength percentages.
Includes alert triggers for breakouts (price closing above resistance or below support).
Volume Profile (Side Volumes)
Builds a horizontal volume histogram to the right of the last bar, showing buy/sell volume distribution across price levels.
Highlights the Point of Control (POC) — the price with the highest total volume.
Colors:
Light blue for buy volume.
Light red for sell volume.
Yellow for POC line.
Allows customization of:
Number of bars used for calculation.
Rightward shift of the volume profile.
POC line extension leftward.
Includes tooltips explaining POC and trading scenarios.
Summary:
The script combines trend-following MAs, dynamic S/R zones with alerts, and volume profile analysis into a single indicator for multi‑faceted market structure assessment.
Multiple Moving Averages (MA)
Displays 7 moving averages with fixed lengths (5, 10, 20, 30, 50, 100, 200).
Allows the user to select the MA type: SMA, EMA, WMA, or HMA.
Each MA has a distinct color and line width for clear visual differentiation.
Support and Resistance (S/R) Levels
Identifies key price levels based on pivot points (local highs/lows) within a user‑defined lookback period.
Filters levels by:
Minimum strength (number of touches).
Maximum zone width (as a percentage of price range).
Timeframe (user‑selectable: 5m to monthly).
Visualizes levels as horizontal zones (boxes) colored by type:
Red (res_col) for resistance.
Green (sup_col) for support.
Blue (inch_col) for indecision zones.
Optionally shows a table with level prices, types, and strength percentages.
Includes alert triggers for breakouts (price closing above resistance or below support).
Volume Profile (Side Volumes)
Builds a horizontal volume histogram to the right of the last bar, showing buy/sell volume distribution across price levels.
Highlights the Point of Control (POC) — the price with the highest total volume.
Colors:
Light blue for buy volume.
Light red for sell volume.
Yellow for POC line.
Allows customization of:
Number of bars used for calculation.
Rightward shift of the volume profile.
POC line extension leftward.
Includes tooltips explaining POC and trading scenarios.
Summary:
The script combines trend-following MAs, dynamic S/R zones with alerts, and volume profile analysis into a single indicator for multi‑faceted market structure assessment.
Note di rilascio
fixScript open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.