﻿<?xml version="1.0" encoding="utf-8"?>
<StrategyTemplate>
  <StrategyType>NinjaTrader.NinjaScript.Strategies.ATCHOpenRangeBreakoutStrategy</StrategyType>
  
  <Strategy>
    <ATCHOpenRangeBreakoutStrategy xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <IsVisible>true</IsVisible>
      <calculate2>OnEachTick</calculate2>
      <AreLinesConfigurable>true</AreLinesConfigurable>
      <ArePlotsConfigurable>true</ArePlotsConfigurable>
      <BarsPeriodSerializable>
        <BarsPeriodTypeSerialize>0</BarsPeriodTypeSerialize>
        <BaseBarsPeriodType>Minute</BaseBarsPeriodType>
        <BaseBarsPeriodValue>1</BaseBarsPeriodValue>
        <VolumetricDeltaType>BidAsk</VolumetricDeltaType>
        <MarketDataType>Last</MarketDataType>
        <PointAndFigurePriceType>Close</PointAndFigurePriceType>
        <ReversalType>Tick</ReversalType>
        <Value>1</Value>
        <Value2>1</Value2>
      </BarsPeriodSerializable>
      <BarsToLoad>0</BarsToLoad>
      <DisplayInDataBox>true</DisplayInDataBox>
      <From>2024-03-04T00:00:00</From>
      <Panel>-1</Panel>
      <ScaleJustification>Right</ScaleJustification>
      <ShowTransparentPlotsInDataBox>false</ShowTransparentPlotsInDataBox>
      <To>2026-01-16T00:00:00</To>
      <Calculate>OnEachTick</Calculate>
      <Displacement>0</Displacement>
      <IsAutoScale>true</IsAutoScale>
      <IsDataSeriesRequired>true</IsDataSeriesRequired>
      <IsOverlay>true</IsOverlay>
      <Lines />
      <MaximumBarsLookBack>TwoHundredFiftySix</MaximumBarsLookBack>
      <Name>ATCHOpenRangeBreakoutStrategy</Name>
      <Plots />
      <SelectedValueSeries>0</SelectedValueSeries>
      <BarsPeriodParameter>
        <Increment>1</Increment>
        <Max xsi:type="xsd:int">0</Max>
        <Min xsi:type="xsd:int">0</Min>
        <Name />
        <ParameterTypeSerializable>System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ParameterTypeSerializable>
        <ValueSerializable>0</ValueSerializable>
      </BarsPeriodParameter>
      <BarsRequiredToTrade>5</BarsRequiredToTrade>
      <Category>NinjaScript</Category>
      <ConnectionLossHandling>KeepRunning</ConnectionLossHandling>
      <DaysToLoad>5</DaysToLoad>
      <DefaultQuantity>1</DefaultQuantity>
      <DisconnectDelaySeconds>10</DisconnectDelaySeconds>
      <EntriesPerDirection>1</EntriesPerDirection>
      <EntryHandling>UniqueEntries</EntryHandling>
      <ExitOnSessionCloseSeconds>30</ExitOnSessionCloseSeconds>
      <IncludeCommission>true</IncludeCommission>
      <InstrumentOrInstrumentList>MGC 02-26</InstrumentOrInstrumentList>
      <IsAggregated>false</IsAggregated>
      <IsExitOnSessionCloseStrategy>true</IsExitOnSessionCloseStrategy>
      <IsFillLimitOnTouch>false</IsFillLimitOnTouch>
      <IsOptimizeDataSeries>false</IsOptimizeDataSeries>
      <IsStableSession>true</IsStableSession>
      <IsTickReplay>true</IsTickReplay>
      <IsTradingHoursBreakLineVisible>true</IsTradingHoursBreakLineVisible>
      <IsWaitUntilFlat>false</IsWaitUntilFlat>
      <NumberRestartAttempts>4</NumberRestartAttempts>
      <OptimizationPeriod>10</OptimizationPeriod>
      <OrderFillResolution>Standard</OrderFillResolution>
      <OrderFillResolutionType>Tick</OrderFillResolutionType>
      <OrderFillResolutionValue>1</OrderFillResolutionValue>
      <RestartsWithinMinutes>5</RestartsWithinMinutes>
      <SetOrderQuantity>Strategy</SetOrderQuantity>
      <Slippage>0</Slippage>
      <StartBehavior>WaitUntilFlat</StartBehavior>
      <StopTargetHandling>PerEntryExecution</StopTargetHandling>
      <SupportsOptimizationGraph>true</SupportsOptimizationGraph>
      <TestPeriod>28</TestPeriod>
      <TradingHoursSerializable />
      <Gtd>1800-01-01T00:00:00</Gtd>
      <Template />
      <TimeInForce>Gtc</TimeInForce>
      <DrawOnPricePanel>false</DrawOnPricePanel>
      <ZOrder>-2147483648</ZOrder>
      <IsBacktest>true</IsBacktest>
      <DailyTakeProfitTarget>0</DailyTakeProfitTarget>
      <WeeklyTakeProfitTarget>0</WeeklyTakeProfitTarget>
      <DayStopLoss>0</DayStopLoss>
      <MaxDailyWinningTradeCount>2</MaxDailyWinningTradeCount>
      <MaxDailyLosingTradeCount>3</MaxDailyLosingTradeCount>
      <ExecuteOnMicros>false</ExecuteOnMicros>
      <ExecutionInstrument>MES 06-24</ExecutionInstrument>
      <OrderLabel>ATCHORB</OrderLabel>
      <RenderOpacity>20</RenderOpacity>
      <ExtendZoneDrawing>false</ExtendZoneDrawing>
      <EnableNoTradingDays>false</EnableNoTradingDays>
      <EnableTradingDaysMonday>true</EnableTradingDaysMonday>
      <EnableTradingDaysTuesdays>true</EnableTradingDaysTuesdays>
      <EnableTradingDaysWednesdays>true</EnableTradingDaysWednesdays>
      <EnableTradingDaysThursdays>true</EnableTradingDaysThursdays>
      <EnableTradingDaysFridays>true</EnableTradingDaysFridays>
      <EnableManualORBLevels>false</EnableManualORBLevels>
      <ManualRangeHighPrice>0</ManualRangeHighPrice>
      <ManualRangeLowPrice>0</ManualRangeLowPrice>
      <CurrentTimeZone>EST</CurrentTimeZone>
      <OpenRangeTimeStr>18:01-16:59</OpenRangeTimeStr>
      <TradeTimeStr>00:01-16:00,18:00-23:59</TradeTimeStr>
      <TradePreviousDayZone>true</TradePreviousDayZone>
      <EnableORBDays>false</EnableORBDays>
      <EnableORBMonday>false</EnableORBMonday>
      <EnableORBTuesdays>false</EnableORBTuesdays>
      <EnableORBWednesdays>false</EnableORBWednesdays>
      <EnableORBThursdays>false</EnableORBThursdays>
      <EnableORBFridays>false</EnableORBFridays>
      <RangeOffsetTicks>0</RangeOffsetTicks>
      <CurrentQuantityStrategy>RiskAdjusted</CurrentQuantityStrategy>
      <MaxQuantity>50</MaxQuantity>
      <UseVolumeProfile>false</UseVolumeProfile>
      <WaitForRangeRetrace>true</WaitForRangeRetrace>
      <WaitForFVG>true</WaitForFVG>
      <FVGLastCandleColorCondition>true</FVGLastCandleColorCondition>
      <CurrentEntryMode>OnBarClose</CurrentEntryMode>
      <MinDistanceFromRangeTicks>0</MinDistanceFromRangeTicks>
      <MaxDistanceFromRangeTicks>0</MaxDistanceFromRangeTicks>
      <MinRangeTicks>0</MinRangeTicks>
      <MaxRangeTicks>0</MaxRangeTicks>
      <ResetBiasOnEachSide>false</ResetBiasOnEachSide>
      <SuperTrendEntryFilter>true</SuperTrendEntryFilter>
      <CurrentSupertrendFilterMode>TriggerThenFilter</CurrentSupertrendFilterMode>
      <InitQuantity>1</InitQuantity>
      <CurrentOrderManagementStrategy>None</CurrentOrderManagementStrategy>
      <SupertrendOnlyProfitable>false</SupertrendOnlyProfitable>
      <CurrentATMStrategyName />
      <EnableScaleOut50At50>false</EnableScaleOut50At50>
      <ScaleOutAtTargetPercent>50</ScaleOutAtTargetPercent>
      <ScaleOutQuantityPercentage>50</ScaleOutQuantityPercentage>
      <EnablePriceBreakeven>false</EnablePriceBreakeven>
      <CurrentBreakevenStrategy>Points</CurrentBreakevenStrategy>
      <BreakevenValue>8</BreakevenValue>
      <CurrentStopLossStrategy>SuperTrend</CurrentStopLossStrategy>
      <SwingPeriod>12</SwingPeriod>
      <CurrentTakeProfitStrategy>OneToOneRatio</CurrentTakeProfitStrategy>
      <CurrentTakeProfitFiboLevel>0.618</CurrentTakeProfitFiboLevel>
      <CurrentCustomWinLossRatio>1.5</CurrentCustomWinLossRatio>
      <MaxCurrencyAtRisk>300</MaxCurrencyAtRisk>
      <MaxAllowedCurrentAtRisk>320</MaxAllowedCurrentAtRisk>
      <StopLossPoints>10</StopLossPoints>
      <StopLossOffsetPoints>0</StopLossOffsetPoints>
      <TakeProfitCurrency>0</TakeProfitCurrency>
      <TakeProfitPoints>10</TakeProfitPoints>
      <SuperTrendMode>ATR</SuperTrendMode>
      <SuperTrendLength>84</SuperTrendLength>
      <SuperTrendMultiplier>3.5</SuperTrendMultiplier>
      <SuperTrendMaType>HMA</SuperTrendMaType>
      <SuperTrendSmooth>84</SuperTrendSmooth>
 <ValueAreaPercent>70</ValueAreaPercent>
      <ProfileBodyOpacity>90</ProfileBodyOpacity>
      <CurrentTrailingStopStrategy>Points</CurrentTrailingStopStrategy>
      <TrailingStopTrigger>0</TrailingStopTrigger>
      <TrailingStopAmount>0</TrailingStopAmount>
    </ATCHOpenRangeBreakoutStrategy>
  </Strategy>
</StrategyTemplate>
