The Market Structure Oscillator by LuxAlgo combines short-term, intermediate-term, and long-term market structure evaluations into a unified oscillator line displayed in a separate pane.
Market Structure Oscillator [LuxAlgo] calculates structural trend weightings using customizable user inputs for each timeframe tier alongside smoothing algorithms. The indicator also provides a cycle oscillator histogram with signal crossovers. Traders can optionally overlay market structure lines and labels for short, intermediate, and long-term pivots directly onto the main price chart. Settings allow full customization of structural weights, smoothing periods, and visual signals.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Market Structure Oscillator
bool
true
msOsc_Show
Short Term Weight
float
1
msWeightK1
Intermediate Term Weight
float
3
msWeightK2
Long Term Weight
float
2
msWeightK3
Oscillator Smoothing
int
4
norm_Smooth
Gradient Colors: Bullish
color
#3179f5
msBullColor
Bearish
color
#ffa726
msBearColor
Market Structure Oscillator - Crosses (Signals)
bool
false
oscSig
Signal Colors: Bullish
color
#3179f5
oBullColor
Bearish
color
#ffa726
oBearColor
Cycle Oscillator - Histogram
bool
true
cycleOpt
Cycle Signal Length
int
7
cyc_Smooth
Show all 38 settings
Setting
Type
Default
Variable
Histogram Colors: Bullish
color
color.new(#90bff9, 25)
cBullColor
Bearish
color
color.new(#ffcc80, 25)
cBearColor
Cycle Oscillator - Crosses (Signals)
bool
false
cycleSig
Signal Colors: Bullish
color
color.new(#90bff9, 25)
sBullColor
Bearish
color
color.new(#ffcc80, 25)
sBearColor
Short Term Structures
bool
false
msOnChart1
Line
string
Dotted
msOnChartK1
Labels
string
Disabled
stMSLblK1T
Colors: Bullish
color
#089981
cBullColorK1
Bearish
color
#f23645
cBearColorK1
Intermediate Term Structures
bool
false
msOnChart2
Line
string
Dashed
msOnChartK2
Labels
string
Disabled
stMSLblK2T
Colors: Bullish
color
#089981
cBullColorK2
Bearish
color
#f23645
cBearColorK2
Long Term Structures
bool
false
msOnChart3
Line
string
Solid
msOnChartK3
Labels
string
Enabled
stMSLblK3T
Colors: Bullish
color
#089981
cBullColorK3
Bearish
color
#f23645
cBearColorK3
Short Term Oscillator
bool
false
msDataK1
msColorK1
color
color.new(color.gray, 50)
msColorK1
Intermediate Term Oscillator
bool
false
msDataK2
msColorK2
color
color.new(color.gray, 50)
msColorK2
Long Term Oscillator
bool
false
msDataK3
msColorK3
color
color.new(color.gray, 50)
msColorK3
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.
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
This indicator identifies Smart Money Concepts market structure across higher and lower timeframes directly on the main price chart. It detects Break of Structure, Market Structure Shifts, Order Blocks, and regular or inverse Fair Value Gaps. Entry signals are
Cerebr Bot is an overlay indicator that maps order blocks and fair value gaps on the price chart. It validates order blocks using a candle-count range, a no-body buffer, and an optional reversal-magnitude filter based on candle body or the selected method. RSI
This indicator identifies market impulses, consolidation zones, and potential stop levels directly on the price chart. It evaluates price movement using dual ATR ratios, tight-range consolidation filters, stochastic momentum, and candle body-to-wick proportion
Pieki Algo is an all-in-one technical analysis indicator that overlays trading signals, trend visualizers, and Smart Money Concepts onto the main price chart. It plots buy and sell signals based on configurable sensitivity settings, colors candles by trend or
This indicator plots demand and supply zones computed from volume profile with 30-56 bins, fair value gaps on 4H, and equal highs/lows. It draws a magic line using ATR(14) x 1.618 golden ratio anchored to the 00:00 UTC close. Signals identify liquidity vacuum