Indicator · Pine Script v6 · On the chart

SMC+WWAP+FVG+TBT

by IAMATOMIC001· code credited to EnigmaWay

This overlay indicator maps market structure and a volume-weighted average on the price chart.

View on GitHub

Repaints

GitHub stars3on the repository
Pine versionv6current
Lines of code1,107
Settings40inputs
LicenceNone stated
Last update12 months ago31 Oct 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

SMC+WWAP+FVG+TBT plots bullish and bearish structure from a pivot period, with an optional response length for shorter or longer structure. Premium and discount areas can be shaded. Volume weighting and two multipliers change the average. A table can list ticker, timeframe, and a probability percentage, and a watermark can be shown. Live-bar signals can repaint.

Details

Published by

IAMATOMIC001 on GitHub

Code credit

EnigmaWay, as written in the script's header

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Volume, Support & resistance, Screeners & dashboards

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Settings

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

SettingTypeDefaultVariable
Structure Periodint20prd
Structure Response  booltrues1
respint7resp
Bullish Structure     booltruebull
bull2colorcolor.rgb(0, 149, 116)bull2
bull3colorcolor.rgb(0, 149, 116)bull3
Bearish Structure    booltruebear
bear2colorcolor.rgb(255, 34, 34)bear2
bear3colorcolor.rgb(255, 34, 34)bear3
Premium & DiscountbooltrueshowPD
premcolorcolor.new(color.rgb(255, 34, 34), 80)prem
disccolorcolor.new(color.rgb(8, 236, 126), 80)disc
Show all 40 settings
SettingTypeDefaultVariable
hllocstringRighthlloc
Ticker IDbooltrueTicker ID
TimeframebooltrueTimeframe
Probability PercentagebooltrueProbability Percentage
Watermarkbooltruewatermarki_supp
Positionstringbottomi_tableYpos_oto_supp
i_tableXpos_oto_suppstringcenteri_tableXpos_oto_supp
Heightint7i_height_oto_supp
Widthint30i_width_oto_supp
i_c_text_oto_suppcolorcolor.new(color.white, 0)i_c_text_oto_supp
_bg_oto_suppcolorcolor.new(color.blue, 70)_bg_oto_supp
Sizestringnormali_textSize
Sourcesourcehlc3source
Weighting StylestringVolumeweight
Average Periodint0max_size
Multiplier 1          float1multiplier_1
enable_1booltrueenable_1
Multiplier 2          float2multiplier_2
enable_2booltrueenable_2
Multiplier 3          float3multiplier_3
enable_3booltrueenable_3
Extrapolate     booltrueextrapolate
max_lengthint500max_length
Direction Sensitivityint3sensitivity
Project PricestringBothproject_price
Center Style    stringSolidcenter_style
center_widthint1center_width
center_colorcolorcolor.bluecenter_color
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

This indicator overlays Wyckoff schematic analysis on the chart, identifying accumulation and distribution phases (A through E) alongside key events like Selling Climax, Automatic Rally, Spring, UTAD, and Sign of Strength. It calculates range quality scores, a

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated yesterday · MIT GitHub repository of Wyckoff Schematics [WavesUnchained]

OWS Context

by vishnu-vardhan-d
2 stars

This indicator evaluates institutional market structure by tracking five core behaviors: liquidity sweeps with reclaims, stopping volume, range compression and expansion, breaks of structure, and order block mitigations. When a user-defined minimum number of p

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 weeks ago · MIT GitHub repository of OWS Context

Volume & Key Levels

by MoDarK-MK
1 stars

This overlay indicator template plots previous-day and previous-week highs and lows and marks liquidity sweeps when price pierces a level on elevated volume and closes back inside. It builds a rolling volume profile with point of control and value area, plus a

Indicator v6 VolumeSupport & resistance
Updated 7 weeks ago · MPL-2.0 GitHub repository of Volume & Key Levels
575 stars

This overlay indicator scans a pasted list of symbols for ICT liquidity sweep patterns using prior swing sweeps. The screening method looks back one, two, or three swings and can list long and short signals in a results table with adjustable rows, position, an

Indicator v5 SMC / ICT / price actionScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Liquidity Sweep Pattern Scanner

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