Indicator · Pine Script v5 · On the chart

CRT State Engine v7.3

by alboogycOdR

This TradingView indicator for XAUUSD gold analyzes market structure, order blocks, liquidity pools, and volume profiles to generate entry signals on the price chart.

View on GitHub

GitHub stars6on the repository
Pine versionv5runs as is
Lines of code948
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 v7.3 includes session monitoring engines and risk management modules that can be toggled via inputs for different CRT models at specific times like 1AM or 9AM. Users select order block detection methods and take-profit calculation approaches, adjusting pivot strength and minimum entry scores. The script plots market structure lines, key levels, session boxes, and entry signals directly on the chart. It supports multi-pair correlation and dashboard visualization. Limits include reliance on customizable settings without default stop loss or take profit rules specified.

Details

Published by

alboogycOdR on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

SMC / ICT / price action, Support & resistance, Sessions & time, Volume

Markets

Gold

Timeframes

Any timeframe

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
1AM CRT Modelbooltrueenable_1am_crt
5AM CRT Modelbooltrueenable_5am_crt
9AM CRT Modelbooltrueenable_9am_crt
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
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
Show all 40 settings
SettingTypeDefaultVariable
Enable Multi-Pair Correlationbooltrueenable_correlation
Enable Risk Managementbooltrueenable_risk_management
Enable Performance Trackingbooltrueenable_performance_tracking
Monitor CBDR (17:00)booltruemonitor_cbdr
Monitor Asia (21:00)booltruemonitor_asia
Monitor London (01:00)booltruemonitor_london
Monitor London Lunch (05:00)booltruemonitor_lunch
Monitor NY Open (09:00)booltruemonitor_ny
Take-Profit MethodstringDynamic (Cursor)tp_calculation_method
Risk:Reward Ratio (for Fixed R:R method)float2.0risk_reward_ratio
Minimum Entry Score (0-100)int60min_entry_score
Dashboard ThemestringProfessional Darkdashboard_theme
Chart Background is Darkbooltruechart_background_dark
Show DOL Linesbooltrueshow_dol_lines
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
Bullish DOLcolorcolor.new(color.green, 20)col_bullish_dol
Bearish DOLcolorcolor.new(color.red, 20)col_bearish_dol
Consolidationcolorcolor.new(color.gray, 80)col_consolidation
Manipulationcolorcolor.new(color.orange, 80)col_manipulation
Expansioncolorcolor.new(color.blue, 80)col_expansion
Account Balancefloat10000account_balance
Risk Per Trade (%)float1.0risk_per_trade_pct
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 8 weeks ago · Custom licence GitHub repository of Moon Dev GEX Sweep & CVD

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 6 weeks ago · None stated GitHub repository of VP

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

Calculates higher-timeframe volume profiles to identify Value Area High (VAH), Value Area Low (VAL), and Point of Control (POC) levels directly on the price chart. It flags potential reversal setups and Change in State of Delivery (CISD) patterns relative to v

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of CandelaCharts - Value Area Reversals

Copilot

by milocaetano
48 stars

Copilot is an order flow range-reversal indicator designed to overlay trading setups directly on the price chart. It evaluates four criteria: market context (sideways vs trending regime based on ATR height), structure (double top or double bottom retests), abs

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated yesterday · MIT GitHub repository of Copilot

This indicator detects and draws the first Fair Value Gap (FVG) that forms in each hourly session based on a selected lower timeframe, with specialized handling for Regular Trading Hours (RTH) confluence windows. It draws FVG range boxes, midpoint lines, hourl

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints

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