<?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="0.82270247479188141">
        <Block Key="Источник1" Category="TradableSecurity" Location="50 73.190512499999954" TypeName="TradableSecuritySourceItem">
          <EditItem Guid="13E828E4-4633-455C-B81B-730B003D8002" CodeName="Источник1" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" />
        </Block>
        <Block Key="Закрытие" Category="TradeMath" Location="185 152.19051249999995" TypeName="ConverterItem">
          <EditItem Guid="566F73F2-A440-48DF-A5F7-5BA11ABF3973" CodeName="Закрытие" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Close, TSLab.Script.Handlers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Pane Key="Главная" Category="GraphPane" Location="0 253.19051249999995" Order="0" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Block Key="ЦенаВходаЛ" Category="Position" Location="936.45946142177741 244.94769218699378" TypeName="ConverterItem">
          <EditItem Guid="65ddaca4-9863-40af-ae84-fe05f516cdb2" CodeName="ЦенаВходаЛ" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.EntryPrice, TSLab.Script.Handlers, Version=2.0.36.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="МинимумЗа" Category="Indicators" Location="205.95128749999958 328.99464374999963" TypeName="ConverterItem">
          <EditItem Guid="c1a76372-e686-47e7-a77c-ed5651b03c57" CodeName="МинимумЗа" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Lowest, TSLab.Script.Handlers, Version=2.0.36.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Period" TypeName="Int32" Value="15" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="Минимум" Category="TradeMath" Location="184 205.19051249999995" TypeName="ConverterItem">
          <EditItem Guid="163b96d3-856d-4dcf-a349-7a2f0d34f622" CodeName="Минимум" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Low, TSLab.Script.Handlers, Version=2.0.36.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ОбновляЗначени" Category="ValueUpdater" Location="1424.07753125 223.42310624999993" TypeName="ValueUpdater">
          <EditItem Guid="3896f315-a6b7-4e89-8979-f1e8c519c15a" CodeName="ОбновляЗначени" IsParametersVisible="false" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.ValueUpdater+Handler, TSLab.ScriptEngine, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="StartFrom" TypeName="Double" Value="0" />
              <Parameter Name="NotClear" TypeName="Boolean" Value="true" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ОткрылиЛонг" Category="Formula" Location="1134.2930375 126.56108124999997" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="de333753-2c62-49ae-85eb-6860b8648ecf" CodeName="ОткрылиЛонг" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="ЦенаВходаЛ&gt;0&amp;&amp;ЦенаВходаЛ[i-1]==0" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="Формула" Category="Formula" Location="1390.5519 39.001274999999936" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="false">
          <EditItem Guid="4a281c97-e5bf-4151-a936-c572bb8a24a2" CodeName="Формула" IsParametersVisible="false" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="ОбновляЗначени+1" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ЛогичесФормула2" Category="Formula" Location="1403.0000000000002 399.13006875000008" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="false">
          <EditItem Guid="3045e1fe-08ff-4ea4-b5e3-153fd01587c4" CodeName="ЛогичесФормула2" IsParametersVisible="false" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="ОбновляЗначени&gt;0" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Pane Key="Главная1" Category="GraphPane" Location="1744.9739875000002 205.78985" Order="1" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Pane Key="Главная2" Category="GraphPane" Location="1751.5860750000002 71.363937499999878" Order="2" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Block Key="ЗакрПозиПоРынк" Category="ClosePosition" Location="1039.3708250000002 436.36674375000041" TypeName="ClosePositionByMarketItem">
          <EditItem Guid="764803ff-f3b1-445a-9969-5892800b482c" CodeName="ЗакрПозиПоРынк" IsParametersVisible="false" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="AddOpenName" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="УдерживБаров" Category="Position" Location="771.86610625000037 367.18541250000033" TypeName="ConverterItem">
          <EditItem Guid="ccb8531a-3744-4f8f-9489-f41610e70ad6" CodeName="УдерживБаров" IsParametersVisible="false" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.BarsHeld, TSLab.Script.Handlers, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ЛогичесФормула4" Category="Formula" Location="751.20250000000033 434.03825625000036" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="false">
          <EditItem Guid="cfd93dee-c438-4cde-a2ba-b4bf461b0387" CodeName="ЛогичесФормула4" IsParametersVisible="false" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="УдерживБаров==10" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="МаксимуЗа" Category="Indicators" Location="497.20658125000068 113.98954375000014" TypeName="ConverterItem">
          <EditItem Guid="7eba0abe-09cf-4664-abe8-d417db14ca13" CodeName="МаксимуЗа" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Highest, TSLab.Script.Handlers, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="Максимум" Category="TradeMath" Location="322.17368125000064 47.136700000000104" TypeName="ConverterItem">
          <EditItem Guid="cee04307-52e3-4889-b0d3-355434f11c40" CodeName="Максимум" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.High, TSLab.Script.Handlers, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ОткрПозиЕслиБоль" Category="OpenPosition" Location="702.627137500001 229.46263750000026" TypeName="OpenPositionIfGreaterItem">
          <EditItem Guid="8dbd6c95-89b1-4e7e-8e91-1469c1c15414" CodeName="ОткрПозиЕслиБоль" IsParametersVisible="false" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Slippage" TypeName="Double" Value="0" />
              <Parameter Name="Shares" TypeName="Double" Value="1" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ЗакрылиЛонг" Category="Formula" Location="1144.757206250001 266.33256875000035" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="cbb9f0fc-6392-4fee-b2b9-03b49e1187c3" CodeName="ЗакрылиЛонг" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="ЦенаВходаЛ==0&amp;&amp;ЦенаВходаЛ[i-1]&gt;0" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="КонтролПанель" Category="ControlPane" Location="481.50216875000046 496.21040625000046">
          <EditItem Name="2ea9713e-b77e-4a8f-af93-cd048f6cb9c7" IsVisible="true" />
        </Block>
        <Block Key="УправЛогичРазде" Category="TradeMath" Location="443.82147500000053 380.73731250000031" TypeName="ConverterItem">
          <EditItem Guid="b2da03e3-77fb-4456-b64a-4e62d6be69b2" CodeName="УправЛогичРазде" IsParametersVisible="false" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.TradeMath.ControlledBoolBreaker, TSLab.Script.Handlers, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Link From="Источник1" To="Закрытие" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <GraphLink From="Источник1" To="Главная" 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="-14685179" AltColor="-262137" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="Источник1" To="Минимум" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Минимум" To="МинимумЗа" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <GraphLink From="МинимумЗа" To="Главная" 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="-11051400" AltColor="-11569160" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="ЦенаВходаЛ" To="ОткрылиЛонг" FromPort="Out" ToPortNum="0" />
        <Link From="ОткрылиЛонг" To="ОбновляЗначени" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="ОбновляЗначени" To="Формула" FromPort="Out" ToPortNum="0" />
        <Link From="Формула" To="ОбновляЗначени" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="ОбновляЗначени" To="ЛогичесФормула2" FromPort="Out" ToPortNum="0" />
        <GraphLink From="ОбновляЗначени" To="Главная1" 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="-5464408" AltColor="-6932428" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="ОткрылиЛонг" To="Главная1" 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="-7869396" AltColor="-16487189" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="ОткрылиЛонг" To="Главная2" 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="-15536126" AltColor="-11196764" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="ЛогичесФормула4" To="ЗакрПозиПоРынк" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="УдерживБаров" To="ЛогичесФормула4" FromPort="Out" ToPortNum="0" />
        <Link From="Источник1" To="Максимум" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Максимум" To="МаксимуЗа" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="МаксимуЗа" To="ОткрПозиЕслиБоль" FromPort="Out" ToPort="Prc" ToPortNum="2" />
        <Link From="ОткрПозиЕслиБоль" To="ЦенаВходаЛ" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="ОткрПозиЕслиБоль" To="УдерживБаров" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="ЦенаВходаЛ" To="ЗакрылиЛонг" FromPort="Out" ToPortNum="0" />
        <Link From="ЗакрылиЛонг" To="ОбновляЗначени" FromPort="Out" ToPort="EqClear" ToPortNum="2" />
        <Link From="ОткрПозиЕслиБоль" To="ЗакрПозиПоРынк" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <Link From="Источник1" To="ОткрПозиЕслиБоль" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="УправЛогичРазде" To="ОткрПозиЕслиБоль" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="ЛогичесФормула2" To="УправЛогичРазде" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <ControlLink From="УправЛогичРазде" To="КонтролПанель" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="6" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.ToggleButtonControlEditData, TSLab.TemplatesEditor, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null">
              <ToggleButtonControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>ЖдемЛонг</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>0</Left>
                <Top>0</Top>
                <Width>NaN</Width>
                <Height>NaN</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
              </ToggleButtonControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <GraphLink From="МаксимуЗа" To="Главная" 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="-10736011" AltColor="-7256469" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <ControlLink From="МаксимуЗа" To="КонтролПанель" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Period" ControlType="1" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.IntTextEntryControlEditData, TSLab.TemplatesEditor, Version=2.0.36.49, Culture=neutral, PublicKeyToken=null">
              <IntTextEntryControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>Период</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>false</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>0</Left>
                <Top>70</Top>
                <Width>NaN</Width>
                <Height>NaN</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
              </IntTextEntryControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
      </Model>
    </ViewModel>
  </EditData>
  <Id>5f09405d-b651-490a-a9e4-a951591e74b4</Id>
  <Options xsi:type="LabOptions">
    <BarSizes>
      <BarSize Key="" Value="1.2745232708414256" />
    </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>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>215</R>
        <G>215</G>
        <B>215</B>
      </Default>
    </LegendForegroundColor>
    <ChartBackgroundColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
      </Default>
    </ChartBackgroundColor>
    <ChartForegroundColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>255</R>
        <G>255</G>
        <B>255</B>
      </Default>
    </ChartForegroundColor>
    <ChartGridColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>49</R>
        <G>49</G>
        <B>49</B>
      </Default>
    </ChartGridColor>
    <ChartBorderColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>49</R>
        <G>49</G>
        <B>49</B>
      </Default>
    </ChartBorderColor>
    <ChartRulerBackgroundColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>73</R>
        <G>73</G>
        <B>73</B>
      </Default>
    </ChartRulerBackgroundColor>
    <ChartRulerForegroundColor>
      <Value>
        <A>0</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
      </Value>
      <IsChanged>false</IsChanged>
      <Default>
        <A>255</A>
        <R>255</R>
        <G>255</G>
        <B>255</B>
      </Default>
    </ChartRulerForegroundColor>
    <IntervalBase>SECONDS</IntervalBase>
    <Interval>10</Interval>
    <GraphListVisibilities />
    <VerticalIndents />
    <RecalcInterval>INTERVAL</RecalcInterval>
    <DateFrom>2019-08-30T00:00:00+03:00</DateFrom>
    <UseDateFrom>true</UseDateFrom>
    <DateTo>2019-09-30T00:00:00+03:00</DateTo>
    <UseDateTo>false</UseDateTo>
    <DateReload>2019-09-30T00:00:00+03:00</DateReload>
    <UseDateReload>true</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>
    <ScriptEditorUseGridStep>false</ScriptEditorUseGridStep>
    <ScriptEditorGridStep>20</ScriptEditorGridStep>
    <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="Алор" SecurityId="Si-3.20" Name="13E828E4-4633-455C-B81B-730B003D8002" VisualTypeName="Торгуемый инструмент" IsOption="false">
        <Records />
      </Source>
    </Sources>
    <Parameters>
      <Parameter xsi:type="IntOptimData" ItemName="7eba0abe-09cf-4664-abe8-d417db14ca13" BlockName="МаксимуЗа" Name="Период" InvariantName="Period" CodeName="МаксимуЗа_Period" UsedInOptimization="false" IsCalculable="false" Value="20" TypeName="Int32" MinValue="10" MaxValue="100" Step="5" ControlMinValue="10" ControlMaxValue="100" ControlStep="5" />
      <Parameter xsi:type="BoolOptimData" ItemName="8dbd6c95-89b1-4e7e-8e91-1469c1c15414" BlockName="ОткрПозиЕслиБоль" Name="Long" InvariantName="Long" CodeName="ОткрПозиЕслиБоль_Long" UsedInOptimization="false" IsCalculable="false" Value="True" />
      <Parameter xsi:type="BoolOptimData" ItemName="b2da03e3-77fb-4456-b64a-4e62d6be69b2" BlockName="УправЛогичРазде" Name="Значение" InvariantName="Value" CodeName="УправЛогичРазде_Value" UsedInOptimization="false" IsCalculable="false" Value="False" />
    </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>true</DefEntryApprove>
    <DefExitApprove>true</DefExitApprove>
    <AutoEntryBars>5</AutoEntryBars>
    <AutoEntryIgnoreByMarketAsLimit>false</AutoEntryIgnoreByMarketAsLimit>
    <AutoCloseBars>5</AutoCloseBars>
    <AutoCloseIgnoreByMarketAsLimit>false</AutoCloseIgnoreByMarketAsLimit>
    <Slippage>2</Slippage>
    <SlippagePct>0</SlippagePct>
    <TakeProfitNoSlippage>false</TakeProfitNoSlippage>
    <OpenPositionNoSlippage>false</OpenPositionNoSlippage>
    <ByMarketAsLimt>false</ByMarketAsLimt>
    <InvalidStopsByMarket>true</InvalidStopsByMarket>
    <RemoveInactivePositions>true</RemoveInactivePositions>
    <WarnSkippedOpenPositions>true</WarnSkippedOpenPositions>
    <NotOpenIfHasSkippedExit>true</NotOpenIfHasSkippedExit>
    <NoCalcInfo>false</NoCalcInfo>
    <MaxBarsForSignal>6</MaxBarsForSignal>
    <ExitSignalOnlyForLastBar>false</ExitSignalOnlyForLastBar>
    <WaitExecutionExitBars>4</WaitExecutionExitBars>
    <WaitExecutionEntryBars>4</WaitExecutionEntryBars>
  </Options>
  <Mappings>
    <Sources />
    <Parameters />
    <ParameterGroups />
    <AutoParameters />
  </Mappings>
  <AppearanceOptions>
    <Columns />
    <OptimizationColumns />
    <BarSizes />
    <GraphListVisibilities />
    <VerticalIndents />
  </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="1784,808"&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="82dfd0a3-7a46-4f5c-9c6b-d34c82de33fe"&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="82dfd0a3-7a46-4f5c-9c6b-d34c82de33fe" /&amp;gt;&amp;lt;/Content&amp;gt;&amp;lt;/Content&amp;gt;&amp;lt;/UIElement&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowContainer" SelectedWindowUniqueId="0299dff8-7a16-4570-8cf0-e6b843e6a9f5"&amp;gt;&amp;lt;UIElement xsi:type="Track" CreationDateTime="2020-02-07T13:27:25.4632913+03:00" UniqueId="82dfd0a3-7a46-4f5c-9c6b-d34c82de33fe" /&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="0299dff8-7a16-4570-8cf0-e6b843e6a9f5" /&amp;gt;&amp;lt;/UIElement&amp;gt;&amp;lt;/Content&amp;gt;&amp;lt;ToolWindows&amp;gt;&amp;lt;ToolWindow UniqueId="0299dff8-7a16-4570-8cf0-e6b843e6a9f5" SerializationId="КонтролПанель" IsOpen="true" LastActiveDateTime="2020-02-07T13:32:17.9728284+03:00" State="Docked" /&amp;gt;&amp;lt;ToolWindow UniqueId="82dfd0a3-7a46-4f5c-9c6b-d34c82de33fe" SerializationId="Graph" IsOpen="true" LastActiveDateTime="2020-02-07T13:32:26.820951+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="TabbedMdiContainer" DockedSize="1784,855" SelectedWindowUniqueId="3bf48ff3-784f-47e1-84ef-f1d9b4f19333"&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="acd2f416-136a-4bb3-89bd-64e3c34f252d" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="3bf48ff3-784f-47e1-84ef-f1d9b4f19333" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="b1577ed1-8b9b-4ccf-bcc1-9d6b382de5d4" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="30c8bc32-c082-4651-9f67-9c5ebe62af59" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="d90e21c5-fc2f-4411-81c3-8efa804394a2" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="06eb4d1c-a9d8-450c-81de-556f3c9a4781" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="49e3bf2a-6b05-4ef1-abeb-9b0e83445fb3" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="223e0492-bc8b-4d04-863f-1d789aa6ef48" /&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="acd2f416-136a-4bb3-89bd-64e3c34f252d" SerializationId="EditorViewModel" Name="Editor" ContainerDockedSize="1784,855" IsOpen="true" LastActiveDateTime="2020-02-07T13:57:37.008829+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="3bf48ff3-784f-47e1-84ef-f1d9b4f19333" SerializationId="ChartViewModel" Name="Graph" ContainerDockedSize="1784,855" IsOpen="true" LastActiveDateTime="2020-02-07T13:57:43.2771185+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="b1577ed1-8b9b-4ccf-bcc1-9d6b382de5d4" SerializationId="PerformanceViewModel" Name="Performance" ContainerDockedSize="1784,855" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="30c8bc32-c082-4651-9f67-9c5ebe62af59" SerializationId="TradesViewModel" Name="Trades" ContainerDockedSize="1784,855" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="d90e21c5-fc2f-4411-81c3-8efa804394a2" SerializationId="OptimizationViewModel" Name="Optimization" ContainerDockedSize="1784,855" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="06eb4d1c-a9d8-450c-81de-556f3c9a4781" SerializationId="ParametersViewModel" Name="Parameters" ContainerDockedSize="1784,855" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="49e3bf2a-6b05-4ef1-abeb-9b0e83445fb3" SerializationId="LogViewModel" Name="Log" ContainerDockedSize="1784,855" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="223e0492-bc8b-4d04-863f-1d789aa6ef48" SerializationId="ProfitModel" Name="Profit" ContainerDockedSize="1784,855" IsOpen="true" 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;ChartViewModel&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>
</ExportScriptData>