<?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="simbol" Category="TradableSecurity" Location="59 80" TypeName="TradableSecuritySourceItem">
          <EditItem Guid="13E828E4-4633-455C-B81B-730B003D8002" CodeName="simbol" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" />
        </Block>
        <Block Key="c" Category="TradeMath" Location="391 176" TypeName="ConverterItem">
          <EditItem Guid="566F73F2-A440-48DF-A5F7-5BA11ABF3973" CodeName="c" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Close, TSLab.Script.Handlers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Pane Key="pane" Category="GraphPane" Location="228 49" Order="0" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Block Key="cycle" Category="Usual" Location="613 80" TypeName="CycleItem">
          <EditItem Guid="d18f3d7a-58ad-4948-b614-594732926be4" CodeName="cycle" IsParametersVisible="true" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="MaxCount" TypeName="Int32" Value="2000000000" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="sum" Category="Formula" Location="798 184" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="217" ResizablePartHeight="108" OpenParams="true">
          <EditItem Guid="e5967c20-4a9f-4621-8136-9fe89fffea4e" CodeName="sum" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="i&gt;=cycle ? c[-cycle] : c[-i]" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="periodf" Category="Formula" SubGraphKey="periodcalc" Location="13 527" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="ced660f6-5fb6-4a6f-ab22-c8530df578d1" CodeName="periodf" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="(highf - lowf) &lt;1 ? periodf[i-1]: Math.Round(highf - lowf)" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="lowf" Category="Indicators" SubGraphKey="periodcalc" Location="54 629" TypeName="ConverterItem">
          <EditItem Guid="9fd208d7-777d-4422-b140-d63378848e4b" CodeName="lowf" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Lowest, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="highf" Category="Indicators" SubGraphKey="periodcalc" Location="230 661" TypeName="ConverterItem">
          <EditItem Guid="7a1d651e-a107-4a96-97ae-9f864ae672f6" CodeName="highf" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Highest, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="low" Category="TradeMath" SubGraphKey="periodcalc" Location="28 465" TypeName="ConverterItem">
          <EditItem Guid="10f659b5-54ae-4462-994e-5af0a0e8f0d5" CodeName="low" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Low, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="high" Category="TradeMath" SubGraphKey="periodcalc" Location="208 469" TypeName="ConverterItem">
          <EditItem Guid="fe53b5a8-416d-4e66-a157-d02d7a58848b" CodeName="high" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.High, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="SMA1" Category="Indicators" SubGraphKey="periodcalc" Location="156 747" TypeName="ConverterItem">
          <EditItem Guid="0f2d3eb3-a903-4ba6-892d-cc6d8f51778a" CodeName="SMA1" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.SMA, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="Period" Category="Formula" Location="1 329" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="59015c9c-701a-4967-a82b-9af82a950bdf" CodeName="Period" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="Math.Round( Multip*SMA1)" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="SMA" Category="Formula" Location="1350 70" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="false">
          <EditItem Guid="32cdd3dc-a133-4a89-b2f6-fc39813f47e8" CodeName="SMA" IsParametersVisible="false" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="CycleDoublResul/Period" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="CycleDoublResul" Category="Usual" Location="1251 405" TypeName="CycleDoubleResultItem">
          <EditItem Guid="b439dba2-fc8e-4775-830c-d40348268334" CodeName="CycleDoublResul" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" />
        </Block>
        <Block Key="ControlPane" Category="ControlPane" Location="269 248">
          <EditItem Name="384239c6-905c-4237-a27e-4848c85810ba" IsVisible="true" />
        </Block>
        <Block Key="sensitivity" Category="Const" SubGraphKey="periodcalc" Location="344 561" TypeName="ConverterItem">
          <EditItem Guid="27287c4e-1be4-4818-9338-8448d9adcbc4" CodeName="f" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.ConstGen, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="OneToManLinPar" Category="Usual" SubGraphKey="periodcalc" Location="424 727" TypeName="OneToManyParametersShareItem">
          <EditItem ParameterName1="Value" ParameterName2="Period" ParameterName3="Period" ParameterName4="Period" />
        </Block>
        <Block Key="periodcalc" Category="Group" IsSubGraph="true" IsSubGraphExpanded="false" Location="8 460" />
        <Block Key="CycleSum" Category="Usual" Location="1050 327" TypeName="CycleDoubleSumItem">
          <EditItem Guid="a2b46969-ba2b-4371-9881-136866de9551" CodeName="СуммаЦикла" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" />
        </Block>
        <Pane Key="ChartPeriod" Category="GraphPane" Location="257 371" Order="1" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Block Key="Multip" Category="Const" Location="42 219" TypeName="ConverterItem">
          <EditItem Guid="bfe7be47-909a-4b9d-9845-d410b1168726" CodeName="Constant" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.ConstGen, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Link From="simbol" To="c" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <GraphLink From="simbol" To="pane" 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="c" To="sum" FromPort="Out" ToPortNum="1" />
        <Link From="cycle" To="sum" FromPort="Out" ToPortNum="3" />
        <Link From="high" To="highf" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="low" To="lowf" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="lowf" To="periodf" FromPort="Out" ToPortNum="4" />
        <Link From="highf" To="periodf" FromPort="Out" ToPortNum="5" />
        <Link From="low" To="periodf" FromPort="Out" ToPortNum="6" />
        <Link From="high" To="periodf" FromPort="Out" ToPortNum="7" />
        <Link From="simbol" To="high" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="simbol" To="low" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="periodf" To="SMA1" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="SMA1" To="Period" FromPort="Out" ToPortNum="0" />
        <Link From="Period" To="SMA" FromPort="Out" ToPortNum="2" />
        <Link From="CycleDoublResul" To="SMA" FromPort="Out" ToPortNum="4" />
        <GraphLink From="SMA" To="pane" 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="-15996388" AltColor="-15925655" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="Period" To="cycle" FromPort="Out" ToPort="1" ToPortNum="0" />
        <Link From="sensitivity" To="OneToManLinPar" FromPort="Out" ToPort="ScriptEditor.Master" ToPortNum="0" />
        <Link From="highf" To="OneToManLinPar" FromPort="Out" ToPort="ScriptEditor.Slave.1" ToPortNum="1" />
        <Link From="lowf" To="OneToManLinPar" FromPort="Out" ToPort="ScriptEditor.Slave.2" ToPortNum="2" />
        <Link From="SMA1" To="OneToManLinPar" FromPort="Out" ToPort="ScriptEditor.Slave.3" ToPortNum="3" />
        <ControlLink From="sensitivity" To="ControlPane" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.0.502, Culture=neutral, PublicKeyToken=null">
              <UpDownControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>Sensitivity</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>0</Left>
                <Top>0</Top>
                <Width>112</Width>
                <Height>NaN</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>1</Step>
                <NumberDecimalDigits>0</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="sum" To="CycleSum" FromPort="Out" ToPort="1" ToPortNum="0" />
        <Link From="CycleSum" To="CycleDoublResul" FromPort="Out" ToPort="1" ToPortNum="0" />
        <Link From="c" To="SMA" FromPort="Out" ToPortNum="1" />
        <GraphLink From="lowf" To="pane" 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="-13700931" AltColor="-10434360" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="highf" To="pane" 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="-10964059" AltColor="-4171360" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="Period" To="ChartPeriod" 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="-4380950" AltColor="-13541643" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="Multip" To="Period" FromPort="Out" ToPortNum="1" />
        <ControlLink From="Multip" To="ControlPane" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.0.502, Culture=neutral, PublicKeyToken=null">
              <UpDownControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>Multip</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>0</Left>
                <Top>70</Top>
                <Width>112</Width>
                <Height>NaN</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>1</Step>
                <NumberDecimalDigits>0</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
      </Model>
    </ViewModel>
  </EditData>
  <Id>2f391ba2-ddfe-4857-a620-2c89e6190f09</Id>
  <Options xsi:type="LabOptions">
    <BarSizes>
      <BarSize Key="" Value="0.40610239197908177" />
    </BarSizes>
    <PaneSizes>
      <PaneSize Key="pane" Value="76.586097058501977" />
      <PaneSize Key="ChartPane" Value="43.71476458936462" />
      <PaneSize Key="ChartPane1" Value="31.284682232227002" />
      <PaneSize Key="ChartPeriod" Value="23.413902941498026" />
    </PaneSizes>
    <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>MINUTE</IntervalBase>
    <Interval>5</Interval>
    <GraphListVisibilities />
    <VerticalIndents />
    <RecalcInterval>INTERVAL</RecalcInterval>
    <DateFrom>2019-02-15T00:00:00+03:00</DateFrom>
    <UseDateFrom>false</UseDateFrom>
    <DateTo>2019-03-15T00:00:00+03:00</DateTo>
    <UseDateTo>false</UseDateTo>
    <DateReload>2019-03-15T00: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>
    <ScriptEditorUseGridStep>false</ScriptEditorUseGridStep>
    <ScriptEditorGridStep>20</ScriptEditorGridStep>
    <ScriptEditorShowLinks>true</ScriptEditorShowLinks>
    <TradeFromBar>0</TradeFromBar>
    <IsSplittedProfitByInstruments>false</IsSplittedProfitByInstruments>
    <NotUsePositions>false</NotUsePositions>
    <InitDeposit>0</InitDeposit>
    <LabCalcType>Default</LabCalcType>
    <TradeMode>All</TradeMode>
    <IsShowedBlockNumbers>true</IsShowedBlockNumbers>
  </Options>
  <Mappings>
    <Sources>
      <Source DataSourceName="IQFeed" SecurityId="AAPL" Name="13E828E4-4633-455C-B81B-730B003D8002" VisualTypeName="Tradable instrument" IsOption="false">
        <Records />
      </Source>
    </Sources>
    <Parameters>
      <Parameter xsi:type="OptimData" ItemName="27287c4e-1be4-4818-9338-8448d9adcbc4" BlockName="sensitivity" Name="Value" InvariantName="Value" CodeName="f_Value" UsedInOptimization="false" IsCalculable="false" Value="200" TypeName="Double" MinValue="1" MaxValue="10" Step="1" ControlMinValue="1" ControlMaxValue="10" ControlStep="1" NumberDecimalDigits="0" />
      <Parameter xsi:type="IntOptimData" ItemName="b439dba2-fc8e-4775-830c-d40348268334" BlockName="CycleDoublResul" Name="Index" InvariantName="Index" CodeName="CycleDoublResul_Index" UsedInOptimization="false" IsCalculable="false" Value="0" TypeName="Int32" MinValue="0" MaxValue="2147483647" Step="1" ControlMinValue="0" ControlMaxValue="2147483647" ControlStep="1" />
      <Parameter xsi:type="BoolOptimData" ItemName="b439dba2-fc8e-4775-830c-d40348268334" BlockName="CycleDoublResul" Name="Use last index" InvariantName="UseLastIndex" CodeName="CycleDoublResul_UseLastIndex" UsedInOptimization="false" IsCalculable="false" Value="True" />
      <Parameter xsi:type="OptimData" ItemName="bfe7be47-909a-4b9d-9845-d410b1168726" BlockName="Multip" Name="Value" InvariantName="Value" CodeName="Constant_Value" UsedInOptimization="false" IsCalculable="false" Value="5" TypeName="Double" MinValue="1" MaxValue="10" Step="1" ControlMinValue="1" ControlMaxValue="10" ControlStep="1" NumberDecimalDigits="0" />
    </Parameters>
    <ParameterGroups />
    <AutoParameters>
      <AutoParameter xsi:type="StringOptimData" ItemName="8f5708f7-590f-463a-a954-bd1e0d0b119d" Name="AutoProperty" InvariantName="AutoProperty" UsedInOptimization="false" IsCalculable="false" Value="" />
    </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>
    <AutoEntryIgnoreByMarketAsLimit>false</AutoEntryIgnoreByMarketAsLimit>
    <AutoCloseBars>0</AutoCloseBars>
    <AutoCloseIgnoreByMarketAsLimit>false</AutoCloseIgnoreByMarketAsLimit>
    <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>
  </Options>
  <Mappings>
    <Sources />
    <Parameters />
    <ParameterGroups />
    <AutoParameters />
  </Mappings>
  <AppearanceOptions>
    <Columns />
    <OptimizationColumns>
      <LabTableColumnProperties>
        <Name>Имя блока</Name>
        <Header>Имя блока</Header>
        <IsVisible>true</IsVisible>
        <Width>182</Width>
        <DefinedWidth>182</DefinedWidth>
        <DisplayIndex>0</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
      <LabTableColumnProperties>
        <Name>Параметр</Name>
        <Header>Параметр</Header>
        <IsVisible>true</IsVisible>
        <Width>100</Width>
        <DefinedWidth>100</DefinedWidth>
        <DisplayIndex>1</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
      <LabTableColumnProperties>
        <Name>Значение</Name>
        <Header>Значение</Header>
        <IsVisible>true</IsVisible>
        <Width>125</Width>
        <DefinedWidth>Auto</DefinedWidth>
        <DisplayIndex>2</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
      <LabTableColumnProperties>
        <Name>Мин</Name>
        <Header>Мин</Header>
        <IsVisible>true</IsVisible>
        <Width>70</Width>
        <DefinedWidth>Auto</DefinedWidth>
        <DisplayIndex>3</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
      <LabTableColumnProperties>
        <Name>Макс</Name>
        <Header>Макс</Header>
        <IsVisible>true</IsVisible>
        <Width>90</Width>
        <DefinedWidth>Auto</DefinedWidth>
        <DisplayIndex>4</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
      <LabTableColumnProperties>
        <Name>Шаг</Name>
        <Header>Шаг</Header>
        <IsVisible>true</IsVisible>
        <Width>70</Width>
        <DefinedWidth>Auto</DefinedWidth>
        <DisplayIndex>5</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
      <LabTableColumnProperties>
        <Name>Выбрать</Name>
        <Header>Выбрать</Header>
        <IsVisible>true</IsVisible>
        <Width>70</Width>
        <DefinedWidth>70</DefinedWidth>
        <DisplayIndex>6</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
    </OptimizationColumns>
    <OptimizationResultColumns />
    <BarSizes />
    <PaneSizes />
    <GraphListVisibilities />
    <VerticalIndents />
    <LogFilterSettings>
      <NotificationType>Info</NotificationType>
      <NotificationType>Warning</NotificationType>
      <NotificationType>Error</NotificationType>
      <NotificationType>Info</NotificationType>
      <NotificationType>Warning</NotificationType>
      <NotificationType>Error</NotificationType>
      <NotificationType>Info</NotificationType>
      <NotificationType>Warning</NotificationType>
      <NotificationType>Error</NotificationType>
      <NotificationType>Info</NotificationType>
      <NotificationType>Warning</NotificationType>
      <NotificationType>Error</NotificationType>
    </LogFilterSettings>
  </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,810"&amp;gt;&amp;lt;UIElement xsi:type="Workspace"&amp;gt;&amp;lt;Content xsi:type="TabbedMdiHost"&amp;gt;&amp;lt;Content xsi:type="TabbedMdiContainer" DockedSize="1716,853" SelectedWindowUniqueId="944474e0-f7e0-45fe-80de-836c8dbe9a09"&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="944474e0-f7e0-45fe-80de-836c8dbe9a09" /&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" CreationDateTime="2019-06-06T17:38:31.330807+03:00" UniqueId="944474e0-f7e0-45fe-80de-836c8dbe9a09" /&amp;gt;&amp;lt;/UIElement&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowContainer" DockedSize="200,810" SelectedWindowUniqueId="d6140adf-da66-4945-9654-d71aaeb1829e"&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="d6140adf-da66-4945-9654-d71aaeb1829e" /&amp;gt;&amp;lt;/UIElement&amp;gt;&amp;lt;/Content&amp;gt;&amp;lt;ToolWindows&amp;gt;&amp;lt;ToolWindow UniqueId="944474e0-f7e0-45fe-80de-836c8dbe9a09" SerializationId="Graph" ContainerDockedSize="1716,853" IsOpen="true" LastActiveDateTime="2019-06-26T13:44:36.2557897+03:00" State="Document" /&amp;gt;&amp;lt;ToolWindow UniqueId="d6140adf-da66-4945-9654-d71aaeb1829e" SerializationId="ControlPane" ContainerDockedSize="200,810" IsOpen="true" LastActiveDateTime="2019-06-26T13:44:10.2887363+03:00" State="Docked" /&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="1918,857" SelectedWindowUniqueId="97ef9fbc-b665-41bc-b26e-f55a0b19029c"&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="97ef9fbc-b665-41bc-b26e-f55a0b19029c" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="d87eb57a-2ba0-4294-80d5-f85b3ca36c41" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="9e2e82db-3027-4a73-975d-8abdc3023ed0" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="708fa683-6394-4b7f-8e0b-3856be8607df" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="66e7a2d4-9a98-4f09-84ab-2287054705a6" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="62154b65-5260-43b6-b7a0-3f51f9a838b7" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="02eef67f-3db8-494d-9446-53f89e68cc31" /&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="97ef9fbc-b665-41bc-b26e-f55a0b19029c" SerializationId="EditorViewModel" Name="Editor" ContainerDockedSize="1918,857" IsOpen="true" LastActiveDateTime="2019-06-26T13:45:38.5122739+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="d87eb57a-2ba0-4294-80d5-f85b3ca36c41" SerializationId="ChartViewModel" Name="Graph" ContainerDockedSize="1918,857" IsOpen="true" LastActiveDateTime="2019-06-26T13:45:11.813925+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="9e2e82db-3027-4a73-975d-8abdc3023ed0" SerializationId="PerformanceViewModel" Name="Performance" ContainerDockedSize="1918,857" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="708fa683-6394-4b7f-8e0b-3856be8607df" SerializationId="TradesViewModel" Name="Trades" ContainerDockedSize="1918,857" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="66e7a2d4-9a98-4f09-84ab-2287054705a6" SerializationId="OptimizationViewModel" Name="Optimization" ContainerDockedSize="1918,857" IsOpen="true" LastActiveDateTime="2019-03-20T00:20:41.0115046+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="62154b65-5260-43b6-b7a0-3f51f9a838b7" SerializationId="ParametersViewModel" Name="Parameters" ContainerDockedSize="1918,857" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="02eef67f-3db8-494d-9446-53f89e68cc31" SerializationId="LogViewModel" Name="Log" ContainerDockedSize="1918,857" IsOpen="true" LastActiveDateTime="2019-03-20T01:29:42.3104894+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="9254cfc5-b726-4fb9-a706-4c5c6b3343ab" SerializationId="ProfitModel" Name="Profit" IsOpen="false" 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;EditorViewModel&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;false&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
	&lt;/LabModels&gt;
	&lt;LabWindows /&gt;
&lt;/XmlLabLayout&gt;</Layout>
</XmlLabSettings>]]></Settings2>
</ExportScriptData>