OPEN-SOURCE SCRIPT
Range Expansion Signal (RES)

Range Expansion Signal (RES)
The Range Expansion Signal (RES) is a lightweight yet effective indicator designed to highlight the internal dynamics of each candle.
🔹 How it works
Calculates the mid-price of each candle (the average between high and low).
Plots a horizontal line at the mid-price level.
Displays the mid-price value as a label on the chart.
Adds a directional marker:
▲ green when the current price is above the mid-price,
▼ red when the current price is below the mid-price.
🔹 How to use it
Quickly assess whether buying or selling pressure dominates within the candle.
Use as a reference in intraday or short-term strategies where range expansion matters.
Ideal for spotting potential breakouts, reversals, or confirming price action setups.
🔹 Why it’s useful
Unlike standard moving averages or static midpoints, RES provides a real-time visual signal directly on each candle. This makes it faster and cleaner to interpret price behavior without cluttering the chart.
The Range Expansion Signal (RES) is a lightweight yet effective indicator designed to highlight the internal dynamics of each candle.
🔹 How it works
Calculates the mid-price of each candle (the average between high and low).
Plots a horizontal line at the mid-price level.
Displays the mid-price value as a label on the chart.
Adds a directional marker:
▲ green when the current price is above the mid-price,
▼ red when the current price is below the mid-price.
🔹 How to use it
Quickly assess whether buying or selling pressure dominates within the candle.
Use as a reference in intraday or short-term strategies where range expansion matters.
Ideal for spotting potential breakouts, reversals, or confirming price action setups.
🔹 Why it’s useful
Unlike standard moving averages or static midpoints, RES provides a real-time visual signal directly on each candle. This makes it faster and cleaner to interpret price behavior without cluttering the chart.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
🔥 Analisi settimanali su YouTube --> youtube.com/c/Trading0n
📈 Corsi di Trading pratici --> tradingon.it/corsi-di-trading/
💬 Segui le novità sul Canale Telegram --> t.me/Mauro_Caimi
📈 Corsi di Trading pratici --> tradingon.it/corsi-di-trading/
💬 Segui le novità sul Canale Telegram --> t.me/Mauro_Caimi
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
🔥 Analisi settimanali su YouTube --> youtube.com/c/Trading0n
📈 Corsi di Trading pratici --> tradingon.it/corsi-di-trading/
💬 Segui le novità sul Canale Telegram --> t.me/Mauro_Caimi
📈 Corsi di Trading pratici --> tradingon.it/corsi-di-trading/
💬 Segui le novità sul Canale Telegram --> t.me/Mauro_Caimi
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.