Indicator · Pine Script v5 · On the chart

Institutional CRT Engine

by alboogycOdR

Calculates Candle Range Theory (CRT) ranges using specific one-hour or four-hour New York session candles.

View on GitHub

GitHub stars6on the repository
Pine versionv5runs as is
Lines of code367
Settings16inputs
LicenceNone stated
Last update7 months ago16 Mar 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

The indicator draws CRT range boxes directly on the price chart and plots entry signals based on Market Structure Shifts (MSS) with Fair Value Gaps (FVG) or aggressive Turtle Soup sweeps. Settings allow filtering signals using higher-timeframe H4 key levels, SMT divergence against correlated symbols, and integrated candlestick pattern detection.

Details

Published by

alboogycOdR on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

SMC / ICT / price action, Sessions & time, Support & resistance, Candlestick patterns

Markets

Any symbol

Timeframes

M1-M5, M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
CRT Modelstring1H - 9 AM NYi_model_choice
Entry LogicstringMSS + FVGi_entry_model
Require HTF Key Level Confluencebooltruei_use_htf_kl_filter
HTF Key Level Lookback (H4 Bars)int20i_kl_lookback
Enable SMT Divergence Filterboolfalsei_use_smt_filter
SMT Correlated SymbolstringES1!i_smt_symbol
Show CRT Range Boxbooltruei_show_boxes
Show Buy/Sell Signalsbooltruei_show_labels
Enable Alertsbooltruei_alerts_on
Alert FrequencystringOnce Per Bar Closei_alert_freq
Enable Three White Soldiersboolfalsei_enable_3ws
Enable Three Black Crowsboolfalsei_enable_3bc
Show all 16 settings
SettingTypeDefaultVariable
Enable Morning Starboolfalsei_enable_ms
Enable Evening Starboolfalsei_enable_es
Enable Three Inside Upboolfalsei_enable_3iu
Enable Three Inside Downboolfalsei_enable_3id
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

TheStrat Suite

by 345-strategies
5 stars

TheStrat Suite is a multi-timeframe price action indicator implementing Rob Smith's TheStrat methodology. It calculates bar classifications for inside bars, hammers, shooters, failed 2s and outside bars across configurable timeframes. The indicator detects sig

Indicator v6 SMC / ICT / price actionCandlestick patterns Repaints
Updated 2 days ago · MPL-2.0 GitHub repository of TheStrat Suite
2 stars

Session Extreme Revisit identifies the highest supply candle and lowest demand candle formed during London and New York sessions and draws extended reaction zones on the price chart. It evaluates candidate candles using size, wick ratio, and displacement filte

Indicator v5 Sessions & timeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Session Extreme Revisit — Pro

Golden Bullet Strategy

by TradersPost
218 stars

The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh

Indicator v6 SMC / ICT / price actionSessions & time
Updated 3 months ago · None stated GitHub repository of Golden Bullet Strategy
56 stars

This overlay indicator highlights candles with a body smaller than 50% of their total range by coloring them white on the price chart. Simultaneously, it calculates and plots horizontal lines for open prices across multiple higher timeframes, such as daily, we

Indicator v6 Support & resistanceCandlestick patterns Repaints
Updated 2 months ago · None stated GitHub repository of Daily Weekly Monthly Yearly Opens

This Pine Script indicator identifies liquidity sweeps and confirms signals using a close-back candle pattern directly on the price chart. It tracks recent swing highs and lows over a customizable lookback period. A bullish signal forms when a prior bar sweeps

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · MPL-2.0 GitHub repository of Liquidity Sweep + Close-Back Confirmation

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