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
CRT State Engine - LuxAlgo SMC Order Blocks detects internal and swing order blocks, market structure transitions, change in structure direction, liquidity sweeps, and session phases across specific New York trading windows. Users can configure pivot strength, order block detection styles, entry scoring thresholds, session models, and multi-pair correlation tracking. Signals are generated when market structure aligns with liquidity sweeps and directional bias. Note that historical drawings are constrained by Pine Script display limits.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
🕐 Timezone for CRT Models
string
America/New_York
timezone_mode
Show Timezone Info on Chart
bool
true
show_timezone_info
9PM NY Overnight Model
bool
true
enable_9pm_crt
1AM NY Model
bool
true
enable_1am_crt
5AM NY Model
bool
true
enable_5am_crt
9AM NY Model
bool
true
enable_9am_crt
CISD Detection Method
string
Liquidity Sweep
cisd_detection_method
Order Block Method
string
Strict (Cursor)
ob_detection_method
Enable DOL Analysis Engine
bool
true
enable_dol_engine
DOL Pivot Strength
int
10
pivot_strength
Enable Session State Machine
bool
true
enable_session_engine
Enable Live Entry Signals
bool
true
enable_entry_engine
Show all 40 settings
Setting
Type
Default
Variable
Debug Mode (Show All States)
bool
false
enable_debug_mode
Enable Market Structure Analysis
bool
true
enable_market_structure
Enable Liquidity Pool Detection
bool
true
enable_liquidity_pools
Enable Volume Profile Analysis
bool
true
enable_volume_profile
Enable Multi-Pair Correlation
bool
true
enable_correlation
Enable Risk Management
bool
true
enable_risk_management
Enable Performance Tracking
bool
true
enable_performance_tracking
Correlation Pair 1
symbol
GBPUSD
sym1
Correlation Pair 2
symbol
AUDUSD
sym2
Monitor CBDR (13:00 NY)
bool
true
monitor_cbdr
Monitor Asia (17:00 NY)
bool
true
monitor_asia
Monitor London (03:00 NY)
bool
true
monitor_london
Monitor London Lunch (05:00 NY)
bool
true
monitor_lunch
Monitor NY Open (09:00 NY)
bool
true
monitor_ny
🎯 Entry Bias Source
string
Macro DOL Bias Only
entry_bias_source
Take-Profit Method
string
Dynamic (Cursor)
tp_calculation_method
Risk:Reward Ratio (for Fixed R:R)
float
2.0
risk_reward_ratio
Minimum Entry Score (0-100)
int
60
min_entry_score
Internal Order Blocks
bool
true
showInternalOrderBlocksInput
Internal OB Count
int
5
internalOrderBlocksSizeInput
Swing Order Blocks
bool
true
showSwingOrderBlocksInput
Swing OB Count
int
5
swingOrderBlocksSizeInput
Order Block Filter
string
Atr
orderBlockFilterInput
Order Block Mitigation
string
High/Low
orderBlockMitigationInput
Internal Bullish OB
color
color.new(#3179f5, 80)
internalBullishOrderBlockColor
Internal Bearish OB
color
color.new(#f77c80, 80)
internalBearishOrderBlockColor
Swing Bullish OB
color
color.new(#1848cc, 80)
swingBullishOrderBlockColor
Swing Bearish OB
color
color.new(#b22833, 80)
swingBearishOrderBlockColor
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 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
This Pine Script indicator plots a ZigZag on the price chart. It identifies reversal points when price moves more than a set percentage from the last pivot. The script calculates forecasts using zigzag data and labels detected geometric patterns including harm
This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds
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
Indicatorv6SMC / ICT / price actionSessions & time
This indicator implements the Fractal Model concept to plot market structure shifts, liquidity sweeps, and Change in State of Delivery (CISD) levels. It overlays custom higher-timeframe candle previews, open prices, and time markers directly on the price chart