Indicator · Pine Script v5 · On the chart

Price Action Concepts + Signals & Overlays

by krishna1432all-hub

This Pine Script indicator detects and plots price action concepts on the chart, including swing highs and lows, internal market structures, break of structure (BOS), change of character (CHoCH), and EQH/EQL levels.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code3,653
Settings40inputs
LicenceNone stated
Last update4 months ago12 Jun 2026

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

Price Action Concepts + Signals & Overlays signals trend shifts with colored BOS and CHoCH markers and optional order blocks showing last five instances plus metrics. The script draws elements directly on the price chart, with settings for MTF scanner directional bias, bar and candle coloring based on structure, and custom levels from daily to yearly. Main inputs adjust lookback periods for swings and internals, structure modes, and display toggles for structures, EQH/EQL, candles, and bar colors. It overlays all features on the main price chart.

Details

Published by

krishna1432all-hub on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Trend, SMC / ICT / price action, Candlestick patterns, Support & resistance

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • 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
Swing stringAllshow_swing_ms
Internal stringAllshow_internal_ms
internal_r_lookbackint5internal_r_lookback
swing_r_lookbackint50swing_r_lookback
Market Structure ModestringManualms_mode
MTF Scannerbooltrueshow_mtf_str
Show EQH/EQLboolfalseshow_eql
Plotcandleboolfalseplotcandle_bool
Bar Colorboolfalsebarcolor_bool
i_ms_up_BOScolor#089981i_ms_up_BOS
i_ms_dn_BOScolor#f23645i_ms_dn_BOS
s_ms_up_BOScolor#089981s_ms_up_BOS
Show all 40 settings
SettingTypeDefaultVariable
s_ms_dn_BOScolor#f23645s_ms_dn_BOS
Day boolfalselvl_daily
Week boolfalselvl_weekly
Monthboolfalselvl_monthly
Year boolfalselvl_yearly
css_dcolorcolor.bluecss_d
css_wcolorcolor.bluecss_w
css_mcolorcolor.bluecss_m
css_ycolorcolor.bluecss_y
s_dstring⎯⎯⎯s_d
s_wstring⎯⎯⎯s_w
s_mstring⎯⎯⎯s_m
s_ystring⎯⎯⎯s_y
Show Last booltrueob_show
ob_numint5ob_num
Internal Buy/Sell Activitybooltrueob_metrics_show
colorcolor.new(#089981, 50)css_metric_up
css_metric_dncolorcolor.new(#f23645 , 50)css_metric_dn
Swing Order Blocksboolfalseob_swings
colorcolor.new(color.gray , 90)css_swing_up
css_swing_dncolorcolor.new(color.silver, 90)css_swing_dn
Filtering stringNoneob_filter
Mitigation stringAbsoluteob_mitigation
Positioning stringPreciseob_pos
Grayscaleboolfalseuse_grayscale
Show Metricsbooltrueuse_show_metric
Show Middle-Linebooltrueuse_middle_line
Hide Overlapbooltrueuse_overlap
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 overlay indicator detects tweezer tops and bottoms and kangaroo-tail pin bars, then draws supply and demand zones from those patterns. It scores each zone, decays freshness, merges overlapping zones, and can invalidate a zone after a close-through or afte

Indicator v6 Candlestick patternsSupport & resistance
Updated yesterday · MIT GitHub repository of Tweezer & Kangaroo Zones [WavesUnchained]
7 stars

This indicator plots Smart Money Concepts and price action components directly on the price chart. It highlights bullish and bearish order blocks, multi-timeframe pivot points, market structure swings with key Fibonacci retracement levels (0.618 and 0.786), zo

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 months ago · None stated GitHub repository of Cryptokazancev Strategy Pack
3 stars

This Pine Script indicator plots Smart Money Concepts market structure directly on the price chart. It identifies swing highs and lows, internal market structures, Break of Structure events, Change of Character shifts, and EQH/EQL levels. Breaker blocs are hig

Indicator v5 SMC / ICT / price actionCandlestick patterns Repaints
Updated 12 months ago · None stated GitHub repository of SMC & Breaker Blocs [Krishna]

Price Action Toolkit

by TamTH-Dev
2 stars

The Price Action Toolkit is an indicator that combines several price action tools on the chart. It calculates the ATR with user-defined length and shows it in a table. It plots multiple Kaufman Adaptive Moving Averages (KAMA) with different lengths and sources

Indicator v6 TrendSupport & resistance
Updated 5 weeks ago · None stated GitHub repository of Price Action Toolkit

Smart Money Concepts [LuxAlgo]

by srinivas-yarramsetti
2 stars

This indicator plots Smart Money Concepts elements on the price chart including internal and swing order blocks, bullish and bearish structures with BOS and CHoCH breaks, fair value gaps, equal highs and lows, and swing points. It can color candles according t

Indicator v5 SMC / ICT / price actionCandlestick patterns Repaints
Updated 3 years ago · None stated GitHub repository of Smart Money Concepts [LuxAlgo]

j14-E1 adv

by moonyroy
1 stars

This indicator plots ZigZag lines connecting swing highs and lows to map price structure. It draws candle body and shadow boxes on the price chart and detects CHoCH for potential trend shifts and BOS for continuation signals. The main setting toggles candle di

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 4 days ago · None stated GitHub repository of j14-E1 adv

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