OPEN-SOURCE SCRIPT
RM-Zones Heatmap

RM. "SOR Zones Heatmap" automatically maps the strongest Support/Resistance zones on any chart by scanning historical price and counting how many times each level was touched. Instead of drawing lines by hand, it highlights the areas where price has reacted the most — colored by strength — so you instantly see where the market respects a level.
Features
Automatic S/R detection: scans a configurable number of candles and clusters nearby touches into zones.
Strength heatmap: each zone is colored green (weak) → yellow (medium) → red (strong) based on how many times price hit it.
Full-width zone bands extended to the right, so levels stay visible as new candles form.
Central line per zone (style, width, and opacity configurable).
Smart labels: price, strength tier (WEAK / MEDIUM / STRONG), score, and touch count.
Fully customizable: colors, opacity, borders, zone size, and max zones to display.
Key Settings
Candles to analyze: lookback depth for building zones.
Minimum touches: filters out weak, noisy levels.
Zone size (pips): tolerance for clustering nearby touches into one zone.
Max zones to draw: caps how many levels appear on the chart.
Band / Line / Label groups: full control over appearance.
How to Use
Read the red zones as the strongest reaction areas — key decision levels.
Use yellow/green zones as secondary levels for scaling out or partial take-profits.
Combine with your trend bias: reactions off strong zones in the trend direction offer the cleanest setups.
Tips
On lower timeframes (e.g. 1min), lower the zone size for finer levels and raise the minimum touches to cut noise.
On higher timeframes, increase zone size so scattered touches merge into meaningful areas.
Created by Raúl (RM) (@your_username) · © 2026
All rights reserved. Educational use only.
Technical analysis tool for educational purposes only. This is not financial advice and does not guarantee results. Trade at your own risk.
Features
Automatic S/R detection: scans a configurable number of candles and clusters nearby touches into zones.
Strength heatmap: each zone is colored green (weak) → yellow (medium) → red (strong) based on how many times price hit it.
Full-width zone bands extended to the right, so levels stay visible as new candles form.
Central line per zone (style, width, and opacity configurable).
Smart labels: price, strength tier (WEAK / MEDIUM / STRONG), score, and touch count.
Fully customizable: colors, opacity, borders, zone size, and max zones to display.
Key Settings
Candles to analyze: lookback depth for building zones.
Minimum touches: filters out weak, noisy levels.
Zone size (pips): tolerance for clustering nearby touches into one zone.
Max zones to draw: caps how many levels appear on the chart.
Band / Line / Label groups: full control over appearance.
How to Use
Read the red zones as the strongest reaction areas — key decision levels.
Use yellow/green zones as secondary levels for scaling out or partial take-profits.
Combine with your trend bias: reactions off strong zones in the trend direction offer the cleanest setups.
Tips
On lower timeframes (e.g. 1min), lower the zone size for finer levels and raise the minimum touches to cut noise.
On higher timeframes, increase zone size so scattered touches merge into meaningful areas.
Created by Raúl (RM) (@your_username) · © 2026
All rights reserved. Educational use only.
Technical analysis tool for educational purposes only. This is not financial advice and does not guarantee results. Trade at your own risk.
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.
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.