Indicator · Pine Script v5 · On the chart

CRT State Engine

by alboogycOdR

CRT State Engine is an overlay indicator that maps New York time-based CRT models at 9PM, 1AM, 5AM, and 9AM.

View on GitHub

GitHub stars6on the repository
Pine versionv5runs as is
Lines of code1,055
Settings40inputs
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

CRT State Engine tracks market structure, liquidity sweeps, change-in-state delivery, and unmitigated order blocks that stay drawn until mitigated. Optional modules plot liquidity pools and a volume profile, and session monitors cover CBDR, Asia, London, lunch, and the New York open. Live entry marks use a chosen bias source, a minimum score, and a take-profit method with a fixed reward ratio. Two extra symbols feed a correlation check. It does not place trades.

Details

Published by

alboogycOdR on GitHub

Draws

On the price chart

Markets

Forex

Timeframes

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
🕐 Timezone for CRT ModelsstringAmerica/New_Yorktimezone_mode
Show Timezone Info on Chartbooltrueshow_timezone_info
9PM NY Overnight Modelbooltrueenable_9pm_crt
1AM NY Modelbooltrueenable_1am_crt
5AM NY Modelbooltrueenable_5am_crt
9AM NY Modelbooltrueenable_9am_crt
CISD Detection MethodstringLiquidity Sweepcisd_detection_method
Order Block MethodstringStrict (Cursor)ob_detection_method
Enable DOL Analysis Enginebooltrueenable_dol_engine
DOL Pivot Strengthint10pivot_strength
Enable Session State Machinebooltrueenable_session_engine
Enable Live Entry Signalsbooltrueenable_entry_engine
Show all 40 settings
SettingTypeDefaultVariable
Debug Mode (Show All States)boolfalseenable_debug_mode
Enable Market Structure Analysisbooltrueenable_market_structure
Enable Liquidity Pool Detectionbooltrueenable_liquidity_pools
Enable Volume Profile Analysisbooltrueenable_volume_profile
Enable Multi-Pair Correlationbooltrueenable_correlation
Enable Risk Managementbooltrueenable_risk_management
Enable Performance Trackingbooltrueenable_performance_tracking
Correlation Pair 1symbolGBPUSDsym1
Correlation Pair 2symbolAUDUSDsym2
Monitor CBDR (13:00 NY)booltruemonitor_cbdr
Monitor Asia (17:00 NY)booltruemonitor_asia
Monitor London (03:00 NY)booltruemonitor_london
Monitor London Lunch (05:00 NY)booltruemonitor_lunch
Monitor NY Open (09:00 NY)booltruemonitor_ny
🎯 Entry Bias SourcestringMacro DOL Bias Onlyentry_bias_source
Take-Profit MethodstringDynamic (Cursor)tp_calculation_method
Risk:Reward Ratio (for Fixed R:R)float2.0risk_reward_ratio
Minimum Entry Score (0-100)int60min_entry_score
Dashboard ThemestringProfessional Darkdashboard_theme
Show DOL Linesbooltrueshow_dol_lines
Show DOL Line Descriptionsbooltrueshow_dol_labels
Show Session Boxesbooltrueshow_session_boxes
Show Key Levelsbooltrueshow_key_levels
Show Entry Signalsbooltrueshow_entry_signals
Show Market Structurebooltrueshow_market_structure
Show Liquidity Poolsbooltrueshow_liquidity_pools
Show Volume Profilebooltrueshow_volume_profile
Show Advanced Dashboardbooltrueshow_advanced_dashboard
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

Moon Dev GEX Sweep & CVD

by moondevonyt
92 stars

The indicator detects liquidity sweeps across key price levels and calculates a cumulative volume delta proxy. It uses pivot high and low lookbacks to identify swing points, marking sweeps when price breaks beyond a level and quickly closes back inside. Featur

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 2 months ago · Custom licence GitHub repository of Moon Dev GEX Sweep & CVD

Smart Money Concepts

by TamTH-Dev
2 stars

This indicator maps market structure and session activity directly on the price chart. It detects and labels internal and swing structures with customizable confluence filters and candle coloring. Additionally, it highlights major trading killzones including N

Indicator v5 SMC / ICT / price actionSessions & time Repaints
Updated 6 weeks ago · None stated GitHub repository of Smart Money Concepts

This overlay indicator builds a weighted volume profile over a chosen number of bars and plots pivot points with a point of control line on the price chart. Volume can be weighted toward recent, normal, or past bars, and swing length, row count, and alignment

Indicator v5 VolumeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Weighted Volume Profile Pivot Points | Flux Charts
1 stars

Advanced Market Theory calculates Market Profile, TPO, and Hybrid profiles directly on the price chart. It identifies key structural levels including the Point of Control, Value Area High and Low boundaries, Initial Balance range projections, single prints, po

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · None stated GitHub repository of Advanced Market Theory

VP

by dearvn
257 stars

This indicator calculates and plots a session-based volume profile directly on the price chart. It maps volume distribution across price levels, highlighting key structural reference points including the Point of Control, Value Area High, and Value Area Low. C

Indicator v5 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of VP

More SMC / ICT scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers