<!-- Site: TWM Exit Optimization | Version: v1.8.1 | Updated: 2026-04-19 -->

# Results Report — Strategy v9.9.9 | @ES TF6 Long | 2026-04-17 | step=6 (max_count=36) | Trades=2 | PnL=+26.25 pts

**Created:** 2026-04-19 23:15
**Strategy version:** v9.9.9
**Config variant:** exit_counter step=6, max_count=36 (6 ranges x step)
**Config file on disk:** `config_2_indicators_v5_6_0.json`
**Replay date:** 2026-04-17
**Instrument:** @ES (E-mini S&P 500 Futures)
**Bar duration:** 1-second (1-min aggregated)
**Direction:** Long

---

## Index

- [Premarket Price Levels](#premarket-price-levels)
- [Section 1 — PnL / Trade History](#section-1--pnl--trade-history)
- [Section 2 — Per-Trade Analysis](#section-2--per-trade-analysis)
  - [Trade 1](#trade-1)
  - [Trade 2](#trade-2)
- [Section 3 — Workflow Pedigree](#section-3--workflow-pedigree)
- [Section 4 — Config Settings at Test Time](#section-4--config-settings-at-test-time)
  - [4.1: config_2_indicators_v5_6_0.json](#41-config_2_indicators_v5_6_0json-v560)
  - [4.2: config_3_time_zones_v5_1_0.json](#42-config_3_time_zones_v5_1_0json-v510)
  - [4.3: config_4_stop_loss_long_v5_3_0.json](#43-config_4_stop_loss_long_v5_3_0json-v530)
  - [4.4: config_5_strategy_long_v1_7_6.json](#44-config_5_strategy_long_v1_7_6json-v176)
  - [4.5: config_6_profit_target_long_v1_0_0.json](#45-config_6_profit_target_long_v1_0_0json-v100)
  - [4.6: config_7_limit_order_long_v1_0_0.json](#46-config_7_limit_order_long_v1_0_0json-v101)

### Premarket Price Levels

| Level | Price | Window |
|-------|-------|--------|
| Prior Day Close | 7076.50 | — |
| Premarket High | 7147.50 | 08:00–09:29 ET |
| Market Open | 7121.50 | 09:31 open |
| Premarket Low | 7099.50 | 08:00–09:29 ET |

---

## Section 1 — PnL / Trade History

| Trade # | Entry Bar | Entry Time | Entry Price | Entry Transition | Exit Bar | Exit Time | Exit Price | Exit Transition (From State) | PnL (pts) | PnL ($) |
|---------|-----------|------------|-------------|------------------|----------|-----------|------------|------------------------------|-----------|---------|
| 1 | 5 | 10:04:22 | 7148.75 | t_110_trade_entry_submitted | 14 | 10:57:46 | 7169.00 | t_226_exit_profit_target_count (State09_YELLOW) | +20.25 | +$1012 |
| 2 | 27 | 12:12:00 | 7177.25 | t_110_trade_entry_submitted | 35 | 13:03:00 | 7183.25 | t_226_exit_profit_target_count (State11_RED) | +6.00 | +$300 |
| **TOTAL** | | | | | | | | | **+26.25** | **+$1312** |
**Record:** 2W / 0L
**Avg profit:** +13.12 pts | **Max loss:** +6.00 pts | **Avg duration:** 8.5 min | **Win rate:** 100.0%

---

## Section 2 — Per-Trade Analysis

> *Source: `intra_bar_transitions` from `strategy.get_bar_results()`.*

### Trade 1
**Entry 10:04:22 -> Exit 10:57:46 | +20.25 pts | 9 min | Entry offset at fill: ?pts | Max exit_counter: 0 | Max potential profit: +22.75 pts**

#### Diagnostic Log

| Bar | Timestamp | Chain | Transition # | Transition Name | From State | To State | Price |
|-----|-----------|-------|--------------|-----------------|------------|----------|-------|
| 4 | 09:54:00 | 1/1 | 50 | `t_50_bear_trend_met` | State01_WAIT_BEAR_TREND | State02_WAIT_BULL_SHIFT | 7137.75 |
| 5 | 10:00:00 | 1/3 | 60 | `t_60_bull_shift_met` | State02_WAIT_BULL_SHIFT | State03_WAIT_MA_CROSS | 7143.00 |
| 5 | 10:00:00 | 2/3 | 70 | `t_70_ma_bull_cross` | State03_WAIT_MA_CROSS | State04_WAIT_INDICATORS | 7143.00 |
| 5 | 10:00:00 | 3/3 | 80 | `t_80_all_indicators_confirmed` | State04_WAIT_INDICATORS | State05_WAIT_RETEST | 7143.00 |
| 6 | 10:04:22 | 1/2 | 93 | `t_93_lwr_high_bypass` | State05_WAIT_RETEST | State07_ENTRY_GATE | 7148.75 |
| 6 | 10:04:22 | 2/2 | 110 | `t_110_trade_entry_submitted` | State07_ENTRY_GATE | State09_YELLOW | 7148.75 |
| 15 | 10:55:48 | 1/24 | 210 | `t_210_count_criteria [ma]` | State09_YELLOW | State09_YELLOW | 7164.50 |
| 15 | 10:56:07 | 16/24 | 230 | `t_230_offset_change` | State09_YELLOW | State09_YELLOW | 7164.00 |
| 15 | 10:57:46 | 24/24 | 226 | `t_226_exit_profit_target_count` | State09_YELLOW | State01_WAIT_BEAR_TREND | 7169.00 |

#### AI Summary

**1. What happened:** Trade 1 entered via `t_110_trade_entry_submitted` at 10:04:22, exited via `EXIT_PROFIT_TARGET_COUNT` at 10:57:46 for +20.25 pts. Exit counter peaked at 0 during this trade.
**2. Entry quality:** Good — entry at 7148.75, initial stop at 7138.75.
**3. Exit quality:** Good — `EXIT_PROFIT_TARGET_COUNT` at 7169.00.
**4. Strategy improvement candidates:**
- step=6 (max_count=36): assess exit tolerance adequacy for this trade.
- Compare vs step=0 baseline: did the counter allow a better exit?
- max_ec=0: verify counter entered tightening range before exit fired.
**5. Risk notes:** Config step=6, max_count=36. Exit counter active throughout trade lifecycle.

### Trade 2
**Entry 12:12:00 -> Exit 13:03:00 | +6.00 pts | 8 min | Entry offset at fill: ?pts | Max exit_counter: 87 | Max potential profit: +6.75 pts**

#### Diagnostic Log

| Bar | Timestamp | Chain | Transition # | Transition Name | From State | To State | Price |
|-----|-----------|-------|--------------|-----------------|------------|----------|-------|
| 27 | 12:12:00 | 1/2 | 93 | `t_93_lwr_high_bypass` | State01_WAIT_BEAR_TREND | State07_ENTRY_GATE | 7177.25 |
| 27 | 12:12:00 | 2/2 | 110 | `t_110_trade_entry_submitted` | State07_ENTRY_GATE | State09_YELLOW | 7177.25 |
| 29 | 12:18:06 | 1/1 | 202 | `t_202_yellow_to_red` | State09_YELLOW | State11_RED | 7171.75 |
| 35 | 12:56:56 | 1/31 | 210 | `t_210_count_criteria [ma]` | State11_RED | State11_RED | 7181.50 |
| 35 | 12:57:48 | 11/31 | 230 | `t_230_offset_change` | State11_RED | State11_RED | 7181.75 |
| 35 | 12:59:40 | 22/31 | 230 | `t_230_offset_change` | State11_RED | State11_RED | 7181.25 |
| 36 | 13:00:31 | 2/18 | 230 | `t_230_offset_change` | State11_RED | State11_RED | 7181.50 |
| 36 | 13:01:01 | 13/18 | 230 | `t_230_offset_change` | State11_RED | State11_RED | 7181.25 |
| 36 | 13:03:00 | 18/18 | 226 | `t_226_exit_profit_target_count` | State11_RED | State01_WAIT_BEAR_TREND | 7183.25 |

#### AI Summary

**1. What happened:** Trade 2 entered via `t_110_trade_entry_submitted` at 12:12:00, exited via `EXIT_PROFIT_TARGET_COUNT` at 13:03:00 for +6.00 pts. Exit counter peaked at 87 during this trade.
**2. Entry quality:** Good — entry at 7177.25, initial stop at 7167.25.
**3. Exit quality:** Good — `EXIT_PROFIT_TARGET_COUNT` at 7183.25.
**4. Strategy improvement candidates:**
- step=6 (max_count=36): assess exit tolerance adequacy for this trade.
- Compare vs step=0 baseline: did the counter allow a better exit?
- max_ec=87: verify counter entered tightening range before exit fired.
**5. Risk notes:** Config step=6, max_count=36. Exit counter active throughout trade lifecycle.

---

## Section 3 — Workflow Pedigree

### 3.1 Pipeline Scripts

| Script | Version | Role |
|--------|---------|------|
| `strategy_v9_9_9.py` | v9.9.9 | StrategyRunner — entry/exit orchestration |
| `long_strategy_v1_12_6.py` | vv1_12_6 | LongOrchestrator — entry/exit state machine |
| `results_report_v1_8_1.py` | 1.8.1 | Results report generator |

### 3.2 Supporting Modules

| Module | Role |
|--------|------|
| `bar_source_v9_0_1.py` | CSV replay bar source |
| `bar_aggregator_v9_2_1.py` | 1-sec to N-min bar aggregation |
| `indicator_manager_v9_0_1.py` | Indicator calculation management |
| `trading_authorized_v9_0_0.py` | Trading authorization |

### 3.3 Config JSONs

| File | Version | Description |
|------|---------|-------------|
| `config_2_indicators_v5_6_0.json` | 5.6.0 | 20260418_TWM_combine_Debug_higher_tf |
| `config_3_time_zones_v5_1_0.json` | 5.1.0 | 20260411_TWM_1sec_debug_try_v9_trial2 |
| `config_4_stop_loss_long_v5_3_0.json` | 5.3.0 | 20260411_TWM_1sec_debug_try_v9_trial2 |
| `config_5_strategy_long_v1_7_6.json` | 1.7.6 | Strategy execution config â€” ticker/TF scope, trading mode, session times, transition guards, profit target config, output controls. |
| `config_6_profit_target_long_v1_0_0.json` | 1.0.0 | Profit target configuration for TWM long strategy. Contains Type 1 (premarket resistance limit) and Type 2 (exit counter tightening) profit target parameters. See profit_target_workflow_v1_0_0.md for full logic. |
| `config_7_limit_order_long_v1_0_0.json` | 1.0.1 | Limit order entry configuration for TWM long strategy. Controls the progressive limit order placed below breakout price in state long_06_WAIT_BREAKOUT. See limit_order_workflow_v1_0_0.md for full logic. |

---

## Section 4 — Config Settings at Test Time

> Source: `2_Inputs/3_jsons/`

### 4.1: `config_2_indicators_v5_6_0.json` (v5.6.0)

| Key | Value |
|-----|-------|
| **indicator_dependencies** | |
| &nbsp;&nbsp;`calcShiftDotLevel` | MovingAverageArrayCalculator, calcEnergy, calcVelocityRSI, calcWyckoff |
| &nbsp;&nbsp;`calcBreakoutTWM` | calcCandleCount |
| &nbsp;&nbsp;`calcMorningTrade` | calcBreakoutTWM, calcTradingAuthorized |
| **indicator_properties** | |
| &nbsp;&nbsp;`calcTradingAuthorized` | `version`: 2.1<br>`description`: Determines if timestamps fall within authorized trading time zones<br>`approved_times`: trade_1, trade_2, lunch, trade_3, trade_4<br>`entry_approved_times`: trade_1, trade_2, lunch, trade_3<br>`time_zones`: `pre_session`: {...4 keys}<br>`open`: {...4 keys}<br>`trade_1`: {...4 keys}<br>`trade_2`: {...4 keys}<br>`lunch`: {...4 keys}<br>`trade_3`: {...4 keys}<br>`trade_4`: {...4 keys}<br>`after_hours`: {...4 keys}<br>`closed`: {...4 keys}<br>`timezone`: US/Eastern |
| &nbsp;&nbsp;`calcTrendCounter` | `version`: 2.1<br>`description`: Rolling window trend analysis using 8-bar lookback with sequential counting<br>`lookbackPeriod`: 8<br>`limitPriceDiff`: 0.01<br>`bull_trendCount_Percent`: 10.0<br>`bear_trendCount_Percent`: -10.0<br>`bull_trendCount_Limit`: 2<br>`bear_trendCount_Limit`: 2 |
| &nbsp;&nbsp;`calcCandleCount` | `version`: 2.2<br>`description`: Green/red candle pattern detection using rolling window<br>`lookbackPeriod`: 3<br>`limitCount`: 1 |
| &nbsp;&nbsp;`MovingAverageArrayCalculator` | `version`: 2.2<br>`description`: Multiple EMAs with crossover detection, MA position flags, and trend alignment. Periods vary by ticker and timeframe.<br>`tickers`: `tradeTicker`: `@ES`: `tf1`: 3, 5, 8<br>`tf2`: 3, 5, 8<br>`tf3`: 3, 5, 8<br>`tf4`: 5, 10, 8<br>`tf5`: 5, 10, 8<br>`tf6`: 5, 10, 8<br>`@NQ`: `tf1`: 3, 5, 8<br>`tf2`: 3, 5, 8<br>`tf3`: 3, 5, 8<br>`tf4`: 5, 10, 8<br>`tf5`: 5, 10, 8<br>`tf6`: 5, 10, 8<br>`$ADD`: `@ES`: `tf1`: 3, 8<br>`tf2`: 3, 8<br>`tf3`: 3, 8<br>`tf4`: 3, 8<br>`tf5`: 3, 8<br>`tf6`: 3, 8<br>`@NQ`: `tf1`: 3, 8<br>`tf2`: 3, 8<br>`tf3`: 3, 8<br>`tf4`: 3, 8<br>`tf5`: 3, 8<br>`tf6`: 3, 8<br>`$VIX.X`: `@ES`: `tf1`: 3, 8<br>`tf2`: 3, 8<br>`tf3`: 3, 8<br>`tf4`: 3, 8<br>`tf5`: 3, 8<br>`tf6`: 3, 8<br>`@NQ`: `tf1`: 3, 8<br>`tf2`: 3, 8<br>`tf3`: 3, 8<br>`tf4`: 3, 8<br>`tf5`: 3, 8<br>`tf6`: 3, 8<br>`$TICK`: `@ES`: `tf1`: 3, 8<br>`tf2`: 3, 8<br>`tf3`: 3, 8<br>`tf4`: 3, 8<br>`tf5`: 3, 8<br>`tf6`: 3, 8<br>`@NQ`: `tf1`: 3, 8<br>`tf2`: 3, 8<br>`tf3`: 3, 8<br>`tf4`: 3, 8<br>`tf5`: 3, 8<br>`tf6`: 3, 8 |
| &nbsp;&nbsp;`calcShiftDotLevel` | `version`: 3.2<br>`description`: Weighted ShiftTotal summation of 7 components (Energy, Wyckoff, $ADD MA, $ADD Cls, invVIX MA, $TICK Cls, RSI_lt). Range: -7 to +7.<br>`adspd_threshold`: 50<br>`tick_threshold`: 200<br>`rsi_period`: 7<br>`rsi_ema_period`: 8 |
| &nbsp;&nbsp;`calcWyckoff` | `version`: 2.1<br>`description`: Wyckoff Wave tracking direction and volume accumulation<br>`trend_length`: 5 |
| &nbsp;&nbsp;`calcVelocityRSI` | `version`: 2.3<br>`description`: RSI with 8-period EMA, RSILongTerm_flag, and momentum detection<br>`period`: 7<br>`rsi_ma_period`: 8<br>`rateDecay`: 0.2222222222222222 |
| &nbsp;&nbsp;`calcEnergy` | `version`: 2.1<br>`description`: Energy indicator with TEMA bands and threshold detection<br>`tema_period`: 13<br>`atr_period`: 13<br>`atr_multiplier`: 0.75 |
| &nbsp;&nbsp;`calcCycleOscillator` | `version`: 2.0<br>`description`: Multi-timeframe Stochastic RSI cycle oscillator<br>`cycle_1`: `rsi_length_c1`: 55<br>`stoc_length_c1`: 34<br>`wma_length_c1`: 34<br>`stoch_rsi_c1_mult`: 1.5<br>`cycle_2`: `rsi_length_c2`: 34<br>`stoc_length_c2`: 21<br>`wma_length_c2`: 21<br>`stoch_rsi_c2_mult`: 0.5<br>`cycle_3`: `rsi_length_c3`: 21<br>`stoc_length_c3`: 13<br>`wma_length_c3`: 13<br>`stoch_rsi_c3_mult`: 0.25<br>`tema_atr`: `length_tema`: 21<br>`atr_length`: 14<br>`atr_mult`: 1.0<br>`swing`: `num_swings_to_use`: 5<br>`swing_wing`: 4<br>`near_up_down_turn`: 10.0 |
| &nbsp;&nbsp;`LWR123Calculator` | `version`: 2.2<br>`description`: LWR 1-2-3 reversal pattern detection with HOLB/LOHB breakouts<br>`num_bars`: 21<br>`break_limit`: 4<br>`lohb_offset`: 0.0<br>`holb_offset`: 0.0 |
| &nbsp;&nbsp;`calcBreakoutTWM` | `version`: 3.1<br>`description`: State-based breakout detection with dual independent state machines and breakout_offset<br>`fast_MA_period`: 3<br>`slow_MA_period`: 5<br>`breakout_offset`: 0.25 |
| &nbsp;&nbsp;`calcMorningTrade` | `version`: 2.4<br>`description`: Morning trade momentum detector for open and trade_1 zones<br>`fast_MA_period`: 3<br>`slow_MA_period`: 5<br>`MA_velocity_limit`: 1.5<br>`consecutive_limit`: 5 |
| &nbsp;&nbsp;`PreMarketComparisonCalculator` | `version`: 2.1<br>`description`: Price position relative to pre-market high, low, and session start<br>`limit_tradeProhibit`: 0.02 |

### 4.2: `config_3_time_zones_v5_1_0.json` (v5.1.0)

| Key | Value |
|-----|-------|
| **time_zones** | |
| &nbsp;&nbsp;`pre_session` | `start`: 08:00<br>`end`: 09:30<br>`description`: Pre-market session - same-day premarket (08:00-09:30)<br>`isAuthorized`: false |
| &nbsp;&nbsp;`open` | `start`: 09:30<br>`end`: 09:50<br>`description`: Market open window<br>`isAuthorized`: false |
| &nbsp;&nbsp;`trade_1` | `start`: 09:50<br>`end`: 10:00<br>`description`: Morning trading session<br>`isAuthorized`: true |
| &nbsp;&nbsp;`trade_2` | `start`: 10:00<br>`end`: 12:05<br>`description`: Morning trading session<br>`isAuthorized`: true |
| &nbsp;&nbsp;`lunch` | `start`: 12:05<br>`end`: 12:35<br>`description`: Lunch trading session<br>`isAuthorized`: true |
| &nbsp;&nbsp;`trade_3` | `start`: 12:35<br>`end`: 15:45<br>`description`: Afternoon trading session<br>`isAuthorized`: true |
| &nbsp;&nbsp;`trade_4` | `start`: 15:45<br>`end`: 15:56<br>`description`: Market close trading window<br>`isAuthorized`: true |
| &nbsp;&nbsp;`after_hours` | `start`: 15:56<br>`end`: 17:00<br>`description`: After hours trading<br>`isAuthorized`: false |
| &nbsp;&nbsp;`closed` | `start`: 17:00<br>`end`: 18:00<br>`description`: Market closed - no trading<br>`isAuthorized`: false |
| `approved_times` | trade_1, trade_2, lunch, trade_3, trade_4 |
| `trade_approved_times` | trade_1, trade_2, lunch, trade_3, trade_4 |
| `entry_approved_times` | trade_1, trade_2, lunch, trade_3 |
| `timezone` | US/Eastern |
| `notes` | All times are in EST (Eastern Standard Time) using 24-hour format, pre_session: 6:00 PM - 9:30 AM (15.5 hours) - overnight trading, open: 9:30 AM - 9:38 AM (8 minutes) - market open window, trade_1: 9:38 AM - 10:00 AM (22 minutes) - morning session, trade_2: 10:00 AM - 12:05 PM (2.08 hours) - morning session, lunch: 12:05 PM - 12:35 PM (30 minutes) - lunch session, trade_3: 12:35 PM - 3:45 PM (3.17 hours) - afternoon session, trade_4: 3:45 PM - 3:56 PM (11 minutes) - market close window, after_hours: 3:56 PM - 5:00 PM (1.07 hours) - after hours, closed: 5:00 PM - 6:00 PM (1 hour) - market closed, Total authorized trading: 6.0 hours per day |

### 4.3: `config_4_stop_loss_long_v5_3_0.json` (v5.3.0)

| Key | Value |
|-----|-------|
| **stop_loss_config** | |
| &nbsp;&nbsp;`type_2_isActive` | true |
| &nbsp;&nbsp;`type_3_isActive` | true |
| &nbsp;&nbsp;`type_1_offset` | `@ES`: `tf1`: 1<br>`tf2`: 1<br>`tf3`: 1<br>`tf4`: 1<br>`tf5`: 1<br>`tf6`: 1<br>`@NQ`: `tf1`: 3<br>`tf2`: 3<br>`tf3`: 3<br>`tf4`: 3<br>`tf5`: 3<br>`tf6`: 3 |
| &nbsp;&nbsp;`type_2_profit_limit` | `@ES`: `tf1`: 6<br>`tf2`: 6<br>`tf3`: 6<br>`tf4`: 6<br>`tf5`: 6<br>`tf6`: 6<br>`@NQ`: `tf1`: 18<br>`tf2`: 18<br>`tf3`: 18<br>`tf4`: 18<br>`tf5`: 18<br>`tf6`: 18 |
| &nbsp;&nbsp;`type_2_offset` | `@ES`: `tf1`: 1<br>`tf2`: 1<br>`tf3`: 1<br>`tf4`: 1<br>`tf5`: 1<br>`tf6`: 1<br>`@NQ`: `tf1`: 3<br>`tf2`: 3<br>`tf3`: 3<br>`tf4`: 3<br>`tf5`: 3<br>`tf6`: 3 |
| &nbsp;&nbsp;`type_3_offset` | `@ES`: `tf1`: 0.25<br>`tf2`: 0.25<br>`tf3`: 0.25<br>`tf4`: 0.25<br>`tf5`: 0.25<br>`tf6`: 0.25<br>`@NQ`: `tf1`: 0.25<br>`tf2`: 0.25<br>`tf3`: 0.25<br>`tf4`: 0.25<br>`tf5`: 0.25<br>`tf6`: 0.25 |
| &nbsp;&nbsp;`max_initial_stop_distance` | `@ES`: `tf1`: 10<br>`tf2`: 10<br>`tf3`: 10<br>`tf4`: 10<br>`tf5`: 10<br>`tf6`: 10<br>`@NQ`: `tf1`: 30<br>`tf2`: 30<br>`tf3`: 30<br>`tf4`: 30<br>`tf5`: 30<br>`tf6`: 30 |

### 4.4: `config_5_strategy_long_v1_7_6.json` (v1.7.6)

| Key | Value |
|-----|-------|
| `ticker` | @ES |
| `timeframe` | 1 |
| `account_type` | paper |
| `paper_mode` | true |
| `market_open` | 09:30 |
| `market_close` | 16:00 |
| `timezone` | America/New_York |
| `SAFETY_NOTICE` | This config is for PAPER TRADING ONLY. account_type MUST be 'paper'. |
| `setup_counter_exit_limit` | 12 |
| `setup_counter_velocity_limit` | 3 |
| **lhp_threshold_points** | |
| &nbsp;&nbsp;`@ES` | 1.0 |
| &nbsp;&nbsp;`@NQ` | 1.0 |
| **transition_guards** | |
| &nbsp;&nbsp;`t_50_bear_trend_met_isActive` | true |
| &nbsp;&nbsp;`t_60_bull_shift_met_isActive` | true |
| &nbsp;&nbsp;`t_61_bear_setup_reset_isActive` | true |
| &nbsp;&nbsp;`t_51_velocity_entry_s01_isActive` | false |
| &nbsp;&nbsp;`t_70_ma_bull_cross_isActive` | true |
| &nbsp;&nbsp;`t_71_velocity_entry_s03_isActive` | false |
| &nbsp;&nbsp;`t_80_all_indicators_confirmed_isActive` | true |
| &nbsp;&nbsp;`t_81_velocity_entry_s04_isActive` | true |
| &nbsp;&nbsp;`t_90_ma_retest_touched_isActive` | true |
| &nbsp;&nbsp;`t_91_midbar_retest_touched_isActive` | true |
| &nbsp;&nbsp;`t_92_velocity_entry_s05_isActive` | true |
| &nbsp;&nbsp;`t_93_lwr_high_bypass_isActive` | true |
| &nbsp;&nbsp;`t_94_skip_retest_multi_tf_isActive` | true |
| &nbsp;&nbsp;`t_100_breakout_level_hit_isActive` | true |
| &nbsp;&nbsp;`t_101_velocity_entry_s06_isActive` | true |
| &nbsp;&nbsp;`t_102_skip_breakout_multi_tf_isActive` | true |
| &nbsp;&nbsp;`t_103_breakout_limit_entry_isActive` | false |
| &nbsp;&nbsp;`t_111_entry_blocked_isActive` | true |
| &nbsp;&nbsp;`t_10_entry_window_closed_isActive` | true |
| &nbsp;&nbsp;`t_30_setup_expired_isActive` | true |
| &nbsp;&nbsp;`t_200_exit_session_close_isActive` | true |
| &nbsp;&nbsp;`t_220_exit_session_close_isActive` | true |
| &nbsp;&nbsp;`t_221_exit_hard_stop_isActive` | true |
| &nbsp;&nbsp;`t_211_count_ma_isActive` | true |
| &nbsp;&nbsp;`t_222_exit_ma_isActive` | true |
| &nbsp;&nbsp;`t_212_count_lwr_isActive` | false |
| &nbsp;&nbsp;`t_223_exit_lwr_isActive` | true |
| &nbsp;&nbsp;`t_200_yellow_to_green_isActive` | true |
| &nbsp;&nbsp;`t_202_yellow_to_red_isActive` | true |
| &nbsp;&nbsp;`t_213_count_premarket_s09_isActive` | true |
| &nbsp;&nbsp;`t_224_exit_premarket_s09_isActive` | true |
| &nbsp;&nbsp;`t_201_green_to_yellow_isActive` | true |
| &nbsp;&nbsp;`t_214_count_premarket_s11_isActive` | true |
| &nbsp;&nbsp;`t_225_exit_premarket_s11_isActive` | true |
| &nbsp;&nbsp;`t_203_red_to_yellow_isActive` | true |
| &nbsp;&nbsp;`t_230_offset_change_isActive` | true |
| &nbsp;&nbsp;`t_226_exit_profit_target_count_isActive` | true |
| **profit_target_config** | |
| &nbsp;&nbsp;`_description` | Profit target parameters. premarket_profit_target_offset is the spread below the nearest premarket resistance level above entry at which the profit target is set (Long: target = resistance - offset). |
| &nbsp;&nbsp;`premarket_profit_target_offset` | `@ES`: `tf1`: 1<br>`tf2`: 1<br>`tf3`: 1<br>`tf4`: 1<br>`tf5`: 1<br>`tf6`: 1<br>`@NQ`: `tf1`: 3<br>`tf2`: 3<br>`tf3`: 3<br>`tf4`: 3<br>`tf5`: 3<br>`tf6`: 3 |
| &nbsp;&nbsp;`breakout_offset` | `@ES`: `tf1`: 0.25<br>`tf2`: 0.25<br>`tf3`: 0.25<br>`tf4`: 0.25<br>`tf5`: 0.25<br>`tf6`: 0.25<br>`@NQ`: `tf1`: 0.25<br>`tf2`: 0.25<br>`tf3`: 0.25<br>`tf4`: 0.25<br>`tf5`: 0.25<br>`tf6`: 0.25 |
| &nbsp;&nbsp;`ticker_config` | `@ES`: `dollars_per_point`: 50.0<br>`default_slippage_points`: 0.35<br>`@NQ`: `dollars_per_point`: 20.0<br>`default_slippage_points`: 0.4 |
| **post_replay_outputs** | |
| &nbsp;&nbsp;`_description` | Controls what is written to disk after a replay run completes. All paths relative to project root. |
| &nbsp;&nbsp;`write_indicator_json` | true |
| &nbsp;&nbsp;`write_consolidated_json` | true |
| &nbsp;&nbsp;`indicator_isPlot` | true |
| &nbsp;&nbsp;`strategy_isPlot` | true |
| &nbsp;&nbsp;`json_output_dir` | 3_Outputs/3_jsons/indicator_test |
| &nbsp;&nbsp;`twm_indicators_dir` | 3_Outputs/3_jsons/3_twm_indicators |
| &nbsp;&nbsp;`strategy_output_dir` | 3_Outputs/3_jsons/4_strategies |
| &nbsp;&nbsp;`plot_output_dir` | 3_Outputs/5_plots |
| &nbsp;&nbsp;`plot_start_time` | 09:30 |
| &nbsp;&nbsp;`plot_end_time` | 16:00 |

### 4.5: `config_6_profit_target_long_v1_0_0.json` (v1.0.0)

| Key | Value |
|-----|-------|
| **profit_target_config** | |
| &nbsp;&nbsp;`premarket_profit_target_offset` | `@ES`: `tf1`: 1<br>`tf2`: 1<br>`tf3`: 1<br>`tf4`: 1<br>`tf5`: 1<br>`tf6`: 1<br>`@NQ`: `tf1`: 3<br>`tf2`: 3<br>`tf3`: 3<br>`tf4`: 3<br>`tf5`: 3<br>`tf6`: 3 |
| &nbsp;&nbsp;`exit_counter_config` | `@ES`: `range_1`: {...2 keys}<br>`range_2`: {...2 keys}<br>`range_3`: {...2 keys}<br>`range_4`: {...2 keys}<br>`range_5`: {...2 keys}<br>`range_6`: {...2 keys}<br>`@NQ`: `range_1`: {...2 keys}<br>`range_2`: {...2 keys}<br>`range_3`: {...2 keys}<br>`range_4`: {...2 keys}<br>`range_5`: {...2 keys}<br>`range_6`: {...2 keys} |

### 4.6: `config_7_limit_order_long_v1_0_0.json` (v1.0.1)

| Key | Value |
|-----|-------|
| **entry_limit_config** | |
| &nbsp;&nbsp;`_description` | Progressive limit order offset config. increment defines how many 1-second bars between each step-down. 6 levels step from max offset down to 0 (market order). Tickers share the same timer/increment but have distinct offset values. |
| &nbsp;&nbsp;`increment` | 5 |
| &nbsp;&nbsp;`_thresholds_derived` | level_1: timer âˆˆ [0,5), level_2: [5,10), level_3: [10,15), level_4: [15,20), level_5: [20,25), level_6: [25,âˆž) â†’ market order |
| &nbsp;&nbsp;`@ES` | `level_1`: `sec_count`: 0<br>`entry_offset`: 2.5<br>`level_2`: `sec_count`: 5<br>`entry_offset`: 2.0<br>`level_3`: `sec_count`: 10<br>`entry_offset`: 1.5<br>`level_4`: `sec_count`: 15<br>`entry_offset`: 1.0<br>`level_5`: `sec_count`: 20<br>`entry_offset`: 0.5<br>`level_6`: `sec_count`: 25<br>`entry_offset`: 0 |
| &nbsp;&nbsp;`@NQ` | `level_1`: `sec_count`: 0<br>`entry_offset`: 7.5<br>`level_2`: `sec_count`: 5<br>`entry_offset`: 6.0<br>`level_3`: `sec_count`: 10<br>`entry_offset`: 4.5<br>`level_4`: `sec_count`: 15<br>`entry_offset`: 3.0<br>`level_5`: `sec_count`: 20<br>`entry_offset`: 1.5<br>`level_6`: `sec_count`: 25<br>`entry_offset`: 0 |
