OPEN-SOURCE SCRIPT
Diupdate TheStrat Command Center v1.5

TheStrat Command Center
TheStrat Command Center is a chart-based decision-support tool built for traders who use "The Strat" methodology created by Rob Smith (R.I.P.)
Its purpose is to organize several pieces of TheStrat information that normally have to be monitored separately — current candle structure, possible next directional setups, Full Time Frame Continuity (FTFC), entry and invalidation levels, nearby objectives, and risk-based targets — into one live dashboard.
It is not intended to predict the market or replace the trader's own interpretation of price action. The goal is to make the current Strat structure easier to read and manage.
Strat Structure
The indicator classifies price bars using the standard Strat framework:
1 - Inside bar
2U - Breaks the previous high without breaking the previous low
2D - Breaks the previous low without breaking the previous high
3 - Outside bar that breaks both sides
The prior closed candle is treated as the current setup candle. The developing candle is then evaluated against that completed setup.
The Command Center uses that relationship to identify possible structures such as:
2-2 reversals
2U or 2D continuation
2-1-2 structures
3-to-2 directional resolution
Failed 2 reversals
Both the upside and downside possibilities remain visible so the trader can see what price would need to do in either direction.
Failed 2 Recognition
Failed 2 candles are handled separately from ordinary 2 bars.
A Failed 2U must first be a true 2U and then close below its own open.
A Failed 2D must first be a true 2D and then close above its own open.
If the candle breaks both the previous high and previous low, it is classified as a "3", which overrides the Failed 2 condition.
Failed 2 markers are placed on the actual failed candle after it closes.
Full Time Frame Continuity
The indicator monitors up to six user-selected timeframes for Full Time Frame Continuity.
Each timeframe is evaluated by comparing its current price with its timeframe open:
Green = above the timeframe open
Red = below the timeframe open
Flat = at the timeframe open
Users can choose which of the six timeframes are required for FTFC.
Full bullish FTFC exists only when every required timeframe is bullish. Full bearish FTFC exists only when every required timeframe is bearish. A majority or directional lean is not treated as Full Time Frame Continuity.
An optional setting can restrict new suggested trades to setups that agree with Full FTFC. Timeframes that are displayed but not marked as required remain informational and do not block a setup.
Command Center Dashboard
The dashboard is intended to answer, at a glance:
* What is happening now?
* What was the last completed Strat candle?
* Is a reversal currently available?
* Is Full Time Frame Continuity present?
* What is the best structural play under the selected FTFC rules?
* What are the possible upside and downside plays?
* Where are the applicable entry and stop levels?
* How far is price from the next trigger?
* Where are nearby structural objectives?
* Where is price relative to the trading-session open?
The indicator includes separate Desktop and Mobile layouts. The Desktop dashboard can also hide its lower detail section to conserve chart space.
Entry, Stop and R-Based Target
For standard Strat setups, the indicator calculates a potential entry beyond the setup candle high or low using a user-selected tick offset.
The opposite side of the setup candle is used as the invalidation/stop reference.
Failed 2 reversals use a fixed rule:
* Failed 2D long: entry one minimum tick above the Failed 2D high and stop one tick below its low.
* Failed 2U short: entry one minimum tick below the Failed 2U low and stop one tick above its high.
Once the entry-to-stop distance is known, the indicator calculates a user-selected reward target from 0.5R through 5R, where 1R equals the initial entry-to-stop risk.
These levels are informational chart references and are not brokerage orders.
Waiting and Active Trade Lines
Before a setup triggers, optional dashed entry stubs show the available directional trigger levels.
If one side triggers, the opposite waiting setup is removed and the chart can display:
* Entry
* Stop
* Selected R target
The lines remain while that setup is active.
When the target or stop is reached, the active trade lines are removed automatically. A user may also manually dismiss a waiting setup or cancel the indicator's monitoring of an active setup without recording it as a target or stop result.
If both sides of the setup candle are broken by the same developing bar, the condition is treated structurally as an outside/3 bar rather than assuming a directional entry.
Session Levels and Objectives
The indicator can also display contextual price levels.
For futures, the reference trading session begins at 6:00 PM Eastern Time.
For equities, indexes and other non-futures instruments, the reference session begins at 9:30 AM Eastern Time.
The dashboard can show:
* Reference session open
* Previous session high
* Previous session low
* Recent range high and low
* Distance to the next upside or downside trigger
* Nearby prior-high or prior-low objectives
The recent-range lookback is user-adjustable.
These objective levels are contextual references. They are not predictions that price will reach those levels.
Alerts
Alert conditions are included for:
* Confirmed Failed 2U
* Confirmed Failed 2D
* Confirmed upside trigger
* Confirmed downside trigger
* Target reached
* Stop reached
Developing vs. Confirmed Information
The Command Center intentionally contains both closed-bar structural information and live developing information.
The setup itself is based on the prior completed candle. Failed 2 identification is confirmed on candle close.
The current developing candle type can change before that candle closes as new highs or lows are made.
FTFC also uses the current state of the selected higher-timeframe candles. Because those candles remain open until their respective timeframes close, their green/red state — and therefore live FTFC — can change intrabar.
Users should distinguish these live contextual readings from closed-bar confirmations.
Limitations
This is an indicator, not a TradingView strategy or backtest. It does not provide historical profitability statistics or claim that a displayed setup will be successful.
The indicator does not know the exact sequence of every price movement inside a completed historical candle. If multiple relevant levels are touched within the same bar, OHLC chart data may not reveal which price traded first.
Results and displayed structures can also vary depending on symbol, chart timeframe, market session, selected FTFC timeframes, tick offset, R target, and available chart data.
The tool is designed for standard price charts and should be interpreted alongside the trader's own analysis and risk-management process.
What Makes the Script Different
The Command Center is designed as an integrated Strat workflow rather than simply placing candle numbers on a chart.
It combines the prior closed-bar setup, live directional resolution, exact Failed 2 handling, user-defined FTFC requirements, two-sided structural possibilities, trigger/invalidation levels, R-based trade planning, session context, nearby objectives, active-setup management, alerts, and desktop/mobile presentation into a single decision hierarchy.
Its purpose is to reduce the amount of separate chart information a Strat trader has to mentally assemble while preserving the underlying price-action structure.
TheStrat Command Center is a chart-based decision-support tool built for traders who use "The Strat" methodology created by Rob Smith (R.I.P.)
Its purpose is to organize several pieces of TheStrat information that normally have to be monitored separately — current candle structure, possible next directional setups, Full Time Frame Continuity (FTFC), entry and invalidation levels, nearby objectives, and risk-based targets — into one live dashboard.
It is not intended to predict the market or replace the trader's own interpretation of price action. The goal is to make the current Strat structure easier to read and manage.
Strat Structure
The indicator classifies price bars using the standard Strat framework:
1 - Inside bar
2U - Breaks the previous high without breaking the previous low
2D - Breaks the previous low without breaking the previous high
3 - Outside bar that breaks both sides
The prior closed candle is treated as the current setup candle. The developing candle is then evaluated against that completed setup.
The Command Center uses that relationship to identify possible structures such as:
2-2 reversals
2U or 2D continuation
2-1-2 structures
3-to-2 directional resolution
Failed 2 reversals
Both the upside and downside possibilities remain visible so the trader can see what price would need to do in either direction.
Failed 2 Recognition
Failed 2 candles are handled separately from ordinary 2 bars.
A Failed 2U must first be a true 2U and then close below its own open.
A Failed 2D must first be a true 2D and then close above its own open.
If the candle breaks both the previous high and previous low, it is classified as a "3", which overrides the Failed 2 condition.
Failed 2 markers are placed on the actual failed candle after it closes.
Full Time Frame Continuity
The indicator monitors up to six user-selected timeframes for Full Time Frame Continuity.
Each timeframe is evaluated by comparing its current price with its timeframe open:
Green = above the timeframe open
Red = below the timeframe open
Flat = at the timeframe open
Users can choose which of the six timeframes are required for FTFC.
Full bullish FTFC exists only when every required timeframe is bullish. Full bearish FTFC exists only when every required timeframe is bearish. A majority or directional lean is not treated as Full Time Frame Continuity.
An optional setting can restrict new suggested trades to setups that agree with Full FTFC. Timeframes that are displayed but not marked as required remain informational and do not block a setup.
Command Center Dashboard
The dashboard is intended to answer, at a glance:
* What is happening now?
* What was the last completed Strat candle?
* Is a reversal currently available?
* Is Full Time Frame Continuity present?
* What is the best structural play under the selected FTFC rules?
* What are the possible upside and downside plays?
* Where are the applicable entry and stop levels?
* How far is price from the next trigger?
* Where are nearby structural objectives?
* Where is price relative to the trading-session open?
The indicator includes separate Desktop and Mobile layouts. The Desktop dashboard can also hide its lower detail section to conserve chart space.
Entry, Stop and R-Based Target
For standard Strat setups, the indicator calculates a potential entry beyond the setup candle high or low using a user-selected tick offset.
The opposite side of the setup candle is used as the invalidation/stop reference.
Failed 2 reversals use a fixed rule:
* Failed 2D long: entry one minimum tick above the Failed 2D high and stop one tick below its low.
* Failed 2U short: entry one minimum tick below the Failed 2U low and stop one tick above its high.
Once the entry-to-stop distance is known, the indicator calculates a user-selected reward target from 0.5R through 5R, where 1R equals the initial entry-to-stop risk.
These levels are informational chart references and are not brokerage orders.
Waiting and Active Trade Lines
Before a setup triggers, optional dashed entry stubs show the available directional trigger levels.
If one side triggers, the opposite waiting setup is removed and the chart can display:
* Entry
* Stop
* Selected R target
The lines remain while that setup is active.
When the target or stop is reached, the active trade lines are removed automatically. A user may also manually dismiss a waiting setup or cancel the indicator's monitoring of an active setup without recording it as a target or stop result.
If both sides of the setup candle are broken by the same developing bar, the condition is treated structurally as an outside/3 bar rather than assuming a directional entry.
Session Levels and Objectives
The indicator can also display contextual price levels.
For futures, the reference trading session begins at 6:00 PM Eastern Time.
For equities, indexes and other non-futures instruments, the reference session begins at 9:30 AM Eastern Time.
The dashboard can show:
* Reference session open
* Previous session high
* Previous session low
* Recent range high and low
* Distance to the next upside or downside trigger
* Nearby prior-high or prior-low objectives
The recent-range lookback is user-adjustable.
These objective levels are contextual references. They are not predictions that price will reach those levels.
Alerts
Alert conditions are included for:
* Confirmed Failed 2U
* Confirmed Failed 2D
* Confirmed upside trigger
* Confirmed downside trigger
* Target reached
* Stop reached
Developing vs. Confirmed Information
The Command Center intentionally contains both closed-bar structural information and live developing information.
The setup itself is based on the prior completed candle. Failed 2 identification is confirmed on candle close.
The current developing candle type can change before that candle closes as new highs or lows are made.
FTFC also uses the current state of the selected higher-timeframe candles. Because those candles remain open until their respective timeframes close, their green/red state — and therefore live FTFC — can change intrabar.
Users should distinguish these live contextual readings from closed-bar confirmations.
Limitations
This is an indicator, not a TradingView strategy or backtest. It does not provide historical profitability statistics or claim that a displayed setup will be successful.
The indicator does not know the exact sequence of every price movement inside a completed historical candle. If multiple relevant levels are touched within the same bar, OHLC chart data may not reveal which price traded first.
Results and displayed structures can also vary depending on symbol, chart timeframe, market session, selected FTFC timeframes, tick offset, R target, and available chart data.
The tool is designed for standard price charts and should be interpreted alongside the trader's own analysis and risk-management process.
What Makes the Script Different
The Command Center is designed as an integrated Strat workflow rather than simply placing candle numbers on a chart.
It combines the prior closed-bar setup, live directional resolution, exact Failed 2 handling, user-defined FTFC requirements, two-sided structural possibilities, trigger/invalidation levels, R-based trade planning, session context, nearby objectives, active-setup management, alerts, and desktop/mobile presentation into a single decision hierarchy.
Its purpose is to reduce the amount of separate chart information a Strat trader has to mentally assemble while preserving the underlying price-action structure.
Catatan Rilis
Version 2.0 UpdateTheStrat Command Center v2.0 expands the original Command Center with more flexible trade management, clearer Full Time Frame Continuity controls, and improved chart/table customization.
Key changes:
Added user-defined maximum bars in a trade. If neither the stop nor target is reached, the trade can close automatically at the closing price of the selected holding-period bar.
Added trade outcome tracking for target, stop, and time-based exits, including entry price, exit price, ticks gained/lost, and R result.
Expanded trade-management choices:
Structure-based stop or user-defined stop distance.
R-multiple targets from 0.5R through 5R or a user-defined target distance.
Improved Full Time Frame Continuity configuration. Users can independently select which displayed timeframes are required for FTFC.
The FTFC trade filter now has no effect unless at least one timeframe is designated as required.
Added clearer distinction between FULL FTFC, partial alignment, and counter-FTFC structural opportunities.
Added confirmed Failed 2U / Failed 2D recognition using the completed candle, with a completed outside bar classified as a 3.
Failed 2 entries use the Failed 2 candle itself: one tick beyond its high/low as applicable.
Added Desktop and compact Mobile dashboard modes.
Added user controls for dashboard size, location, colors, transparency, and chart-label sizing.
Added an option to hide the lower detail section of the Desktop dashboard to conserve chart space.
Improved tentative setup lines and active Entry / Stop / Target line management. Completed trades automatically remove their active trade lines.
Futures session context uses the 6:00 PM ET futures open; equities and indexes use the 9:30 AM ET open.
Removed the prior manual trade-dismissal control in favor of deterministic stop, target, and optional time-based trade exits.
Notes:
The Command Center is intended to organize TheStrat price structure, possible trade setups, FTFC context, and user-defined trade-management levels. Higher-timeframe continuity values may change while their respective candles are still developing.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.