<?xml version="1.0" encoding="utf-8"?>
<ExportScriptData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Code><![CDATA[<?xml version="1.0" encoding="utf-16"?>
<GraphDataBase xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="GraphViewData">
  <EditData VersionString="2.3" TemplateClass="Script">
    <ViewModel>
      <Model Scale="1">
        <Block Key="Source1" Category="TradableSecurity" Location="50 119" TypeName="TradableSecuritySourceItem">
          <EditItem Guid="13E828E4-4633-455C-B81B-730B003D8002" CodeName="Source1" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" />
        </Block>
        <Block Key="Volume1" Category="TradeMath" Location="70 199" TypeName="ConverterItem">
          <EditItem Guid="88676526-EC2D-42F3-A92B-0606A6B221D7" CodeName="Volume1" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Volume, TSLab.Script.Handlers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Pane Key="Main" Category="GraphPane" Location="0 299" Order="0" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Pane Key="ChartPane" Category="GraphPane" Location="32 454" Order="1" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Block Key="Close" Category="TradeMath" Location="326 123" TypeName="ConverterItem">
          <EditItem Guid="f4cea0c7-a484-4ddc-9519-b0f9940ed00c" CodeName="Close" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Close, TSLab.Script.Handlers, Version=2.0.21.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ConstMin" Category="Const" Location="286 387" TypeName="ConverterItem">
          <EditItem Guid="93b1838b-2ef0-4c10-93a3-57a487e3b596" CodeName="ConstMin" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.ConstGen, TSLab.Script.Handlers, Version=2.0.21.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Value" TypeName="Double" Value="45" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="Constant1" Category="Const" Location="293 552" TypeName="ConverterItem">
          <EditItem Guid="4a00f189-9113-4843-a95d-5b7afa73b9d6" CodeName="Constant1" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.ConstGen, TSLab.Script.Handlers, Version=2.0.21.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Value" TypeName="Double" Value="50" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ConstMax" Category="Const" Location="292 472" TypeName="ConverterItem">
          <EditItem Guid="801a700c-4a90-405e-952d-958dbd243483" CodeName="ConstMax" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.ConstGen, TSLab.Script.Handlers, Version=2.0.21.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Value" TypeName="Double" Value="55" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="AMA" Category="Indicators" Location="552 258" TypeName="ConverterItem">
          <EditItem Guid="1fa9ff10-f55a-4f8d-80c2-80a28b2b2d79" CodeName="AMA" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.AMA, TSLab.Script.Handlers, Version=2.0.21.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="RSIcalc" Category="Usual" Location="310 221" TypeName="DynamicItem">
          <EditItem Guid="73db08fe-78ff-4309-beb1-66e5341271ab" CodeName="RSIcalc" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerName="RSI_calc" HandlerFolder="b542e227-1299-4a25-b097-5e6c283e83e1" Inputs="1" Outputs="1" />
        </Block>
        <Block Key="ForSell" Category="Formula" Location="763 190" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="bbcc42c4-ee0a-4090-aee7-08df70a81b8d" CodeName="ForSell" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.21.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="RSIcalc&gt;ConstMax" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ForBuy" Category="Formula" Location="761 430" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="2a2baf6a-9629-44a7-b6b8-014e00d9b5b7" CodeName="ForBuy" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.21.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="RSIcalc&lt;ConstMin" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="S" Category="OpenPosition" Location="1055 183" TypeName="OpenPositionByMarketItem">
          <EditItem Guid="9c549e7b-74bf-44f7-a9e9-e83e30476e07" CodeName="S" IsParametersVisible="true" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Long" TypeName="Boolean" Value="false" />
              <Parameter Name="Shares" TypeName="Double" Value="1" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="B" Category="OpenPosition" Location="1066 428" TypeName="OpenPositionByMarketItem">
          <EditItem Guid="5dfbf936-e602-41a7-b167-493f162ae692" CodeName="B" IsParametersVisible="true" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Long" TypeName="Boolean" Value="true" />
              <Parameter Name="Shares" TypeName="Double" Value="1" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="sb" Category="ClosePosition" Location="1288 259" TypeName="ClosePositionByMarketItem">
          <EditItem Guid="65244232-737e-4709-bec7-6c4766de0f49" CodeName="sb" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" />
        </Block>
        <Block Key="ss" Category="ClosePosition" Location="1296 514" TypeName="ClosePositionByMarketItem">
          <EditItem Guid="e422fffa-b2b9-4048-8967-97295458f789" CodeName="ss" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" />
        </Block>
        <Link From="Source1" To="Volume1" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <GraphLink From="Volume1" To="Main" FromPort="Out" ToPort="LEFT" Category="ChartLineLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="HISTOHRAM" CandleStyle="BAR_CANDLE" LineStyle="SOLID" Color="-1581634" AltColor="-16777216" Opacity="0" HideLastValue="false" Thickness="1" PaneSide="LEFT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="Source1" To="Main" FromPort="Out" ToPort="RIGHT" Category="ChartCandleLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="LINE" CandleStyle="BAR_CANDLE" LineStyle="SOLID" Color="-15197697" AltColor="-53451" Opacity="0" HideLastValue="false" Thickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="Source1" To="Close" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <GraphLink From="ConstMin" To="ChartPane" FromPort="Out" ToPort="RIGHT" Category="ChartLineLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="LINE" CandleStyle="BAR_CANDLE" LineStyle="DASH" Color="-15394290" AltColor="-15789820" Opacity="0" HideLastValue="false" Thickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="ConstMax" To="ChartPane" FromPort="Out" ToPort="RIGHT" Category="ChartLineLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="LINE" CandleStyle="BAR_CANDLE" LineStyle="DASH" Color="-15330778" AltColor="-16119283" Opacity="0" HideLastValue="false" Thickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="Constant1" To="ChartPane" FromPort="Out" ToPort="RIGHT" Category="ChartLineLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="LINE" CandleStyle="BAR_CANDLE" LineStyle="DASH" Color="-15922670" AltColor="-16186870" Opacity="0" HideLastValue="false" Thickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="AMA" To="ChartPane" FromPort="Out" ToPort="RIGHT" Category="ChartLineLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="LINE" CandleStyle="BAR_CANDLE" LineStyle="SOLID" Color="-9334508" AltColor="-8253278" Opacity="0" HideLastValue="false" Thickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="Close" To="RSIcalc" FromPort="Out" ToPort="1" ToPortNum="0" />
        <Link From="RSIcalc" To="AMA" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <GraphLink From="RSIcalc" To="ChartPane" FromPort="Out" ToPort="RIGHT" Category="ChartLineLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="LINE" CandleStyle="BAR_CANDLE" LineStyle="SOLID" Color="-12735751" AltColor="-4530390" Opacity="0" HideLastValue="false" Thickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="RSIcalc" To="ForSell" FromPort="Out" ToPortNum="0" />
        <Link From="RSIcalc" To="ForBuy" FromPort="Out" ToPortNum="0" />
        <Link From="ConstMin" To="ForBuy" FromPort="Out" ToPortNum="1" />
        <Link From="ConstMax" To="ForSell" FromPort="Out" ToPortNum="1" />
        <GraphLink From="ForSell" To="ChartPane" FromPort="Out" ToPort="LEFT" Category="ChartLineLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="HISTOHRAM" CandleStyle="BAR_CANDLE" LineStyle="SOLID" Color="-2842295" AltColor="-2286139" Opacity="0" HideLastValue="false" Thickness="1" PaneSide="LEFT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="ForBuy" To="ChartPane" FromPort="Out" ToPort="LEFT" Category="ChartLineLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="HISTOHRAM" CandleStyle="BAR_CANDLE" LineStyle="SOLID" Color="-7089010" AltColor="-14054696" Opacity="0" HideLastValue="false" Thickness="1" PaneSide="LEFT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="Source1" To="S" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="ForSell" To="S" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="Source1" To="B" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="ForBuy" To="B" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="S" To="sb" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <Link From="ForBuy" To="sb" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="B" To="ss" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <Link From="ForSell" To="ss" FromPort="Out" ToPort="Eq" ToPortNum="1" />
      </Model>
    </ViewModel>
  </EditData>
  <Options xsi:type="LabOptions">
    <BarSizes>
      <BarSize Key="" Value="0.11763339748220591" />
    </BarSizes>
    <Indent>0</Indent>
    <HideValues>false</HideValues>
    <LegendTransparency>0</LegendTransparency>
    <TimeScale>Adaptive</TimeScale>
    <GroupTrades>true</GroupTrades>
    <LegendForegroundColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
        <ScA>0</ScA>
        <ScR>0</ScR>
        <ScG>0</ScG>
        <ScB>0</ScB>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
        <ScA>1</ScA>
        <ScR>0</ScR>
        <ScG>0</ScG>
        <ScB>0</ScB>
      </Default>
    </LegendForegroundColor>
    <ChartBackgroundColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
        <ScA>0</ScA>
        <ScR>0</ScR>
        <ScG>0</ScG>
        <ScB>0</ScB>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>255</R>
        <G>255</G>
        <B>255</B>
        <ScA>1</ScA>
        <ScR>1</ScR>
        <ScG>1</ScG>
        <ScB>1</ScB>
      </Default>
    </ChartBackgroundColor>
    <ChartForegroundColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
        <ScA>0</ScA>
        <ScR>0</ScR>
        <ScG>0</ScG>
        <ScB>0</ScB>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
        <ScA>1</ScA>
        <ScR>0</ScR>
        <ScG>0</ScG>
        <ScB>0</ScB>
      </Default>
    </ChartForegroundColor>
    <ChartGridColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
        <ScA>0</ScA>
        <ScR>0</ScR>
        <ScG>0</ScG>
        <ScB>0</ScB>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>214</R>
        <G>214</G>
        <B>214</B>
        <ScA>1</ScA>
        <ScR>0.672443151</ScR>
        <ScG>0.672443151</ScG>
        <ScB>0.672443151</ScB>
      </Default>
    </ChartGridColor>
    <ChartBorderColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
        <ScA>0</ScA>
        <ScR>0</ScR>
        <ScG>0</ScG>
        <ScB>0</ScB>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>214</R>
        <G>214</G>
        <B>214</B>
        <ScA>1</ScA>
        <ScR>0.672443151</ScR>
        <ScG>0.672443151</ScG>
        <ScB>0.672443151</ScB>
      </Default>
    </ChartBorderColor>
    <ChartRulerBackgroundColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
        <ScA>0</ScA>
        <ScR>0</ScR>
        <ScG>0</ScG>
        <ScB>0</ScB>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>242</R>
        <G>242</G>
        <B>242</B>
        <ScA>1</ScA>
        <ScR>0.8879231</ScR>
        <ScG>0.8879231</ScG>
        <ScB>0.8879231</ScB>
      </Default>
    </ChartRulerBackgroundColor>
    <ChartRulerForegroundColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
        <ScA>0</ScA>
        <ScR>0</ScR>
        <ScG>0</ScG>
        <ScB>0</ScB>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
        <ScA>1</ScA>
        <ScR>0</ScR>
        <ScG>0</ScG>
        <ScB>0</ScB>
      </Default>
    </ChartRulerForegroundColor>
    <IntervalBase>MINUTE</IntervalBase>
    <Interval>1</Interval>
    <RecalcInterval>INTERVAL</RecalcInterval>
    <DateFrom>2015-11-01T00:00:00</DateFrom>
    <UseDateFrom>true</UseDateFrom>
    <DateTo>2017-12-12T00:00:00+03:00</DateTo>
    <UseDateTo>false</UseDateTo>
    <DateReload>2017-12-12T00:00:00+03:00</DateReload>
    <UseDateReload>false</UseDateReload>
    <MaxDays>0</MaxDays>
    <SessionBegin>2000-01-01T00:00:00</SessionBegin>
    <SessionEnd>2000-01-01T00:00:00</SessionEnd>
    <DecompressMethod>Method1</DecompressMethod>
    <MaxCandels>0</MaxCandels>
    <RtUpdates>false</RtUpdates>
    <CalcForEachSecurity>false</CalcForEachSecurity>
    <TradeFromBar>0</TradeFromBar>
    <IsSplittedProfitByInstruments>false</IsSplittedProfitByInstruments>
    <NotUsePositions>false</NotUsePositions>
    <InitDeposit>0</InitDeposit>
    <LabCalcType>Default</LabCalcType>
    <TradeMode>All</TradeMode>
    <IsShowedBlockNumbers>false</IsShowedBlockNumbers>
  </Options>
  <Mappings>
    <Sources>
      <Source DataSourceName="ES_SP500_" SecurityId="ES_SP500_025" Name="13E828E4-4633-455C-B81B-730B003D8002" VisualTypeName="Tradable instrument" IsOption="false">
        <Records />
      </Source>
    </Sources>
    <Parameters>
      <Parameter xsi:type="IntOptimData" ItemName="1fa9ff10-f55a-4f8d-80c2-80a28b2b2d79" BlockName="AMA" Name="Period" InvariantName="Period" CodeName="AMA_Period" UsedInOptimization="false" IsCalculable="false" Value="20" TypeName="Int32" MinValue="10" MaxValue="100" Step="5" />
      <Parameter xsi:type="IntOptimData" ItemName="73db08fe-78ff-4309-beb1-66e5341271ab" BlockName="RSIcalc" Name="Period.Period" InvariantName="Period_Period" CodeName="RSIcalc_Period_Period" UsedInOptimization="false" IsCalculable="false" Value="2000" TypeName="Int32" MinValue="10" MaxValue="100" Step="5" />
      <Parameter xsi:type="OptimData" ItemName="73db08fe-78ff-4309-beb1-66e5341271ab" BlockName="RSIcalc" Name="СhoiceMovAver.Value" InvariantName="СhoiceMovAver_Value" CodeName="RSIcalc_СhoiceMovAver_Value" UsedInOptimization="false" IsCalculable="false" Value="2" TypeName="Double" MinValue="1" MaxValue="2" Step="1" NumberDecimalDigits="1" />
    </Parameters>
    <ParameterGroups />
    <AutoParameters />
  </Mappings>
  <Iterations>100</Iterations>
  <OptParametersRecords />
  <OptParametersRecordsFolders />
</GraphDataBase>]]></Code>
  <Settings2><![CDATA[<?xml version="1.0" encoding="utf-16"?>
<XmlLabSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Options>
    <DefEntryApprove>false</DefEntryApprove>
    <DefExitApprove>false</DefExitApprove>
    <AutoEntryBars>0</AutoEntryBars>
    <AutoCloseBars>0</AutoCloseBars>
    <Slippage>0</Slippage>
    <SlippagePct>0</SlippagePct>
    <TakeProfitNoSlippage>false</TakeProfitNoSlippage>
    <OpenPositionNoSlippage>false</OpenPositionNoSlippage>
    <ByMarketAsLimt>false</ByMarketAsLimt>
    <InvalidStopsByMarket>false</InvalidStopsByMarket>
    <RemoveInactivePositions>true</RemoveInactivePositions>
    <WarnSkippedOpenPositions>true</WarnSkippedOpenPositions>
    <NotOpenIfHasSkippedExit>false</NotOpenIfHasSkippedExit>
    <NoCalcInfo>false</NoCalcInfo>
    <MaxBarsForSignal>0</MaxBarsForSignal>
    <ExitSignalOnlyForLastBar>false</ExitSignalOnlyForLastBar>
    <WaitExecutionExitBars>0</WaitExecutionExitBars>
    <WaitExecutionEntryBars>0</WaitExecutionEntryBars>
    <SimulatePositionOrdering>true</SimulatePositionOrdering>
  </Options>
  <Mappings>
    <Sources />
    <Parameters />
    <ParameterGroups />
    <AutoParameters />
  </Mappings>
  <AppearanceOptions>
    <Background>
      <A>255</A>
      <R>245</R>
      <G>245</G>
      <B>245</B>
      <ScA>1</ScA>
      <ScR>0.913098633</ScR>
      <ScG>0.913098633</ScG>
      <ScB>0.913098633</ScB>
    </Background>
    <Foreground>
      <A>255</A>
      <R>0</R>
      <G>0</G>
      <B>0</B>
      <ScA>1</ScA>
      <ScR>0</ScR>
      <ScG>0</ScG>
      <ScB>0</ScB>
    </Foreground>
    <ShowCaption>true</ShowCaption>
    <Columns />
  </AppearanceOptions>
  <Layout>&lt;XmlLabLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
	&lt;MainChartWindow Id="Main"&gt;
		&lt;Docking&gt;&amp;lt;?xml version="1.0" encoding="utf-16"?&amp;gt;&amp;lt;DockSiteLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SerializationFormat="All" Version="2"&amp;gt;&amp;lt;AutoHideHost /&amp;gt;&amp;lt;Content xsi:type="SplitContainer" Orientation="Horizontal" DockedSize="1918,830"&amp;gt;&amp;lt;UIElement xsi:type="Workspace"&amp;gt;&amp;lt;Content xsi:type="TabbedMdiHost"&amp;gt;&amp;lt;Content xsi:type="TabbedMdiContainer" SelectedWindowUniqueId="41638fdd-c10a-4c2b-a490-4d81d19f3e64"&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="41638fdd-c10a-4c2b-a490-4d81d19f3e64" /&amp;gt;&amp;lt;/Content&amp;gt;&amp;lt;/Content&amp;gt;&amp;lt;/UIElement&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowContainer" DockedSize="0,0"&amp;gt;&amp;lt;UIElement xsi:type="Track" UniqueId="41638fdd-c10a-4c2b-a490-4d81d19f3e64" /&amp;gt;&amp;lt;/UIElement&amp;gt;&amp;lt;/Content&amp;gt;&amp;lt;ToolWindows&amp;gt;&amp;lt;ToolWindow UniqueId="41638fdd-c10a-4c2b-a490-4d81d19f3e64" SerializationId="Graph" IsOpen="true" LastActiveDateTime="2017-12-12T17:41:19.179005+03:00" State="Document" /&amp;gt;&amp;lt;/ToolWindows&amp;gt;&amp;lt;/DockSiteLayout&amp;gt;&lt;/Docking&gt;
	&lt;/MainChartWindow&gt;
	&lt;Docking&gt;&amp;lt;DockSiteLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SerializationFormat="All" Version="2"&amp;gt;
	&amp;lt;AutoHideHost /&amp;gt;
	&amp;lt;Content xsi:type="Workspace"&amp;gt;
		&amp;lt;Content xsi:type="TabbedMdiHost"&amp;gt;
			&amp;lt;Content xsi:type="SplitContainer" Orientation="Horizontal" DockedSize="1918,875"&amp;gt;
				&amp;lt;UIElement xsi:type="TabbedMdiContainer" DockedSize="1416,200" SelectedWindowUniqueId="4549f0e0-47d9-4add-976c-8a0a38b7b8bd"&amp;gt;
					&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="683ddeaf-0966-4aba-8f9b-5923ac5d7e3a" /&amp;gt;
					&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="f8368a98-e988-406a-81b7-e12dde139fd5" /&amp;gt;
					&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="923da59b-d290-4f26-b624-81e9531df845" /&amp;gt;
					&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="1adb5a40-8257-4574-8a3a-5846f13507de" /&amp;gt;
					&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="d532dab5-4b2a-4c95-8824-31a0eb181fea" /&amp;gt;
					&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="0ac020dc-3d1d-4f6b-b4ab-211c7b7f3423" /&amp;gt;
					&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="4549f0e0-47d9-4add-976c-8a0a38b7b8bd" /&amp;gt;
				&amp;lt;/UIElement&amp;gt;
				&amp;lt;UIElement xsi:type="TabbedMdiContainer" DockedSize="501,875" SelectedWindowUniqueId="fc4aace2-22b0-4c7f-b7a3-e502b2cb9f83"&amp;gt;
					&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="fc4aace2-22b0-4c7f-b7a3-e502b2cb9f83" /&amp;gt;
				&amp;lt;/UIElement&amp;gt;
			&amp;lt;/Content&amp;gt;
		&amp;lt;/Content&amp;gt;
	&amp;lt;/Content&amp;gt;
	&amp;lt;ToolWindows&amp;gt;
		&amp;lt;ToolWindow UniqueId="683ddeaf-0966-4aba-8f9b-5923ac5d7e3a" SerializationId="EditorViewModel" Name="Editor" ContainerDockedSize="1416,200" IsOpen="true" LastActiveDateTime="2017-12-12T17:47:24.6725277+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="f8368a98-e988-406a-81b7-e12dde139fd5" SerializationId="ChartViewModel" Name="Graph" ContainerDockedSize="1416,200" IsOpen="true" LastActiveDateTime="2017-12-12T17:47:21.7265437+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="fc4aace2-22b0-4c7f-b7a3-e502b2cb9f83" SerializationId="PerformanceViewModel" Name="Performance" ContainerDockedSize="501,875" IsOpen="true" LastActiveDateTime="2017-12-12T18:14:16.9306754+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="923da59b-d290-4f26-b624-81e9531df845" SerializationId="TradesViewModel" Name="Trades" ContainerDockedSize="1416,200" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="1adb5a40-8257-4574-8a3a-5846f13507de" SerializationId="OptimizationViewModel" Name="Optimization" ContainerDockedSize="1416,200" IsOpen="true" LastActiveDateTime="2017-12-12T14:35:24.9967911+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="d532dab5-4b2a-4c95-8824-31a0eb181fea" SerializationId="ParametersViewModel" Name="Parameters" ContainerDockedSize="1416,200" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="0ac020dc-3d1d-4f6b-b4ab-211c7b7f3423" SerializationId="LogViewModel" Name="Log" ContainerDockedSize="1416,200" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="4549f0e0-47d9-4add-976c-8a0a38b7b8bd" SerializationId="ProfitModel" Name="Profit" ContainerDockedSize="1416,200" IsOpen="true" LastActiveDateTime="2017-12-12T18:14:15.1513917+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
	&amp;lt;/ToolWindows&amp;gt;
&amp;lt;/DockSiteLayout&amp;gt;&lt;/Docking&gt;
	&lt;ActiveWindow&gt;PerformanceViewModel&lt;/ActiveWindow&gt;
	&lt;LabModels&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;EditorViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;ChartViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;PerformanceViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;TradesViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;OptimizationViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;ParametersViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;LogViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;ProfitModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
	&lt;/LabModels&gt;
	&lt;LabWindows /&gt;
&lt;/XmlLabLayout&gt;</Layout>
</XmlLabSettings>]]></Settings2>
  <Comment><![CDATA[]]></Comment>
  <Tags />
</ExportScriptData>