Institutional CRT State Engine is an overlay indicator that combines Direction of Liquidity (DOL) bias detection with Candle Range Theory (CRT) pattern recognition.
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
Institutional CRT State Engine - Complete Trading System monitors key institutional session windows—including CBDR, Asia, London, London Lunch, and New York—and evaluates 1AM, 5AM, and 9AM CRT models for multi-timeframe trade entries. The indicator plots session boxes, horizontal key levels, directional bias lines, and entry signals directly on the main price chart. Settings allow adjusting pivot strength, entry timeframes, SMT confluence filters, and automated risk-to-reward visualization.
Direction of Liquidity bias detection via pivot strength
Session state engine tracking CBDR, Asia, London, and NY Open
Multi-timeframe CRT pattern recognition models
Entry signal generation with customizable SMT confluence
Visual session boxes, key levels, and risk-reward levels
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Enable DOL Analysis Engine
bool
true
enable_dol_engine
Enable Session State Machine
bool
true
enable_session_engine
Enable Live Entry Signals
bool
true
enable_entry_engine
Debug Mode (Show All States)
bool
false
enable_debug_mode
DOL Pivot Strength
int
10
pivot_strength
1AM CRT Model
bool
true
enable_1am_crt
5AM CRT Model
bool
true
enable_5am_crt
9AM CRT Model
bool
true
enable_9am_crt
Monitor CBDR (17:00)
bool
true
monitor_cbdr
Monitor Asia (21:00)
bool
true
monitor_asia
Monitor London (01:00)
bool
true
monitor_london
Monitor London Lunch (05:00)
bool
true
monitor_lunch
Show all 26 settings
Setting
Type
Default
Variable
Monitor NY Open (09:00)
bool
true
monitor_ny
Entry Timeframe
string
15
entry_timeframe
Require SMT Confluence
bool
true
require_smt_confluence
Auto Risk Management
bool
true
auto_risk_management
Risk:Reward Ratio
float
2.0
risk_reward_ratio
Show DOL Lines
bool
true
show_dol_lines
Show Session Boxes
bool
true
show_session_boxes
Show Key Levels
bool
true
show_key_levels
Show Entry Signals
bool
true
show_entry_signals
Bullish DOL
color
color.new(color.green, 20)
col_bullish_dol
Bearish DOL
color
color.new(color.red, 20)
col_bearish_dol
Consolidation
color
color.new(color.gray, 80)
col_consolidation
Manipulation
color
color.new(color.orange, 80)
col_manipulation
Expansion
color
color.new(color.blue, 80)
col_expansion
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 script combines Smart Money Concepts including Break of Structure, Optimal Trade Entry Fibonacci levels, Fair Value Gaps, and Order Blocks to identify setup entries on the price chart. It tracks 15-minute higher timeframe structure, restricts trades to th
This indicator identifies Quasimodo Level (QML) market structure patterns on the price chart using a ZigZag algorithm. It includes optional directional trend filtering using dual exponential moving averages, an ADX threshold filter to verify trend strength, an
This Pine Script indicator automatically marks Smart Money Concepts on the price chart. It identifies swing highs and lows as HH, HL, LH, LL using a configurable swing length. It detects breaks of market structure (BMS/BOS) and changes of character (CHoCH), wi
SMC Pro is an overlay indicator that maps smart money concepts on the price chart. It draws bullish and bearish order blocks with a mitigation threshold, fair value gaps, break of structure and change of character lines, and liquidity sweeps of equal highs and
This indicator implements an ICT and SMC decision engine directly on the price chart. It calculates Fair Value Gap consequent encroachment entry triggers alongside multi-tiered profit targets and structure-anchored stop losses. Trades are filtered through prem
This indicator detects equal highs and lows by comparing prices within user-defined left and right bars using a tolerance percentage. It plots horizontal lines on the price chart for equal highs in one color and lows in another. A screener allows input of mult