﻿<?xml version="1.0" encoding="utf-8"?>
<StrategyTemplate>
  <StrategyType>NinjaTrader.NinjaScript.Strategies.QZeus</StrategyType>
  <OptimizerType>NinjaTrader.NinjaScript.Optimizers.DefaultOptimizer</OptimizerType>
  <OptimizerParameters>
    <ArrayOfParameterWrapper xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <ParameterWrapper>
        <DisplayName>IsStrategyGenerator</DisplayName>
        <Name>IsStrategyGenerator</Name>
        <Value xsi:type="xsd:boolean">false</Value>
      </ParameterWrapper>
      <ParameterWrapper>
        <DisplayName>Keep best # results</DisplayName>
        <Name>KeepBestResults</Name>
        <Value xsi:type="xsd:int">10</Value>
      </ParameterWrapper>
      <ParameterWrapper>
        <DisplayName>LogTypeName</DisplayName>
        <Name>LogTypeName</Name>
        <Value xsi:type="xsd:string">Optimizer</Value>
      </ParameterWrapper>
      <ParameterWrapper>
        <DisplayName>Visible</DisplayName>
        <Name>IsVisible</Name>
        <Value xsi:type="xsd:boolean">true</Value>
      </ParameterWrapper>
      <ParameterWrapper>
        <DisplayName>Name</DisplayName>
        <Name>Name</Name>
        <Value xsi:type="xsd:string">Default</Value>
      </ParameterWrapper>
    </ArrayOfParameterWrapper>
  </OptimizerParameters>
  <OptimizationFitness>NinjaTrader.NinjaScript.OptimizationFitnesses.MaxProfitFactor</OptimizationFitness>
  <OptimizationParameters>
    <ArrayOfParameter xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
  </OptimizationParameters>
  <Strategy>
    <QZeus xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <IsVisible>true</IsVisible>
      <calculate2>OnBarClose</calculate2>
      <AreLinesConfigurable>true</AreLinesConfigurable>
      <ArePlotsConfigurable>true</ArePlotsConfigurable>
      <BarsPeriodSerializable>
        <BarsPeriodTypeSerialize>4</BarsPeriodTypeSerialize>
        <BaseBarsPeriodType>Minute</BaseBarsPeriodType>
        <BaseBarsPeriodValue>1</BaseBarsPeriodValue>
        <VolumetricDeltaType>BidAsk</VolumetricDeltaType>
        <MarketDataType>Last</MarketDataType>
        <PointAndFigurePriceType>Close</PointAndFigurePriceType>
        <ReversalType>Tick</ReversalType>
        <Value>5</Value>
        <Value2>1</Value2>
      </BarsPeriodSerializable>
      <BarsToLoad>0</BarsToLoad>
      <Calculate>OnBarClose</Calculate>
      <Displacement>0</Displacement>
      <DisplayInDataBox>true</DisplayInDataBox>
      <From>2099-12-01T00:00:00</From>
      <IsAutoScale>true</IsAutoScale>
      <Lines />
      <MaximumBarsLookBack>Infinite</MaximumBarsLookBack>
      <Name>QZeus DFY</Name>
      <Panel>-1</Panel>
      <Plots />
      <ScaleJustification>Right</ScaleJustification>
      <ShowTransparentPlotsInDataBox>false</ShowTransparentPlotsInDataBox>
      <To>1800-01-01T00:00:00</To>
      <IsDataSeriesRequired>true</IsDataSeriesRequired>
      <IsOverlay>true</IsOverlay>
      <SelectedValueSeries>0</SelectedValueSeries>
      <Gtd>1800-01-01T00:00:00</Gtd>
      <Template />
      <TimeInForce>Gtc</TimeInForce>
      <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>20</BarsRequiredToTrade>
      <Category>NinjaScript</Category>
      <ConnectionLossHandling>Recalculate</ConnectionLossHandling>
      <DaysToLoad>5</DaysToLoad>
      <DefaultQuantity>1</DefaultQuantity>
      <DisconnectDelaySeconds>10</DisconnectDelaySeconds>
      <EntriesPerDirection>1</EntriesPerDirection>
      <EntryHandling>AllEntries</EntryHandling>
      <ExitOnSessionCloseSeconds>30</ExitOnSessionCloseSeconds>
      <IncludeCommission>false</IncludeCommission>
      <InstrumentOrInstrumentList />
      <IsAggregated>false</IsAggregated>
      <IsExitOnSessionCloseStrategy>true</IsExitOnSessionCloseStrategy>
      <IsFillLimitOnTouch>false</IsFillLimitOnTouch>
      <IsOptimizeDataSeries>false</IsOptimizeDataSeries>
      <IsStableSession>true</IsStableSession>
      <IsTickReplay>false</IsTickReplay>
      <IsTradingHoursBreakLineVisible>true</IsTradingHoursBreakLineVisible>
      <IsWaitUntilFlat>false</IsWaitUntilFlat>
      <NumberRestartAttempts>4</NumberRestartAttempts>
      <OptimizationPeriod>10</OptimizationPeriod>
      <OrderFillResolution>Standard</OrderFillResolution>
      <OrderFillResolutionType>Minute</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 />
      <DrawOnPricePanel>false</DrawOnPricePanel>
      <ZOrder>-2147483648</ZOrder>
      <riskDisclosure>false</riskDisclosure>
      <restrictTime>true</restrictTime>
      <TimeMode>Simple</TimeMode>
      <StartTime>2026-01-11T09:35:00</StartTime>
      <EndTime>2026-01-11T11:30:00</EndTime>
      <restrictLunch>false</restrictLunch>
      <lunchStartTime>2026-01-11T11:00:00</lunchStartTime>
      <lunchEndTime>2026-01-11T12:30:00</lunchEndTime>
      <TimeWindowsInput>0935-1130:2345</TimeWindowsInput>
      <FORCECLOSEType>forceCloseRangeEnd</FORCECLOSEType>
      <ForceCloseTime>2026-01-11T16:55:00</ForceCloseTime>
      <tradeSun>false</tradeSun>
      <tradeMon>true</tradeMon>
      <tradeTues>true</tradeTues>
      <tradeWed>true</tradeWed>
      <tradeThur>true</tradeThur>
      <tradeFri>false</tradeFri>
      <tradeSat>false</tradeSat>
      <presetDummyBool>false</presetDummyBool>
      <SETTINGPreset>presetIntermediate</SETTINGPreset>
      <revScalps>false</revScalps>
      <martingale>false</martingale>
      <useLongBoost>false</useLongBoost>
      <useRangeBoost>false</useRangeBoost>
      <rangeBoostDouble>false</rangeBoostDouble>
      <staticTakeProfitMultiplier>1</staticTakeProfitMultiplier>
      <rangeBoostTakeProfitMultiplier>1.5</rangeBoostTakeProfitMultiplier>
      <defQty>1</defQty>
      <enableMaxLimit>true</enableMaxLimit>
      <maxQty>16</maxQty>
      <hardStopMult>5</hardStopMult>
      <earlyStoppage>false</earlyStoppage>
      <useTimeEntropy>false</useTimeEntropy>
      <timeEntropyBars>8</timeEntropyBars>
      <onTickExits>false</onTickExits>
      <maxDailyProfit>false</maxDailyProfit>
      <maxDailyProfitAmount>0</maxDailyProfitAmount>
      <maxDailyLoss>false</maxDailyLoss>
      <maxDailyLossAmount>0</maxDailyLossAmount>
      <useTrailingLoss>false</useTrailingLoss>
      <trailingLossAmount>0</trailingLossAmount>
      <trailingLossActivate>0</trailingLossActivate>
      <useTradeCount>false</useTradeCount>
      <maxTradeCount>1</maxTradeCount>
      <PNLType>pnlAccount</PNLType>
      <enableTrendColoring>true</enableTrendColoring>
      <bullColorSerialize>&lt;SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;#FF008000&lt;/SolidColorBrush&gt;</bullColorSerialize>
      <bearColorSerialize>&lt;SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;#FFFF0000&lt;/SolidColorBrush&gt;</bearColorSerialize>
      <enableInfoPanel>true</enableInfoPanel>
      <enableBackgroundPaint>true</enableBackgroundPaint>
      <backgroundPaintSerialize>&lt;SolidColorBrush xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;#FF1E90FF&lt;/SolidColorBrush&gt;</backgroundPaintSerialize>
    </QZeus>
  </Strategy>
</StrategyTemplate>