<?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="Источник1" Category="TradableSecurity" Location="50 0" TypeName="TradableSecuritySourceItem">
          <EditItem Guid="13E828E4-4633-455C-B81B-730B003D8002" CodeName="Источник1" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" />
        </Block>
        <Block Key="Закрытие1" Category="TradeMath" Location="274 148" TypeName="ConverterItem">
          <EditItem Guid="566F73F2-A440-48DF-A5F7-5BA11ABF3973" CodeName="Закрытие1" 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 180" Order="0" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Block Key="EMA" Category="Indicators" Location="449 89" TypeName="ConverterItem">
          <EditItem Guid="904d2f48-0311-46ea-b226-80c3474ca5ff" CodeName="EMA" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.EMA, TSLab.Script.Handlers, Version=2.0.30.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Period" TypeName="Int32" Value="1000" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="EMA1" Category="Indicators" Location="448 203" TypeName="ConverterItem">
          <EditItem Guid="f09405bf-156a-4375-b3e1-09fe844936bb" CodeName="EMA1" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.EMA, TSLab.Script.Handlers, Version=2.0.30.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Period" TypeName="Int32" Value="80" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ПересечСверху" Category="TradeMath" Location="746 227" TypeName="TwoOrMoreInputsItem">
          <EditItem Guid="277ab4ba-e7aa-4d37-bb61-172bf206d80e" CodeName="ПересечСверху" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.CrossOver, TSLab.Script.Handlers, Version=2.0.30.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ПересечСнизу" Category="TradeMath" Location="809 86" TypeName="TwoOrMoreInputsItem">
          <EditItem Guid="adef145a-40b9-4d09-bffd-69c04f42ed19" CodeName="ПересечСнизу" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.CrossUnder, TSLab.Script.Handlers, Version=2.0.30.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ОткрПозиПоРынк" Category="OpenPosition" Location="1080 65" TypeName="OpenPositionByMarketItem">
          <EditItem Guid="831b113f-c9a4-4948-a0e8-a95cddbdff00" CodeName="ОткрПозиПоРынк" IsParametersVisible="false" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Long" TypeName="Boolean" Value="true" />
              <Parameter Name="Shares" TypeName="Double" Value="1" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ЗакрПозиПоРынк" Category="ClosePosition" Location="1309 77" TypeName="ClosePositionByMarketItem">
          <EditItem Guid="1cb36e12-823b-442d-9cff-fdad43a239f4" CodeName="ЗакрПозиПоРынк" IsParametersVisible="false" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="AddOpenName" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ОткрПозиПоРынк1" Category="OpenPosition" Location="1073 202" TypeName="OpenPositionByMarketItem">
          <EditItem Guid="40d4ff6c-21c4-4c60-8fe2-6f63c4c20fe6" CodeName="ОткрПозиПоРынк1" IsParametersVisible="false" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Long" TypeName="Boolean" Value="false" />
              <Parameter Name="Shares" TypeName="Double" Value="1" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ЗакрПозиПоРынк1" Category="ClosePosition" Location="1309 214" TypeName="ClosePositionByMarketItem">
          <EditItem Guid="9258e737-b0b0-4048-b39b-5cef01b71147" CodeName="ЗакрПозиПоРынк1" IsParametersVisible="false" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="AddOpenName" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="КонтролПанель" Category="ControlPane" Location="57 662">
          <EditItem Name="116e3a30-587b-4f97-9e66-0b675bdd0929" IsVisible="true" />
        </Block>
        <Block Key="Доход" Category="Portfolio" Location="228 947" TypeName="ConverterItem">
          <EditItem Guid="e2149588-dac9-4d61-801d-0ab977f36877" CodeName="Доход" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.WholeTimeProfit, TSLab.Script.Handlers, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ОтносПросадка" Category="Formula" SubGraphKey="ПросадкаTSLabКаквРезультатах" Location="906 871" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="a0797bed-df3d-4f7b-95b2-a3f95224dbe9" CodeName="ОтносПросадка" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="(Просадка*100)/ТочкаОтсчета" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Pane Key="ПросадкаКакВрезультатахПроц" Category="GraphPane" SubGraphKey="ПросадкаTSLabКаквРезультатах" Location="1261 729" Order="1" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Block Key="ТочкаОтсчета" Category="ValueUpdater" SubGraphKey="ПросадкаTSLabКаквРезультатах" Location="907 768" TypeName="ValueUpdater">
          <EditItem Guid="6fe02dd0-1438-4a74-85ab-42557e90b81c" CodeName="ТочкаОтсчета" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.ValueUpdater+Handler, TSLab.ScriptEngine, Version=2.0.33.16, 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" SubGraphKey="ПросадкаTSLabКаквРезультатах" Location="892 667" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="32873644-94ae-4508-9283-01ff6e3ee905" CodeName="ЛогичесФормула" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="i==1" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ПросадкаTSLabКаквРезультатах" Category="Group" IsSubGraph="true" Location="887 662" />
        <Block Key="Случилось" Category="Formula" Location="988 459" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="383" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="2d705ca9-2264-4016-ae1d-09b0bec1d7f9" CodeName="Случилось" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="ОтносПросадка&gt;Убыток" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="1" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ДНИ" Category="ValueUpdater" SubGraphKey="Дней" Location="1778 292" TypeName="ValueUpdater">
          <EditItem Guid="aff9c84b-b988-4ea2-9e6e-c1dfd1600180" CodeName="ДНИ" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.ValueUpdater+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="StartFrom" TypeName="Double" Value="0" />
              <Parameter Name="NotClear" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="СчетчикДней" Category="Formula" SubGraphKey="Дней" Location="1802 391" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="b7a2ab30-57ec-46d9-ad6d-4274674f99cc" CodeName="СчетчикДней" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="ДНИ+1" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="Дата" Category="TradeMath" SubGraphKey="Дней" Location="1544 291" TypeName="ConverterItem">
          <EditItem Guid="704d5858-663f-4a2e-8b45-f0ff0e394141" CodeName="Дата" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Date, TSLab.Script.Handlers, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ЛогичесФормула1" Category="Formula" SubGraphKey="Дней" Location="1534 351" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="6cd520d7-3341-4ea8-8b26-a987ddba44df" CodeName="ЛогичесФормула1" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="Дата!=Дата[i-1]  &amp;&amp; Случилось" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ДнейСталоМного" Category="Formula" SubGraphKey="Дней" Location="1545 468" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="4d099eff-3c2e-406d-8d05-bb364a86e706" CodeName="ДнейСталоМного" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="ДНИ&gt;ДнейНеВходить" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ДнейНеВходить" Category="Const" SubGraphKey="Дней" Location="1574 573" TypeName="ConverterItem">
          <EditItem Guid="d010911f-f6b4-4592-81b8-21ead34b7adb" CodeName="ДнейНеВходить" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.ConstGen, TSLab.Script.Handlers, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ВсеОКможноТорговать" Category="Formula" Location="813 366" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="84048225-aae8-45e9-9bad-bc1f88f9b3a4" CodeName="ВсеОКможноТорговать" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="ДНИ==0" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="Дней" Category="Group" IsSubGraph="true" Location="1529 286" />
        <Block Key="Просадка" Category="Formula" Location="518 965" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="409a2852-54ae-441e-b056-4204a97f9b81" CodeName="Просадка" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="МаксимумДохода - Доход" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="МаксимумДохода" Category="ValueUpdater" Location="523 856" TypeName="ValueUpdater">
          <EditItem Guid="fdd30510-dc78-4d2b-addd-ab866a573b68" CodeName="МаксимумДохода" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.ValueUpdater+Handler, TSLab.ScriptEngine, Version=2.0.33.16, 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="572 710" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="a1d2bbab-5dd0-457e-83ea-f042c0e6db98" CodeName="ИщемНовыйМаксимумДохода" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="МаксимумДохода &lt; Доход  " />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ОтноситПросадка" Category="Formula" Location="932 1211" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="d2213737-14a6-4b85-99fa-2e4c8049ed04" CodeName="ОтноситПросадка" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="(Убыток*100)&#xD;&#xA; /&#xD;&#xA; (ОтносМаксДоход)" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="И" Category="LogicalAndTemplate" Location="990 120" TypeName="TwoOrMoreInputsItem">
          <EditItem Guid="36c6ebcf-0773-4a0b-ade2-12eab76f8552" CodeName="И" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.And, TSLab.Script.Handlers, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="И1" Category="LogicalAndTemplate" Location="970 246" TypeName="TwoOrMoreInputsItem">
          <EditItem Guid="169b535d-bbbb-4b07-98ab-f219c056318a" CodeName="И1" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.And, TSLab.Script.Handlers, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="НЕ" Category="LogicalNotTemplate" Location="1224 400" TypeName="ConverterItem">
          <EditItem Guid="071c0cbe-2262-41f4-a596-89805efb8cf8" CodeName="НЕ" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.Not, TSLab.Script.Handlers, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ОтносМаксДоход" Category="Formula" Location="924 1098" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="f67fdd0f-7b62-4138-aa22-586c26d0ed8c" CodeName="ОтносМаксДоход" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="(МаксимумДохода*100)/ТочкаОтсчета" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="Комментарий1" Category="Comment" Location="1211 1127" ResizablePartWidth="182" ResizablePartHeight="141">
          <Comment IsParametersVisible="true">Можно было посчитать и через абсолютные значения, было бы тоже самое, просто захотелось так, показать, как считается ПУ в процентах</Comment>
        </Block>
        <Block Key="ОтносДоход1" Category="Formula" Location="302 1175" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="d89e477f-5ddc-4732-94d1-019a14759154" CodeName="ОтносДоход1" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.DoubleCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="(Доход*100)/ТочкаОтсчета" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="Убыток" Category="GraphPaneHandler" Location="320 703" TypeName="ConverterItem">
          <EditItem Guid="196e2a75-bbb4-44be-b2cf-e1f9f7f5f10d" CodeName="Убыток" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.InteractiveConstGen, TSLab.Script.Handlers, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="PaneSide" TypeName="PaneSides" Value="RIGHT" />
              <Parameter Name="Color" TypeName="String" Value="#FFFEF26F" />
              <Parameter Name="Thickness" TypeName="Double" Value="2" />
              <Parameter Name="IsNeedRecalculate" TypeName="Boolean" Value="true" />
            </Parameters>
          </EditItem>
        </Block>
        <Pane Key="ПанельГрафика" Category="GraphPane" Location="613 1115" Order="2" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Link From="Источник1" To="Закрытие1" 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="-15197697" AltColor="-53451" 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="Закрытие1" To="EMA" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Закрытие1" To="EMA1" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="ОткрПозиПоРынк" To="ЗакрПозиПоРынк" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <GraphLink From="EMA" 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="-1271220" AltColor="-13808910" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="EMA1" 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="-12068241" AltColor="-488401" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="EMA1" To="ПересечСнизу" FromPort="Out" ToPort="2" ToPortNum="1" />
        <Link From="EMA" To="ПересечСнизу" FromPort="Out" ToPort="1" ToPortNum="0" />
        <Link From="EMA1" To="ПересечСверху" FromPort="Out" ToPort="2" ToPortNum="1" />
        <Link From="EMA" To="ПересечСверху" FromPort="Out" ToPort="1" ToPortNum="0" />
        <Link From="ОткрПозиПоРынк1" To="ЗакрПозиПоРынк1" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <Link From="Источник1" To="ОткрПозиПоРынк1" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Источник1" To="Доход" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <ControlLink From="Доход" To="КонтролПанель" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="ProfitKind" ControlType="0" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.NotDefinedControlEditData, TSLab.TemplatesEditor, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
              <NotDefinedControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>false</IsNeedRecalculate>
                <HasRect>false</HasRect>
                <Left>0</Left>
                <Top>0</Top>
                <Width>NaN</Width>
                <Height>NaN</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
              </NotDefinedControlEditData>
            </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="-8366406" AltColor="-13291548" 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="Eq" ToPortNum="1" />
        <Link From="ТочкаОтсчета" To="ОтносПросадка" FromPort="Out" ToPortNum="2" />
        <Link From="Закрытие1" To="ЛогичесФормула" FromPort="Out" ToPortNum="0" />
        <Link From="ДНИ" To="СчетчикДней" FromPort="Out" ToPortNum="0" />
        <Link From="СчетчикДней" To="ДНИ" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Источник1" To="Дата" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Дата" To="ЛогичесФормула1" FromPort="Out" ToPortNum="0" />
        <Link From="СчетчикДней" To="ДнейСталоМного" FromPort="Out" ToPortNum="0" />
        <Link From="ДнейСталоМного" To="ДНИ" FromPort="Out" ToPort="EqClear" ToPortNum="2" />
        <Link From="ДнейНеВходить" To="ДнейСталоМного" FromPort="Out" ToPortNum="1" />
        <ControlLink From="ДнейНеВходить" To="КонтролПанель" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.0.33.16, 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>Дней</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>0</Left>
                <Top>84</Top>
                <Width>NaN</Width>
                <Height>NaN</Height>
                <IsReadOnly>false</IsReadOnly>
                <HelpMessage>Сколько дней не входим в позицию после просадки</HelpMessage>
                <IsHelpVisible>true</IsHelpVisible>
                <Step>1</Step>
                <NumberDecimalDigits>0</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="ДНИ" To="ВсеОКможноТорговать" FromPort="Out" ToPortNum="0" />
        <Link From="МаксимумДохода" To="Просадка" FromPort="Out" ToPortNum="2" />
        <Link From="МаксимумДохода" To="ИщемНовыйМаксимумДохода" FromPort="Out" ToPortNum="3" />
        <Link From="ИщемНовыйМаксимумДохода" To="МаксимумДохода" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="Доход" To="Просадка" FromPort="Out" ToPortNum="3" />
        <Link From="ОтносПросадка" To="ИщемНовыйМаксимумДохода" FromPort="Out" ToPortNum="5" />
        <Link From="Доход" To="ИщемНовыйМаксимумДохода" FromPort="Out" ToPortNum="6" />
        <Link From="Доход" To="МаксимумДохода" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Просадка" To="ОтносПросадка" FromPort="Out" ToPortNum="3" />
        <Link From="ОтносПросадка" To="Случилось" FromPort="Out" ToPortNum="1" />
        <Link From="ОтносПросадка" To="ОтноситПросадка" FromPort="Out" ToPortNum="1" />
        <ControlLink From="ОтноситПросадка" To="КонтролПанель" FromPort="Out" Category="ControlPaneLink">
          <EditItem>
            <AutoProperty PropertyName="AutoProperty" ControlType="1" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.TextEntryControlEditData, TSLab.TemplatesEditor, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
              <TextEntryControlEditData 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>384</Top>
                <Width>170</Width>
                <Height>40</Height>
                <IsReadOnly>true</IsReadOnly>
                <HelpMessage>Значение линии в процентах относительно дохода</HelpMessage>
                <IsHelpVisible>true</IsHelpVisible>
                <NumberDecimalDigits>2</NumberDecimalDigits>
              </TextEntryControlEditData>
            </AutoProperty>
          </EditItem>
        </ControlLink>
        <Link From="ДНИ" To="ДнейСталоМного" FromPort="Out" ToPortNum="2" />
        <Link From="ЛогичесФормула1" To="ДНИ" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="Случилось" To="ЛогичесФормула1" FromPort="Out" ToPortNum="1" />
        <Link From="ПересечСнизу" To="И" FromPort="Out" ToPort="In" ToPortNum="0" />
        <Link From="ПересечСверху" To="И1" FromPort="Out" ToPort="In" ToPortNum="0" />
        <Link From="ВсеОКможноТорговать" To="И1" FromPort="Out" ToPort="In" ToPortNum="0" />
        <Link From="ВсеОКможноТорговать" To="И" FromPort="Out" ToPort="In" ToPortNum="0" />
        <Link From="И" To="ОткрПозиПоРынк" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="И1" To="ОткрПозиПоРынк1" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <ControlLink From="ДНИ" To="КонтролПанель" FromPort="Out" Category="ControlPaneLink">
          <EditItem>
            <AutoProperty PropertyName="AutoProperty" ControlType="1" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.TextEntryControlEditData, TSLab.TemplatesEditor, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null">
              <TextEntryControlEditData 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>84</Left>
                <Top>88</Top>
                <Width>102</Width>
                <Height>NaN</Height>
                <IsReadOnly>false</IsReadOnly>
                <HelpMessage>СколькоПрошлоДнейсПоследнейПросадки</HelpMessage>
                <IsHelpVisible>true</IsHelpVisible>
                <NumberDecimalDigits>0</NumberDecimalDigits>
              </TextEntryControlEditData>
            </AutoProperty>
          </EditItem>
        </ControlLink>
        <Link From="ПересечСверху" To="ЗакрПозиПоРынк" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="ПересечСнизу" To="ЗакрПозиПоРынк1" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="Случилось" To="НЕ" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="НЕ" To="И1" FromPort="Out" ToPort="In" ToPortNum="0" />
        <Link From="НЕ" To="И" FromPort="Out" ToPort="In" ToPortNum="0" />
        <Link From="МаксимумДохода" To="ОтноситПросадка" FromPort="Out" ToPortNum="2" />
        <Link From="ТочкаОтсчета" To="ОтносМаксДоход" FromPort="Out" ToPortNum="1" />
        <Link From="МаксимумДохода" To="ОтносМаксДоход" FromPort="Out" ToPortNum="2" />
        <Link From="Доход" To="ОтносМаксДоход" FromPort="Out" ToPortNum="3" />
        <Link From="ОтносМаксДоход" To="ОтноситПросадка" FromPort="Out" ToPortNum="3" />
        <Link From="Комментарий1" To="ОтноситПросадка" FromPort="Out" ToPortNum="4" />
        <Link From="Комментарий1" To="ОтносМаксДоход" FromPort="Out" ToPortNum="5" />
        <Link From="Доход" To="ОтносДоход1" FromPort="Out" ToPortNum="6" />
        <Link From="ТочкаОтсчета" To="ОтносДоход1" FromPort="Out" ToPortNum="7" />
        <Link From="ПанельГрафика" To="Убыток" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Убыток" To="Случилось" FromPort="Out" ToPortNum="1" />
        <Link From="Убыток" To="ОтноситПросадка" FromPort="Out" ToPortNum="1" />
        <ControlLink From="Убыток" To="КонтролПанель" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.0.33.16, 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">
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>0</Left>
                <Top>424</Top>
                <Width>NaN</Width>
                <Height>NaN</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>0.001</Step>
                <NumberDecimalDigits>3</NumberDecimalDigits>
              </UpDownControlEditData>
            </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="-16773889" AltColor="-3503063" Opacity="30" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="ОтносДоход1" 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="HISTOHRAM" CandleStyle="BAR_CANDLE" LineStyle="SOLID" Color="-9579520" AltColor="-1566527" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
      </Model>
    </ViewModel>
  </EditData>
  <Id>5a685259-679f-4a44-8f51-b05546605f4c</Id>
  <Options xsi:type="LabOptions">
    <BarSizes>
      <BarSize Key="" Value="0.025600454634111494" />
      <BarSize Key="Profit" Value="2.6516809523809526" />
      <BarSize Key="ТакCчитаетПросадкуTSLab" Value="0.028160500097522662" />
      <BarSize Key="Окно" Value="0.034074205118002424" />
    </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>MINUTE</IntervalBase>
    <Interval>1</Interval>
    <GraphListVisibilities>
      <GraphListVisibility Key="Главная_pane_Источник1_chart.Text" Value="true" />
      <GraphListVisibility Key="Главная_pane_Источник1_chart.Text.SecuritySymbol" Value="false" />
      <GraphListVisibility Key="Главная_pane_Источник1_chart.Text.SignalName" Value="false" />
      <GraphListVisibility Key="Главная_pane_Источник1_chart.Text.Shares" Value="false" />
      <GraphListVisibility Key="Главная_pane_Источник1_chart.Text.Price" Value="true" />
      <GraphListVisibility Key="Главная_pane_Источник1_chart.Links" Value="false" />
    </GraphListVisibilities>
    <VerticalIndents />
    <RecalcInterval>INTERVAL</RecalcInterval>
    <DateFrom>2019-01-28T01:00:00+03:00</DateFrom>
    <UseDateFrom>false</UseDateFrom>
    <DateTo>2019-02-28T01:00:00+03:00</DateTo>
    <UseDateTo>false</UseDateTo>
    <DateReload>2019-02-28T01: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>
    <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="TSLab_помощь" SecurityId="13_SI-6.17 (SIM7) 15.06.2017" Name="13E828E4-4633-455C-B81B-730B003D8002" VisualTypeName="Торгуемый инструмент" IsOption="false">
        <Records />
      </Source>
    </Sources>
    <Parameters>
      <Parameter xsi:type="OptimData" ItemName="d010911f-f6b4-4592-81b8-21ead34b7adb" BlockName="ДнейНеВходить" Name="Значение" InvariantName="Value" CodeName="ДнейНеВходить_Value" UsedInOptimization="true" IsCalculable="false" Value="14" TypeName="Double" MinValue="1" MaxValue="10" Step="1" ControlMinValue="1" ControlMaxValue="10" ControlStep="1" NumberDecimalDigits="0" />
      <Parameter xsi:type="OptimData" ItemName="196e2a75-bbb4-44be-b2cf-e1f9f7f5f10d" BlockName="Убыток" Name="Значение" InvariantName="Value" CodeName="Убыток_Value" UsedInOptimization="false" IsCalculable="false" Value="4" TypeName="Double" MinValue="1" MaxValue="10" Step="0.001" ControlMinValue="1" ControlMaxValue="10" ControlStep="0.001" NumberDecimalDigits="3" />
      <Parameter xsi:type="EnumOptimData" ItemName="e2149588-dac9-4d61-801d-0ab977f36877" BlockName="Доход" Name="Тип прибыли" InvariantName="ProfitKind" CodeName="Доход_ProfitKind" UsedInOptimization="false" IsCalculable="false" Value="TSLab.Script.Handlers.ProfitKind, TSLab.Script.Handlers, Version=2.0.33.16, Culture=neutral, PublicKeyToken=null;Unfixed" />
    </Parameters>
    <ParameterGroups />
    <AutoParameters>
      <AutoParameter xsi:type="OptimData" ItemName="d2213737-14a6-4b85-99fa-2e4c8049ed04" Name="АвтоЗначение" InvariantName="AutoProperty" UsedInOptimization="false" IsCalculable="false" Value="0" MinValue="0" MaxValue="0" Step="0" ControlMinValue="0" ControlMaxValue="0" ControlStep="0" NumberDecimalDigits="2" />
      <AutoParameter xsi:type="OptimData" ItemName="aff9c84b-b988-4ea2-9e6e-c1dfd1600180" Name="АвтоЗначение" InvariantName="AutoProperty" UsedInOptimization="false" IsCalculable="false" Value="0" MinValue="0" MaxValue="0" Step="0" ControlMinValue="0" ControlMaxValue="0" ControlStep="0" NumberDecimalDigits="0" />
    </AutoParameters>
  </Mappings>
  <Iterations>10</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>138</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>70</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>
    <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="1918,702"&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="88940081-850c-4b96-bfd9-c6aac9f886e9"&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="88940081-850c-4b96-bfd9-c6aac9f886e9" /&amp;gt;&amp;lt;/Content&amp;gt;&amp;lt;/Content&amp;gt;&amp;lt;/UIElement&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowContainer" SelectedWindowUniqueId="15abed0f-3af8-4713-bc0b-bb9e5fc7b6ba"&amp;gt;&amp;lt;UIElement xsi:type="Track" UniqueId="88940081-850c-4b96-bfd9-c6aac9f886e9" /&amp;gt;&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="15abed0f-3af8-4713-bc0b-bb9e5fc7b6ba" /&amp;gt;&amp;lt;/UIElement&amp;gt;&amp;lt;/Content&amp;gt;&amp;lt;ToolWindows&amp;gt;&amp;lt;ToolWindow UniqueId="88940081-850c-4b96-bfd9-c6aac9f886e9" SerializationId="Graph" IsOpen="true" LastActiveDateTime="2019-03-03T14:54:51.1763968+03:00" State="Document" /&amp;gt;&amp;lt;ToolWindow UniqueId="15abed0f-3af8-4713-bc0b-bb9e5fc7b6ba" SerializationId="КонтролПанель" IsOpen="true" LastActiveDateTime="2019-03-03T14:54:43.6609605+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,749" SelectedWindowUniqueId="01a86e77-3ffc-4e46-94cc-0590c49632f2"&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="01a86e77-3ffc-4e46-94cc-0590c49632f2" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="7b8ed643-f712-400d-b7dd-bda1313e5401" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="6c185025-45be-4766-b9ed-9403006661cb" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="43c632c4-6137-4ae9-824d-9144aa4ecf8c" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="1fc77eb2-8d27-4515-8f09-356046755967" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="92134473-f4a6-4b62-92fb-51cf18533f00" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="5b00116e-26b0-4f7a-97e4-df45afbb0333" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="f26838c5-15aa-4293-87c2-a8ee0779e9c0" /&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="01a86e77-3ffc-4e46-94cc-0590c49632f2" SerializationId="EditorViewModel" Name="Editor" ContainerDockedSize="1918,749" IsOpen="true" LastActiveDateTime="2019-03-03T14:55:41.909817+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="7b8ed643-f712-400d-b7dd-bda1313e5401" SerializationId="ChartViewModel" Name="Graph" ContainerDockedSize="1918,749" IsOpen="true" LastActiveDateTime="2019-03-03T14:55:28.8890146+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="6c185025-45be-4766-b9ed-9403006661cb" SerializationId="PerformanceViewModel" Name="Performance" ContainerDockedSize="1918,749" IsOpen="true" LastActiveDateTime="2019-03-01T10:31:47.8613405+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="43c632c4-6137-4ae9-824d-9144aa4ecf8c" SerializationId="TradesViewModel" Name="Trades" ContainerDockedSize="1918,749" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="1fc77eb2-8d27-4515-8f09-356046755967" SerializationId="OptimizationViewModel" Name="Optimization" ContainerDockedSize="1918,749" IsOpen="true" LastActiveDateTime="2019-03-01T10:31:52.3729019+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="92134473-f4a6-4b62-92fb-51cf18533f00" SerializationId="ParametersViewModel" Name="Parameters" ContainerDockedSize="1918,749" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="5b00116e-26b0-4f7a-97e4-df45afbb0333" SerializationId="LogViewModel" Name="Log" ContainerDockedSize="1918,749" IsOpen="true" LastActiveDateTime="2019-03-01T02:02:59.8609879+03:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="f26838c5-15aa-4293-87c2-a8ee0779e9c0" SerializationId="ProfitModel" Name="Profit" ContainerDockedSize="1918,749" IsOpen="true" LastActiveDateTime="2019-03-01T00:30:18.915521+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;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;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
	&lt;/LabModels&gt;
	&lt;LabWindows /&gt;
&lt;/XmlLabLayout&gt;</Layout>
</XmlLabSettings>]]></Settings2>
</ExportScriptData>