Indicator · Pine Script v5 · Own pane

Market Structure Oscillator

by munlit

A separate-pane oscillator based on market structure ranges at three scales: short, intermediate and long.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code334
Settings19inputs
LicenceNone stated
Last update1 year ago9 Mar 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Each scale has a weight input, and the combined value is smoothed and shown as a gradient or a cycle histogram. Optional structure lines and tags for each scale can be drawn on the price chart. It is adapted from a LuxAlgo concept and the labels are in Spanish.

Details

Published by

munlit on GitHub

Type

Indicator, Pine Script v5

Draws

Separate pane below the chart

Category

SMC / ICT / price action, Oscillators & momentum

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
  Escala Cortafloat1msOsc_WeightK1
  Escala Intermediafloat3msOsc_WeightK2
  Escala Largafloat2msOsc_WeightK3
  Oscilador Suavizadoint4msOsc_Norm_Smooth
Oscilador Cycle - GradientebooltruemsOsc_Show
Oscilador Cycle - HistogramaboolfalsecycleOpt
  Cycle Marca Longitudint7cyc_Smooth
Estructura de rango CortobooltruemsOnChart1
  Lineastring····msOnChartK1
TagsstringDisabledstMSLblK1T
Estructura de rango IntermediobooltruemsOnChart2
  Lineastring----msOnChartK2
Show all 19 settings
SettingTypeDefaultVariable
TagsstringDisabledstMSLblK2T
Estructura de rango LargobooltruemsOnChart3
  Lineastring⎯⎯⎯⎯msOnChartK3
TagsstringEnabledstMSLblK3T
Oscilador de rango Cortoboolfalseshow_msOscRange1
Oscilador de rango Medioboolfalseshow_msOscRange2
Oscilador de rango Largoboolfalseshow_msOscRange3
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

Nexural Transform

by JasonTeixeira
9 stars

Nexural Transform is an oscillator indicator calculated in a separate pane that combines Fisher Transform mechanics with Cumulative Volume Delta momentum. It integrates volume-weighted price transforms, CVD acceleration, and order flow features like absorption

Indicator v6 Oscillators & momentumVolume
Updated 13 days ago · Custom licence GitHub repository of Nexural Transform
9 stars

This indicator quantifies the risk of a prevailing market structure break by combining trend context, structure, and momentum into a composite 0–100 risk score. It plots an RSI oscillator with momentum divergence lines in a separate pane while projecting key b

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · MIT GitHub repository of Structure Break Risk
4 stars

Relative Structure Strength Index is an oscillator indicator that plots in a separate pane. It calculates the Relative Strength Index (RSI) using bar structure power derived from an external library, then smooths the resulting values with a customizable moving

Indicator v6 Oscillators & momentumMoving averages
Updated yesterday · None stated GitHub repository of Relative Structure Strength Index
2 stars

The Liquidity Void Detector calculates a custom oscillator to identify low-participation price moves in a separate pane. It computes a log volume shock z-score against a moving average baseline and a 1-bar log return z-score. When volume drops below the low-vo

Indicator v6 SMC / ICT / price actionVolume
Updated 8 months ago · None stated GitHub repository of Liquidity Void Detector (Zeiierman)
1 stars

An indicator that shows an adaptive True Strength Index in a separate pane while projecting signals onto the price chart. It detects the instrument type, such as gold, silver or major indices, and the timeframe to pick parameters, adapts reactivity to ATR, and

Indicator v6 Oscillators & momentumScalping
Updated 6 months ago · None stated GitHub repository of TSI Adaptive Scalper v4.2 OVL-SP

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers