Indicator · Pine Script v5 · On the chart

TMA Centered Bands Indicator X SMC X HULL

by msongkiet

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.

View on GitHub

Repaints

GitHub stars16on the repository
Pine versionv5runs as is
Lines of code1,288
Settings40inputs
LicenceNone stated
Last update2 years ago31 Aug 2024

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

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.

Details

Published by

msongkiet on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Moving averages, Volatility & bands, SMC / ICT / price action, Support & resistance

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)
  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

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

SettingTypeDefaultVariable
Centered TMA half periodint12HalfLength
Price to usestringWeightedPriceType
Average true range periodint100AtrPeriod
Average true range multiplierfloat2AtrMultiplier
Centered TMA angle cautionint4TMAangle
Bearcolorcolor.new(color.red, 0)colorDOWN
Bullcolorcolor.new(color.green, 0)colorUP
Bandscolorcolor.new(#b2b5be, 0)colorBands
Caution labelbooltruecautionInput
Crossing upboolfalsecrossUpInput
Crossing downboolfalsecrossDownInput
Coming backboolfalsecomingBackInput
Show all 40 settings
SettingTypeDefaultVariable
On arrow downboolfalseonArrowDownInput
On arrow upboolfalseonArrowUpInput
modestringHistoricalmode
stylestringColoredstyle
Color Candlesboolfalseshow_trend
Show Internal Structurebooltrueshow_internals
Bullish StructurestringAllshow_ibull
swing_ibull_csscolor#089981swing_ibull_css
Bearish StructurestringAllshow_ibear
swing_ibear_csscolor#f23645swing_ibear_css
Confluence Filterboolfalseifilter_confluence
Internal Label SizestringTinyinternal_structure_size
Show Swing Structurebooltrueshow_Structure
Bullish StructurestringAllshow_bull
swing_bull_csscolor#089981swing_bull_css
Bearish StructurestringAllshow_bear
swing_bear_csscolor#f23645swing_bear_css
Swing Label SizestringSmallswing_structure_size
Show Swings Pointsboolfalseshow_swings
lengthint50length
Show Strong/Weak High/Lowbooltrueshow_hl_swings
Internal Order Blocksbooltrueshow_iob
iob_showlastint5iob_showlast
Swing Order Blocksboolfalseshow_ob
ob_showlastint5ob_showlast
Order Block FilterstringAtrob_filter
Internal Bullish OBcolorcolor.new(#3179f5, 80)ibull_ob_css
Internal Bearish OBcolorcolor.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.

Similar Pine Scripts

ICT Liquidity Void Fill

by ArunKBhaskar
575 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Liquidity Void Fill

Snag - VWAP

by dearvn
257 stars

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

Indicator v5 Moving averagesVolatility & bands Repaints
Updated 6 weeks ago · None stated GitHub repository of Snag - VWAP
218 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Market Structure + Supply/Demand

MA Envelope (MAE)

by mihakralj
99 stars

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

Indicator v6 Moving averagesSupport & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of MA Envelope (MAE)

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