[GAP-056]: inert breakeven params hidden
- NT8StrategyBase.cs: hide inert breakeven parameters with Browsable(false) and unused descriptions - SimpleORBNT8.cs: label settings export AutoBreakeven values as unused compatibility fields - NT8StrategyBaseBreakevenParamsTests.cs: add source assertions for hidden/inert parameters and no order-flow reads - SPRINT_BOARD.md/decisions.md: record Option A and verification evidence Build: clean | Tests: 555 passing; Core 466 passing | Dual-deployed: no - skipped by prompt
This commit is contained in:
@@ -271,16 +271,19 @@ namespace NinjaTrader.NinjaScript.Strategies
|
||||
public bool EnableShortTrades { get; set; }
|
||||
|
||||
[NinjaScriptProperty]
|
||||
[Display(Name = "Enable Auto Breakeven", GroupName = "Exit Management", Order = 1)]
|
||||
[Browsable(false)]
|
||||
[Display(Name = "Enable Auto Breakeven", GroupName = "Exit Management", Order = 1, Description = "Currently unused; retained for saved workspace compatibility.")]
|
||||
public bool EnableAutoBreakeven { get; set; }
|
||||
|
||||
[NinjaScriptProperty]
|
||||
[Display(Name = "Breakeven Trigger Ticks", GroupName = "Exit Management", Order = 2)]
|
||||
[Browsable(false)]
|
||||
[Display(Name = "Breakeven Trigger Ticks", GroupName = "Exit Management", Order = 2, Description = "Currently unused; retained for saved workspace compatibility.")]
|
||||
[Range(1, 100)]
|
||||
public int BreakevenTriggerTicks { get; set; }
|
||||
|
||||
[NinjaScriptProperty]
|
||||
[Display(Name = "Breakeven Offset Ticks", GroupName = "Exit Management", Order = 3)]
|
||||
[Browsable(false)]
|
||||
[Display(Name = "Breakeven Offset Ticks", GroupName = "Exit Management", Order = 3, Description = "Currently unused; retained for saved workspace compatibility.")]
|
||||
[Range(0, 20)]
|
||||
public int BreakevenOffsetTicks { get; set; }
|
||||
|
||||
|
||||
@@ -450,7 +450,7 @@ namespace NinjaTrader.NinjaScript.Strategies
|
||||
lines.Insert(endIdx + 6, string.Format("StopDollars : {0:C}", StopTicks * tickDollarValue));
|
||||
lines.Insert(endIdx + 7, string.Format("TargetDollars : {0:C}", TargetTicks * tickDollarValue));
|
||||
lines.Insert(endIdx + 8, string.Format("RR_Ratio : {0:F2}:1", (double)TargetTicks / StopTicks));
|
||||
lines.Insert(endIdx + 9, String.Format("AutoBreakeven : {0} @ {1}ticks + {2}tick offset",
|
||||
lines.Insert(endIdx + 9, String.Format("AutoBreakeven : UNUSED (retained for compatibility) {0} @ {1}ticks + {2}tick offset",
|
||||
EnableAutoBreakeven, BreakevenTriggerTicks, BreakevenOffsetTicks));
|
||||
lines.Insert(endIdx + 10, String.Format("Runner : {0} | Trail={1}ticks",
|
||||
EnableRunner, RunnerTrailTicks));
|
||||
|
||||
Reference in New Issue
Block a user