This indicator combines Centered Triangular Moving Average (TMA) bands offset by Average True Range (ATR) with Smart Money Concepts (SMC) market structure analysis on the price chart.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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
TMA Centered Bands Indicator X SMC X HULL calculates upper, center, and lower bands alongside swing and internal market structure breaks. Users can adjust the TMA half period, ATR parameters, caution labels, and crossover alert conditions. Because it uses a centered TMA algorithm that calculates backwards from future bars, the plotted bands and signals repaint past bars.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Centered TMA half period
int
12
HalfLength
Price to use
string
Weighted
PriceType
Average true range period
int
100
AtrPeriod
Average true range multiplier
float
2
AtrMultiplier
Centered TMA angle caution
int
4
TMAangle
Bear
color
color.new(color.red, 0)
colorDOWN
Bull
color
color.new(color.green, 0)
colorUP
Bands
color
color.new(#b2b5be, 0)
colorBands
Caution label
bool
true
cautionInput
Crossing up
bool
false
crossUpInput
Crossing down
bool
false
crossDownInput
Coming back
bool
false
comingBackInput
Show all 40 settings
Setting
Type
Default
Variable
On arrow down
bool
false
onArrowDownInput
On arrow up
bool
false
onArrowUpInput
mode
string
Historical
mode
style
string
Colored
style
Color Candles
bool
false
show_trend
Show Internal Structure
bool
true
show_internals
Bullish Structure
string
All
show_ibull
swing_ibull_css
color
#089981
swing_ibull_css
Bearish Structure
string
All
show_ibear
swing_ibear_css
color
#f23645
swing_ibear_css
Confluence Filter
bool
false
ifilter_confluence
Internal Label Size
string
Tiny
internal_structure_size
Show Swing Structure
bool
true
show_Structure
Bullish Structure
string
All
show_bull
swing_bull_css
color
#089981
swing_bull_css
Bearish Structure
string
All
show_bear
swing_bear_css
color
#f23645
swing_bear_css
Swing Label Size
string
Small
swing_structure_size
Show Swings Points
bool
false
show_swings
length
int
50
length
Show Strong/Weak High/Low
bool
true
show_hl_swings
Internal Order Blocks
bool
true
show_iob
iob_showlast
int
5
iob_showlast
Swing Order Blocks
bool
false
show_ob
ob_showlast
int
5
ob_showlast
Order Block Filter
string
Atr
ob_filter
Internal Bullish OB
color
color.new(#3179f5, 80)
ibull_ob_css
Internal Bearish OB
color
color.new(#f77c80, 80)
ibear_ob_css
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 overlay indicator marks ICT liquidity void fills on the price chart and can show long and short signals. It places a Fibonacci level inside a displacement candle, defaulting to the midpoint, and draws lines in a chosen style. Optional filters limit the fi
This indicator plots a custom Anchored Volume-Weighted Average Price (VWAP) directly on the price chart along with optional standard deviation bands. Users can anchor the VWAP to standard time periods like sessions, weeks, or months, or to corporate events suc
This indicator maps market structure and supply and demand zones on the price chart. It marks validated and optional unvalidated swing highs and lows using a pivot length and extra confirmation bars. Consolidation and impulse moves are measured against ATR to
This indicator overlays trend-following Supertrend bands on the price chart using Average True Range calculations. It plots trailing stop lines, highlights active trend directions, and prints buy or sell shape labels when price closes across band thresholds. I
The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p
This indicator overlays options gamma-exposure levels, session VWAP bands, and intraday market structure tools directly on the price chart. It provides three modular components: strike walls with standard deviation bands and opening ranges, a gamma regime engi