<?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="Close1" Category="TradeMath" Location="313.33333333333326 614.33333333333326" 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>
        <Block Key="Settings" Category="ControlPane" Location="320 120">
          <EditItem Name="6695062c-359a-432a-bdcc-9b010666e2ab" IsVisible="true">
            <Elements>
              <SeparatorElementData Id="4d40fe84-bb35-484e-afb1-4e3a88016cf5" IsVisible="true" Left="33" Top="189.33333333333334" Width="300" Height="30" Color="-16776961" IsVertical="false" />
              <TextElementData Id="1f04131d-4895-40ce-9e16-512d359e660b" IsVisible="true" Left="122.66666666666671" Top="209.66666666666666" Width="130" Height="24" Color="-6528" Text="Automatic Trailing Stop" />
              <SeparatorElementData Id="c4430a17-41f2-49d4-b8a4-0a106e7c82b9" IsVisible="true" Left="155" Top="70" Width="40" Height="85" Color="-7698306" IsVertical="true" />
              <SeparatorElementData Id="9859af03-59d3-42f1-9da8-cfa10be52033" IsVisible="true" Left="155" Top="255" Width="40" Height="134" Color="-7698306" IsVertical="true" />
              <TextElementData Id="30ae68e2-08c1-4529-b502-be4894eed9a9" IsVisible="true" Left="55" Top="235.33333333333331" Width="120" Height="25" Color="-7698306" Text="Trailing for Long, %" />
              <TextElementData Id="16c216fd-ede1-403f-b142-2d1be12d6c9e" IsVisible="true" Left="207" Top="235" Width="120" Height="25" Color="-7698306" Text="Trailing for Short, %" />
              <SeparatorElementData Id="40305c34-6023-4258-8dcf-b94f260f842f" IsVisible="true" Left="46.333333333333357" Top="409.33333333333331" Width="270" Height="30" Color="-16776961" IsVertical="false" />
              <TextElementData Id="b71a644b-f8ed-4577-8ae5-76cddb467a7a" IsVisible="true" Left="152.33333333333337" Top="441.66666666666669" Width="110" Height="24" Color="-6528" Text="Indicators" />
              <TextElementData Id="32471440-cd1c-47be-b8f4-7e3558bdeb3a" IsVisible="true" Left="48.333333333333343" Top="538" Width="NaN" Height="24" Color="-5790568" Text="Bollinger Bands" />
              <SeparatorElementData Id="39451d11-f909-4685-8a3b-a2d3e2ad53a0" IsVisible="true" Left="30" Top="3.3333333333333286" Width="300" Height="30" Color="-7698306" IsVertical="false" />
              <SeparatorElementData Id="df2f8f35-cdc9-4a31-8dc2-80ffcaef28ae" IsVisible="true" Left="33" Top="700" Width="300" Height="30" Color="-7698306" IsVertical="false" />
              <BackgroundElementData Id="983070cd-76a7-4e92-89ee-85e4ab78997c" IsVisible="true" Left="30" Top="20" Width="300" Height="180" Color="-7320272" />
              <BackgroundElementData Id="f800d28f-324b-4925-a103-aedf78c2c98e" IsVisible="true" Left="31.999999999999996" Top="208.99999999999997" Width="298.66666666666663" Height="210.66666666666666" Color="-10592937" />
              <BackgroundElementData Id="bbcb1442-cba2-4f6d-8ef6-5608f9f58b69" IsVisible="true" Left="33.333333333333329" Top="427" Width="297.33333333333331" Height="283" Color="-11976131" />
              <TextElementData Id="0eef6b70-2fd1-4cb9-bdd9-158bc7d395f4" IsVisible="true" Left="128" Top="24.333333333333329" Width="NaN" Height="24" Color="-6528" Text="Trading buttons" />
              <TextElementData Id="bc3adfd1-b969-4a9d-991c-378b32588d5d" IsVisible="true" Left="80" Top="625" Width="NaN" Height="24" Color="-5790568" Text="MACD" />
            </Elements>
          </EditItem>
        </Block>
        <Block Key="Long" Category="TradeMath" SubGraphKey="iLongbutton" Location="1201.666666666667 62.000000000000057" TypeName="TwoOrMoreInputsItem">
          <EditItem Guid="aa65deb5-600f-4c73-ac8f-564c35b670b2" CodeName="Long" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.ResettableControlledBoolConst, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="DefaultValue" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="BooleanExpress" Category="Formula" SubGraphKey="iLongbutton" Location="914.66666666666663 80.000000000000057" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="7802b6f8-3bd3-4e86-a99e-25f61d85ac26" CodeName="BooleanExpress" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="i&gt;=1" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="L" Category="OpenPosition" Location="643.66666666666686 128.33333333333331" TypeName="OpenPositionByMarketItem">
          <EditItem Guid="75d53ebf-d09e-4087-b729-fa0d3714c42c" CodeName="L" IsParametersVisible="true" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Execution" TypeName="PositionExecution" Value="Normal" />
              <Parameter Name="Shares" TypeName="Double" Value="1" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="EntryPriceLong" Category="Position" SubGraphKey="iProfitLong_" Location="1056.3333333333335 138" TypeName="ConverterItem">
          <EditItem Guid="d053c658-8914-4ff9-9396-22d4cf62f555" CodeName="EntryPriceLong" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.CalcEntryPrice, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="BooleanExpress1" Category="Formula" SubGraphKey="iLongbutton" Location="937.66666666666663 228.00000000000006" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="401" ResizablePartHeight="81" OpenParams="true">
          <EditItem Guid="bbc974ae-46bb-4249-833b-90c55197076e" CodeName="BooleanExpress1" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="EntryPriceLong==0 &amp;&amp; EntryPriceLong[i-1] !=0" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="BooleanExpress2" Category="Formula" SubGraphKey="iLongbutton" Location="936.66666666666663 383.00000000000006" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="415" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="1004866d-448c-4d5c-968f-2fa24c1703f2" CodeName="BooleanExpress2" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="EntryPriceLong!=0 &amp;&amp; EntryPriceLong[i-1]==0" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="UpdatabValue" Category="ValueUpdater" SubGraphKey="iLongbutton" Location="1533.666666666667 300.00000000000006" TypeName="ValueUpdater">
          <EditItem Guid="4a358c29-4570-4241-a389-354943735f42" CodeName="UpdatabValue" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.ValueUpdater+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="StartFrom" TypeName="Double" Value="0" />
              <Parameter Name="NotClear" TypeName="Boolean" Value="true" />
              <Parameter Name="ExecutionOrder" TypeName="ValueUpdaterExecutionOrder" Value="Common" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="BooleanExpress3" Category="Formula" SubGraphKey="iLongbutton" Location="1487.666666666667 446.00000000000006" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="616717e3-11ac-48b5-98ad-f81d227ec080" CodeName="BooleanExpress3" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="UpdatabValue!=0" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="TrailStopForLong" Category="Position" SubGraphKey="iTrailingStopLong" Location="943.3333333333336 282.3333333333332" TypeName="ConverterItem">
          <EditItem Guid="f1c20ad0-5596-4a4b-95e8-d992b8068c13" CodeName="TrailStopForLong" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.TrailStop, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="UseCalcPrice" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="stopB" Category="ClosePosition" SubGraphKey="iTrailingStopLong" Location="946.3333333333336 508.33333333333326" TypeName="ClosePositionByStopItem">
          <EditItem Guid="b4f13785-9fee-4330-9185-922f55e880a3" CodeName="stopB" IsParametersVisible="true" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Slippage" TypeName="Double" Value="0" />
              <Parameter Name="Execution" TypeName="PositionExecution" Value="Normal" />
              <Parameter Name="AddOpenName" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="Source2" Category="TradableSecurity" Location="306.33333333333326 520.33333333333326" TypeName="TradableSecuritySourceItem">
          <EditItem Guid="34e7660c-2ec9-4ce9-be41-2f8e4fe36b9f" CodeName="Source2" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" />
        </Block>
        <Pane Key="ChartInstrument" Category="GraphPane" Location="320 240" Order="0" IsVisible="true" HideLegend="false" LeftAxisPrecision="-1" LeftAxisByPercents="false" LeftDownHysteresis="0" LeftUpHysteresis="0" RightAxisPrecision="-1" RightAxisByPercents="false" RightDownHysteresis="0" RightUpHysteresis="0" />
        <Block Key="Short" Category="TradeMath" SubGraphKey="iShortButton" Location="961.66666666666663 520.99999999999977" TypeName="TwoOrMoreInputsItem">
          <EditItem Guid="3c0a6b7e-e4cb-44b8-b72f-3b89f981f40e" CodeName="Short" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.ResettableControlledBoolConst, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="DefaultValue" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="UpdatabValue1" Category="ValueUpdater" SubGraphKey="iShortButton" Location="1108.3333333333333 503.66666666666657" TypeName="ValueUpdater">
          <EditItem Guid="831011b9-7c2a-4c1f-a2f0-b1142fc5c6bd" CodeName="UpdatabValue1" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.ValueUpdater+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="StartFrom" TypeName="Double" Value="0" />
              <Parameter Name="NotClear" TypeName="Boolean" Value="true" />
              <Parameter Name="ExecutionOrder" TypeName="ValueUpdaterExecutionOrder" Value="Common" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="BooleanExpress4" Category="Formula" SubGraphKey="iShortButton" Location="1128.0000000000002 589" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="190" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="770de020-d802-45ce-a96b-c7b8c90a4741" CodeName="BooleanExpress4" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="UpdatabValue1!=0" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="BooleanExpress5" Category="Formula" SubGraphKey="iShortButton" Location="914.6666666666664 868" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="415" ResizablePartHeight="80" OpenParams="true">
          <EditItem Guid="58b5d59e-6c29-4679-947b-da4ae37d4f5e" CodeName="BooleanExpress5" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="EntryPriceShort!=0 &amp;&amp; EntryPriceShort[i-1]==0" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="BooleanExpress6" Category="Formula" SubGraphKey="iShortButton" Location="919.6666666666664 681" TypeName="BoolCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="401" ResizablePartHeight="81" OpenParams="true">
          <EditItem Guid="2567e12e-8865-4bfd-bf30-bf41c6e7e147" CodeName="BooleanExpress6" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.ScriptEngine.Template.BoolCustomHandlerItem+Handler, TSLab.ScriptEngine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Expression" TypeName="String" Value="EntryPriceShort==0 &amp;&amp; EntryPriceShort[i-1]!=0" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="EntryPriceShort" Category="Position" SubGraphKey="iProfitShort_" Location="920.66666666666652 661" TypeName="ConverterItem">
          <EditItem Guid="a7b08d42-a2c9-4bda-87b1-23db99e291eb" CodeName="EntryPriceShort" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.CalcEntryPrice, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="S" Category="OpenPosition" Location="636.666666666667 524.33333333333326" TypeName="OpenPositionByMarketItem">
          <EditItem Guid="97de1d38-c3e8-4452-9c21-4f4bc59fdb00" CodeName="S" IsParametersVisible="true" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Execution" TypeName="PositionExecution" Value="Normal" />
              <Parameter Name="Long" TypeName="Boolean" Value="false" />
              <Parameter Name="Shares" TypeName="Double" Value="1" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="TrailStopForSell" Category="Position" SubGraphKey="iTrailingStopShort" Location="1024.3333333333333 736" TypeName="ConverterItem">
          <EditItem Guid="18b3296b-7cd1-494c-bab2-fc18c6deaf6f" CodeName="TrailStopForSell" IsParametersVisible="true" OnlyValueHandlersCanUsed="true" HandlerTypeName="TSLab.Script.Handlers.TrailStop, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="UseCalcPrice" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="stopS" Category="ClosePosition" SubGraphKey="iTrailingStopShort" Location="941.33333333333314 957" TypeName="ClosePositionByStopItem">
          <EditItem Guid="706899f9-0640-43a4-8014-0da5f6457895" CodeName="stopS" IsParametersVisible="true" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Slippage" TypeName="Double" Value="0" />
              <Parameter Name="Execution" TypeName="PositionExecution" Value="Normal" />
              <Parameter Name="AddOpenName" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ExitLong" Category="ClosePosition" SubGraphKey="iExitLongByMarket" Location="1077.666666666667 205.99999999999994" TypeName="ClosePositionByMarketItem">
          <EditItem Guid="ae1ad4a5-b2bd-472d-8b89-87afa214eb15" CodeName="ExitLong" IsParametersVisible="false" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Execution" TypeName="PositionExecution" Value="Normal" />
              <Parameter Name="AddOpenName" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ExitShort" Category="ClosePosition" SubGraphKey="iExitShortByMarket" Location="1088.3333333333335 652.66666666666652" TypeName="ClosePositionByMarketItem">
          <EditItem Guid="0329da3a-c3b0-4796-b455-d3bf2696ca64" CodeName="ExitShort" IsParametersVisible="false" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Execution" TypeName="PositionExecution" Value="Normal" />
              <Parameter Name="AddOpenName" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="DropLong" Category="BoolConst" SubGraphKey="iExitLongByMarket" Location="929.33333333333337 211.66666666666657" TypeName="ConverterItem">
          <EditItem Guid="716310d1-8301-4298-ae54-a97e096556de" CodeName="DropLong" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.BoolBreaker, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="DropShort" Category="BoolConst" SubGraphKey="iExitShortByMarket" Location="925.66666666666686 659.66666666666652" TypeName="ConverterItem">
          <EditItem Guid="1741fe23-6753-4255-95d3-8c847a2dbaa7" CodeName="DropShort" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.BoolBreaker, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="ProfitLong" Category="Const" SubGraphKey="iProfitLong_" Location="921.33333333333326 192" TypeName="ConverterItem">
          <EditItem Guid="f9a96b1f-1b42-4ef2-adc1-244b2470d613" CodeName="ProfitLong" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.ConstGen, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="iProfitLong" Category="Formula" SubGraphKey="iProfitLong_" Location="1073.3333333333335 238" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="false">
          <EditItem Guid="98dfe874-f53c-4ff6-a011-ae4586688d23" CodeName="iProfitLong" 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="EntryPriceLong+ (EntryPriceLong*ProfitLong)/100" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ProfitL" Category="ClosePosition" SubGraphKey="iProfitLong_" Location="1308.3333333333335 211" TypeName="ClosePositionByProfitItem">
          <EditItem Guid="b4fed317-b55d-47d6-9a05-fbab633151f8" CodeName="ProfitL" IsParametersVisible="false" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Slippage" TypeName="Double" Value="0.0001" />
              <Parameter Name="Execution" TypeName="PositionExecution" Value="Normal" />
              <Parameter Name="AddOpenName" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ProfitShort" Category="Const" SubGraphKey="iProfitShort_" Location="1104.6666666666667 726" TypeName="ConverterItem">
          <EditItem Guid="9bcfdf12-b805-4ab7-b436-424671ce90a1" CodeName="ProfitShort" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.ConstGen, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="iProfitShort" Category="Formula" SubGraphKey="iProfitShort_" Location="1274.6666666666667 693" TypeName="DoubleCustomHandlerItem" Width="120" Height="60" ResizablePartWidth="143" ResizablePartHeight="80" OpenParams="false">
          <EditItem Guid="eb96bafc-4262-4399-ad4e-5b8222546615" CodeName="iProfitShort" 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="EntryPriceShort - (EntryPriceShort*ProfitShort)/100" />
              <Parameter Name="StartIndex" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="ProfitS" Category="ClosePosition" SubGraphKey="iProfitShort_" Location="966.66666666666663 580" TypeName="ClosePositionByProfitItem">
          <EditItem Guid="de8d4fb1-0a03-46eb-b3c8-62e39cfc44cf" CodeName="ProfitS" IsParametersVisible="false" OnlyValueHandlersCanUsed="true">
            <Parameters>
              <Parameter Name="Slippage" TypeName="Double" Value="0.0001" />
              <Parameter Name="Execution" TypeName="PositionExecution" Value="Normal" />
              <Parameter Name="AddOpenName" TypeName="Boolean" Value="false" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="AMA" Category="Indicators" SubGraphKey="Indicators" Location="680 80" TypeName="ConverterItem">
          <EditItem Guid="a2f5694d-739a-4a91-b080-084c32f38139" CodeName="AMA" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.AMA, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="Compress" Category="TradeMath" SubGraphKey="Indicators" Location="480 80" TypeName="ConverterItem">
          <EditItem Guid="4319667b-f2ac-4b7f-9b9f-aba1f728c51e" CodeName="Compress" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Compress, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
            <Parameters>
              <Parameter Name="Shift" TypeName="Int32" Value="0" />
            </Parameters>
          </EditItem>
        </Block>
        <Block Key="BollingBands" Category="Indicators" SubGraphKey="Indicators" Location="480 520" TypeName="ConverterItem">
          <EditItem Guid="345a2134-8d9f-4ccb-b740-554e712d0437" CodeName="BollingBands" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.BollingerBands1, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="BollingBands1" Category="Indicators" SubGraphKey="Indicators" Location="680 520" TypeName="ConverterItem">
          <EditItem Guid="87a96a4d-a751-4180-bb5d-0f2d93facc1d" CodeName="BollingBands1" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.BollingerBands2, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="LinkedParamet" Category="Usual" SubGraphKey="Indicators" Location="480 440" TypeName="ParameterShareItem">
          <EditItem ParameterName1="Period" ParameterName2="Period" />
        </Block>
        <Block Key="LinkedParamet1" Category="Usual" SubGraphKey="Indicators" Location="640 440" TypeName="ParameterShareItem">
          <EditItem ParameterName1="Coef" ParameterName2="Coef" />
        </Block>
        <Block Key="iExitLongByMarket" Category="Group" IsSubGraph="true" IsSubGraphExpanded="false" Location="924.33333333333337 200.99999999999994" />
        <Block Key="iTrailingStopLong" Category="Group" IsSubGraph="true" IsSubGraphExpanded="false" Location="931.3333333333336 277.3333333333332" />
        <Block Key="iProfitLong_" Category="Group" IsSubGraph="true" IsSubGraphExpanded="false" Location="916.33333333333326 133" />
        <Block Key="iLongbutton" Category="Group" IsSubGraph="true" IsSubGraphExpanded="false" Location="909.66666666666663 57.000000000000057" />
        <Block Key="iShortButton" Category="Group" IsSubGraph="true" IsSubGraphExpanded="false" Location="909.6666666666664 498.66666666666657" />
        <Block Key="iExitShortByMarket" Category="Group" IsSubGraph="true" IsSubGraphExpanded="false" Location="920.66666666666686 647.66666666666652" />
        <Block Key="iTrailingStopShort" Category="Group" IsSubGraph="true" IsSubGraphExpanded="false" Location="926.33333333333314 731" />
        <Block Key="iProfitShort_" Category="Group" IsSubGraph="true" IsSubGraphExpanded="false" Location="915.66666666666652 575" />
        <Block Key="ControlPane" Category="ControlPane" Location="320 400">
          <EditItem Name="ad33b557-a7c2-4c6f-a989-52aea1a08c5b" Title="Description" IsVisible="true">
            <Elements>
              <TextElementData Id="4cd79ae9-d4ab-48f2-bbda-1ee8e9a75325" IsVisible="true" Left="23" Top="551" Width="430" Height="25" Color="-7698306" Text="Long and Short buttons execute market orders." />
              <TextElementData Id="97347f26-804d-442c-827d-fab153bec273" IsVisible="true" Left="32.333333333333329" Top="521.33333333333337" Width="NaN" Height="24" Color="-6528" Text="This sample script was created for EUR/USD" />
              <TextElementData Id="2a25f22b-ca40-46ba-bb6f-04ab4ce86622" IsVisible="true" Left="23" Top="591" Width="430" Height="25" Color="-7698306" Text="Trailing stops only move in one direction" />
              <TextElementData Id="235eb97a-725d-48c6-a9da-31f5a88ffb26" IsVisible="true" Left="23" Top="611" Width="430" Height="25" Color="-7698306" Text="because they are designed to lock in profit or limit losses." />
              <TextElementData Id="b8d5e6d3-6860-4a67-8e44-118801aaed88" IsVisible="true" Left="23" Top="631" Width="430" Height="25" Color="-7698306" Text=" If a 2% trailing stop loss is added to a long position, " />
              <TextElementData Id="40cc9b28-2a49-44d1-8ae0-4badf76a6650" IsVisible="true" Left="23" Top="651" Width="430" Height="25" Color="-7698306" Text="a sell trade will be issued if the price drops 2% from its peak price after purchase." />
              <TextElementData Id="35011772-1df3-4c43-a22f-16a9437f0461" IsVisible="true" Left="23" Top="671" Width="430" Height="25" Color="-7698306" Text="The trailing stop only moves up once a new peak has been established." />
              <TextElementData Id="0f743728-4c9b-4d62-aae9-8fff1b9d533a" IsVisible="true" Left="23" Top="691" Width="430" Height="25" Color="-7698306" Text="Once the trailing stop has moved up, it cannot move back down." />
              <TextElementData Id="5a003636-565b-4287-a1ee-8d34f78575ca" IsVisible="true" Left="23" Top="571" Width="430" Height="25" Color="-7698306" Text="Trailing stop and Profit are activated automatically." />
              <TextElementData Id="c684424c-cf2c-4f21-bf9a-fcd343be6f40" IsVisible="true" Left="31.333333333333332" Top="236.33333333333331" Width="NaN" Height="24" Color="-6528" Text="Enable script trading:" />
              <TextElementData Id="9f2e28f9-7e1f-4afe-935d-43b28d49f0d6" IsVisible="true" Left="22.666666666666661" Top="273" Width="NaN" Height="24" Color="-7698306" Text="1. Connect Lmax Demo" />
              <TextElementData Id="34a6133e-4c7b-4e92-b4d1-2725fb75522c" IsVisible="true" Left="24.666666666666661" Top="341.66666666666663" Width="NaN" Height="24" Color="-7698306" Text="2. In program TSLab " />
              <TextElementData Id="f70f9c50-b54d-43fd-bd0d-47017bd81a42" IsVisible="true" Left="50.666666666666657" Top="300.33333333333331" Width="NaN" Height="24" Color="-7698306" Text="- " />
              <TextElementData Id="9541617d-cc3a-4cd6-a8db-6e6cdcc10558" IsVisible="true" Left="40" Top="295" Width="302" Height="24" Color="-7698306" Text="- Make a demo login with a broker https://www.lmax.com/" />
              <TextElementData Id="5c1610ba-2a57-4647-b532-5d6068df1981" IsVisible="true" Left="40" Top="315" Width="340.66666666666669" Height="24" Color="-7698306" Text="- Take a key in your cabinet TSLab https://www.tslab.pro/" />
              <TextElementData Id="bbb08e11-3ce4-40a9-8cd3-1f4edacd5576" IsVisible="true" Left="40" Top="438.33333333333331" Width="NaN" Height="24" Color="-7698306" Text="- Trading - Autotrading control center. Turn on agent." />
              <TextElementData Id="24c878ab-d1b1-4ef0-bc5b-a009fb5c5091" IsVisible="true" Left="40" Top="362.33333333333331" Width="NaN" Height="24" Color="-7698306" Text="- Data - Data providers. " />
              <TextElementData Id="42e75955-989b-454f-b7bf-be28d96c9cf8" IsVisible="true" Left="60" Top="388.33333333333331" Width="NaN" Height="24" Color="-7698306" Text="- Button &quot;Settings&quot;. Enter demo account credentials" />
              <TextElementData Id="72dc66ae-afb9-45db-b17f-566cb2e748d0" IsVisible="true" Left="60" Top="412.33333333333331" Width="NaN" Height="24" Color="-7698306" Text="- Button &quot;Key&quot;. Enter program key" />
              <TextElementData Id="24dd647b-b36a-4cc0-9984-3c476ae032d4" IsVisible="true" Left="19" Top="16" Width="NaN" Height="24" Color="-1" Text="Welcome to TSLab LMAX Edition" />
            </Elements>
          </EditItem>
        </Block>
        <Block Key="High" Category="TradeMath" Location="307.99999999999989 675.33333333333326" TypeName="ConverterItem">
          <EditItem Guid="063e4e2e-9a8f-4c4b-af51-0599c5865f8d" 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="HighestFor" Category="Indicators" SubGraphKey="Indicators" Location="680 200" TypeName="ConverterItem">
          <EditItem Guid="06a08824-beb4-402e-9419-9abd9f3e17ba" CodeName="HighestFor" 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" Location="305.99999999999989 732" TypeName="ConverterItem">
          <EditItem Guid="85de0142-5a38-4042-87f4-28d2bdfde005" 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="LowestFor" Category="Indicators" SubGraphKey="Indicators" Location="680 320" TypeName="ConverterItem">
          <EditItem Guid="6cb9f331-f2f6-419c-9ca8-44cfc2ccf694" CodeName="LowestFor" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.Lowest, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="DonchianPeriod" Category="Usual" SubGraphKey="Indicators" Location="520 280" TypeName="ParameterShareItem">
          <EditItem ParameterName1="Period" ParameterName2="Period" />
        </Block>
        <Pane Key="ChartPane" Category="GraphPane" Location="320 800" Order="1" Title="MACD" 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" SubGraphKey="Indicators" Location="640 640" TypeName="ConverterItem">
          <EditItem Guid="443bf9e5-17f5-4f61-aeac-50b2ed6bca78" CodeName="EMA" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.EMA, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="MACDExt" Category="Indicators" SubGraphKey="Indicators" Location="480 640" TypeName="ConverterItem">
          <EditItem Guid="d5368a68-c18f-4a68-a7e4-fdae80cec759" CodeName="MACDExt" IsParametersVisible="true" OnlyValueHandlersCanUsed="false" HandlerTypeName="TSLab.Script.Handlers.MACDEx, TSLab.Script.Handlers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
        </Block>
        <Block Key="Indicators" Category="Group" IsSubGraph="true" IsSubGraphExpanded="false" Location="480 80" />
        <Link From="Close1" To="BooleanExpress" FromPort="Out" ToPortNum="0" />
        <Link From="BooleanExpress" To="Long" FromPort="Out" ToPort="1" ToPortNum="0" />
        <Link From="Long" To="L" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="L" To="EntryPriceLong" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="EntryPriceLong" To="BooleanExpress1" FromPort="Out" ToPortNum="1" />
        <Link From="Close1" To="UpdatabValue" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="UpdatabValue" To="BooleanExpress3" FromPort="Out" ToPortNum="0" />
        <Link From="UpdatabValue" To="BooleanExpress3" FromPort="Out" ToPortNum="1" />
        <Link From="BooleanExpress3" To="Long" FromPort="Out" ToPort="2" ToPortNum="1" />
        <ControlLink From="Long" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="6" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.ToggleButtonControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <ToggleButtonControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-12105135" ForegroundColor="-3555141">
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>41.333333333333357</Left>
                <Top>48.333333333333343</Top>
                <Width>100</Width>
                <Height>50</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
              </ToggleButtonControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="L" To="TrailStopForLong" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="L" To="stopB" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <Link From="TrailStopForLong" To="stopB" FromPort="Out" ToPort="Prc" ToPortNum="2" />
        <Link From="EntryPriceLong" To="BooleanExpress2" FromPort="Out" ToPortNum="1" />
        <GraphLink From="Source2" To="ChartInstrument" 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="Source2" To="Close1" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Source2" To="L" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <ControlLink From="TrailStopForLong" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="StopLoss" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, 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>Stop loss</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>60</Left>
                <Top>268.33333333333331</Top>
                <Width>70</Width>
                <Height>70</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>0.01</Step>
                <NumberDecimalDigits>2</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
            <Property PropertyName="TrailEnable" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, 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>Trail enable</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>60</Left>
                <Top>318.33333333333331</Top>
                <Width>70</Width>
                <Height>70</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>0.01</Step>
                <NumberDecimalDigits>2</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
            <Property PropertyName="TrailLoss" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, 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>Trail Loss</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>60</Left>
                <Top>368.33333333333331</Top>
                <Width>70</Width>
                <Height>70</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>0.01</Step>
                <NumberDecimalDigits>2</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="UpdatabValue1" To="BooleanExpress4" FromPort="Out" ToPortNum="0" />
        <Link From="UpdatabValue1" To="BooleanExpress4" FromPort="Out" ToPortNum="1" />
        <Link From="BooleanExpress4" To="Short" FromPort="Out" ToPort="2" ToPortNum="1" />
        <Link From="EntryPriceShort" To="BooleanExpress6" FromPort="Out" ToPortNum="0" />
        <Link From="EntryPriceShort" To="BooleanExpress5" FromPort="Out" ToPortNum="0" />
        <Link From="Short" To="S" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="S" To="EntryPriceShort" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="S" To="TrailStopForSell" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="S" To="stopS" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <Link From="TrailStopForSell" To="stopS" FromPort="Out" ToPort="Prc" ToPortNum="2" />
        <Link From="BooleanExpress" To="Short" FromPort="Out" ToPort="1" ToPortNum="0" />
        <Link From="Close1" To="UpdatabValue1" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Source2" To="S" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <ControlLink From="Short" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="6" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.ToggleButtonControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <ToggleButtonControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-12105135" ForegroundColor="-3555141">
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>205.66666666666669</Left>
                <Top>48.333333333333343</Top>
                <Width>100</Width>
                <Height>50</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
              </ToggleButtonControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <ControlLink From="TrailStopForSell" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="StopLoss" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, 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>Stop loss</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>225</Left>
                <Top>268</Top>
                <Width>70</Width>
                <Height>70</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>0.01</Step>
                <NumberDecimalDigits>2</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
            <Property PropertyName="TrailEnable" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, 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>Trail enable</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>225</Left>
                <Top>318</Top>
                <Width>70</Width>
                <Height>70</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>0.01</Step>
                <NumberDecimalDigits>2</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
            <Property PropertyName="TrailLoss" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, 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>Trail Loss</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>225</Left>
                <Top>368</Top>
                <Width>70</Width>
                <Height>70</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>0.01</Step>
                <NumberDecimalDigits>2</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="L" To="ExitLong" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <Link From="S" To="ExitShort" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <Link From="DropLong" To="ExitLong" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <ControlLink From="DropLong" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="11" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.TradeButtonControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <TradeButtonControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-6910579" ForegroundColor="-1186845">
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>74.6666666666667</Left>
                <Top>111.33333333333334</Top>
                <Width>70</Width>
                <Height>25</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
              </TradeButtonControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="BooleanExpress2" To="UpdatabValue" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="BooleanExpress1" To="UpdatabValue" FromPort="Out" ToPort="EqClear" ToPortNum="2" />
        <Link From="BooleanExpress5" To="UpdatabValue1" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <Link From="BooleanExpress6" To="UpdatabValue1" FromPort="Out" ToPort="EqClear" ToPortNum="2" />
        <Link From="DropShort" To="ExitShort" FromPort="Out" ToPort="Eq" ToPortNum="1" />
        <ControlLink From="DropShort" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="11" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.TradeButtonControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <TradeButtonControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-6910579" ForegroundColor="-1186845">
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>205.00000000000003</Left>
                <Top>109.66666666666669</Top>
                <Width>70</Width>
                <Height>25</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
              </TradeButtonControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="ProfitLong" To="iProfitLong" FromPort="Out" ToPortNum="0" />
        <Link From="L" To="ProfitL" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <Link From="iProfitLong" To="ProfitL" FromPort="Out" ToPort="Prc" ToPortNum="2" />
        <ControlLink From="ProfitLong" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, 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>Profit Long,%</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>40</Left>
                <Top>150</Top>
                <Width>85</Width>
                <Height>42</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>0.001</Step>
                <NumberDecimalDigits>3</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="EntryPriceLong" To="iProfitLong" FromPort="Out" ToPortNum="2" />
        <Link From="ProfitShort" To="iProfitShort" FromPort="Out" ToPortNum="1" />
        <Link From="iProfitShort" To="ProfitS" FromPort="Out" ToPort="Prc" ToPortNum="2" />
        <Link From="S" To="ProfitS" FromPort="Out" ToPort="Pos" ToPortNum="0" />
        <Link From="EntryPriceShort" To="iProfitShort" FromPort="Out" ToPortNum="1" />
        <ControlLink From="ProfitShort" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Value" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, 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>ProfitShort,%</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>234</Left>
                <Top>150</Top>
                <Width>85</Width>
                <Height>42</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>0.001</Step>
                <NumberDecimalDigits>3</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="Close1" To="AMA" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <GraphLink From="AMA" To="ChartInstrument" 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="-1374379" AltColor="-6147846" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <ControlLink From="AMA" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Period" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.IntUpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <IntUpDownControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>AMA period</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>211.33333333333337</Left>
                <Top>474</Top>
                <Width>70</Width>
                <Height>40</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>1</Step>
              </IntUpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="Source2" To="Compress" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <GraphLink From="Compress" To="ChartInstrument" 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="-16722859" AltColor="-3313038" Opacity="150" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="All" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <ControlLink From="Compress" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Interval" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.IntUpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <IntUpDownControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>Top Timeframe, min</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>41.333333333333357</Left>
                <Top>474</Top>
                <Width>109</Width>
                <Height>40</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>1</Step>
              </IntUpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <Link From="Close1" To="BollingBands" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Close1" To="BollingBands1" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="BollingBands" To="LinkedParamet" FromPort="Out" ToPort="ScriptEditor.Master" ToPortNum="0" />
        <Link From="BollingBands1" To="LinkedParamet" FromPort="Out" ToPort="ScriptEditor.Slave" ToPortNum="1" />
        <Link From="BollingBands" To="LinkedParamet1" FromPort="Out" ToPort="ScriptEditor.Master" ToPortNum="0" />
        <Link From="BollingBands1" To="LinkedParamet1" FromPort="Out" ToPort="ScriptEditor.Slave" ToPortNum="1" />
        <ControlLink From="BollingBands" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Coef" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.UpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, 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>Width</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>97</Left>
                <Top>560</Top>
                <Width>45</Width>
                <Height>45</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>0.01</Step>
                <NumberDecimalDigits>2</NumberDecimalDigits>
              </UpDownControlEditData>
            </Property>
            <Property PropertyName="Period" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.IntUpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <IntUpDownControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>Period</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>45</Left>
                <Top>560</Top>
                <Width>45</Width>
                <Height>45</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>1</Step>
              </IntUpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <GraphLink From="BollingBands" To="ChartInstrument" 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="DOT" Color="-8030064" AltColor="-8218038" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="BollingBands1" To="ChartInstrument" 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="DOT" Color="-8030064" AltColor="-10808618" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="Source2" To="High" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="High" To="HighestFor" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Source2" To="Low" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Low" To="LowestFor" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <GraphLink From="HighestFor" To="ChartInstrument" 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="DOT" Color="-16711834" AltColor="-3257953" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <GraphLink From="LowestFor" To="ChartInstrument" 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="DOT" Color="-54400" AltColor="-6794639" Opacity="0" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="HighestFor" To="DonchianPeriod" FromPort="Out" ToPort="ScriptEditor.Master" ToPortNum="0" />
        <Link From="LowestFor" To="DonchianPeriod" FromPort="Out" ToPort="ScriptEditor.Slave" ToPortNum="1" />
        <ControlLink From="HighestFor" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Period" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.IntUpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <IntUpDownControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>Donchian Channel period</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>184</Left>
                <Top>560.33333333333337</Top>
                <Width>NaN</Width>
                <Height>NaN</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>1</Step>
              </IntUpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <GraphLink From="EMA" To="ChartPane" FromPort="Out" ToPort="RIGHT" Category="ChartLineLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="LINE" CandleStyle="BAR_CANDLE" LineStyle="DOT" Color="-458965" AltColor="-8354049" Opacity="50" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <Link From="MACDExt" To="EMA" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <Link From="Close1" To="MACDExt" FromPort="Out" ToPort="Src" ToPortNum="0" />
        <GraphLink From="MACDExt" To="ChartPane" FromPort="Out" ToPort="RIGHT" Category="ChartLineLink">
          <Data>
            <GraphData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ListStyle="HISTOHRAM" CandleStyle="BAR_CANDLE" LineStyle="SOLID" Color="-14685179" AltColor="-262137" Opacity="100" HideLastValue="false" Thickness="1" AltThickness="1" PaneSide="RIGHT" Visible="true" ShowTrades="true" CandleFillStyle="Decreasing" Autoscaling="true">
              <Points />
            </GraphData>
          </Data>
        </GraphLink>
        <ControlLink From="MACDExt" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Period1" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.IntUpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <IntUpDownControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>First period</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>140</Left>
                <Top>650</Top>
                <Width>70</Width>
                <Height>40</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>1</Step>
              </IntUpDownControlEditData>
            </Property>
            <Property PropertyName="Period2" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.IntUpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <IntUpDownControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>Second period</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>221</Left>
                <Top>650</Top>
                <Width>70</Width>
                <Height>40</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>1</Step>
              </IntUpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
        <ControlLink From="EMA" To="Settings" FromPort="ControlOut" Category="ControlPaneLink">
          <EditItem>
            <Property PropertyName="Period" ControlType="3" Type="TSLab.TemplatesEditor.Descriptor.ParameterControl.IntUpDownControlEditData, TSLab.TemplatesEditor, Version=2.1.4.7, Culture=neutral, PublicKeyToken=null">
              <IntUpDownControlEditData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Color="-1" ForegroundColor="-16777216">
                <ControlDisplayName>Signal</ControlDisplayName>
                <IsVisible>true</IsVisible>
                <IsNeedRecalculate>true</IsNeedRecalculate>
                <HasRect>true</HasRect>
                <Left>60</Left>
                <Top>650</Top>
                <Width>70</Width>
                <Height>40</Height>
                <IsReadOnly>false</IsReadOnly>
                <IsHelpVisible>false</IsHelpVisible>
                <Step>1</Step>
              </IntUpDownControlEditData>
            </Property>
          </EditItem>
        </ControlLink>
      </Model>
    </ViewModel>
  </EditData>
  <Id>8c749eca-d58d-4cd2-8806-bc8603c6d988</Id>
  <Options xsi:type="LabOptions">
    <BarSizes>
      <BarSize Key="" Value="0.71943515963685412" />
      <BarSize Key="Profit" Value="2.631704761904762" />
    </BarSizes>
    <PaneSizes>
      <PaneSize Key="Main" Value="50" />
      <PaneSize Key="Main1" Value="100" />
      <PaneSize Key="ChartInstrument" Value="66.485429337920593" />
      <PaneSize Key="ChartPane" Value="33.514570662079429" />
    </PaneSizes>
    <Indent>0</Indent>
    <BarsIndent>0</BarsIndent>
    <HideValues>false</HideValues>
    <LegendTransparency>30</LegendTransparency>
    <TimeScale>Adaptive</TimeScale>
    <GroupTrades>true</GroupTrades>
    <LegendForegroundColor>
      <Value>
        <A>255</A>
        <R>191</R>
        <G>191</G>
        <B>191</B>
      </Value>
      <IsChanged>true</IsChanged>
      <Default>
        <A>255</A>
        <R>215</R>
        <G>215</G>
        <B>215</B>
      </Default>
    </LegendForegroundColor>
    <ChartBackgroundColor>
      <Value>
        <A>255</A>
        <R>26</R>
        <G>26</G>
        <B>26</B>
      </Value>
      <IsChanged>true</IsChanged>
      <Default>
        <A>255</A>
        <R>0</R>
        <G>0</G>
        <B>0</B>
      </Default>
    </ChartBackgroundColor>
    <ChartForegroundColor>
      <Value>
        <A>255</A>
        <R>196</R>
        <G>193</G>
        <B>193</B>
      </Value>
      <IsChanged>true</IsChanged>
      <Default>
        <A>255</A>
        <R>255</R>
        <G>255</G>
        <B>255</B>
      </Default>
    </ChartForegroundColor>
    <ChartGridColor>
      <Value>
        <A>255</A>
        <R>23</R>
        <G>23</G>
        <B>23</B>
      </Value>
      <IsChanged>true</IsChanged>
      <Default>
        <A>255</A>
        <R>49</R>
        <G>49</G>
        <B>49</B>
      </Default>
    </ChartGridColor>
    <ChartBorderColor>
      <Value>
        <A>255</A>
        <R>255</R>
        <G>128</G>
        <B>215</B>
      </Value>
      <IsChanged>true</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>255</A>
        <R>206</R>
        <G>204</G>
        <B>204</B>
      </Value>
      <IsChanged>true</IsChanged>
      <Default>
        <A>255</A>
        <R>255</R>
        <G>255</G>
        <B>255</B>
      </Default>
    </ChartRulerForegroundColor>
    <IntervalBase>MINUTE</IntervalBase>
    <Interval>1</Interval>
    <GraphListVisibilities />
    <VerticalScales />
    <RecalcInterval>TICK</RecalcInterval>
    <DateFrom>2020-02-03T00:00:00</DateFrom>
    <UseDateFrom>true</UseDateFrom>
    <DateTo>2020-04-29T00:00:00+03:00</DateTo>
    <UseDateTo>false</UseDateTo>
    <DateReload>2020-04-29T00:00:00+03:00</DateReload>
    <UseDateReload>true</UseDateReload>
    <MaxDays>3</MaxDays>
    <SessionBegin>2000-01-01T00:00:00</SessionBegin>
    <SessionEnd>2000-01-01T00:00:00</SessionEnd>
    <DecompressMethod>Method1</DecompressMethod>
    <MaxCandels>0</MaxCandels>
    <RtUpdates>true</RtUpdates>
    <CalcForEachSecurity>false</CalcForEachSecurity>
    <ScriptEditorUseGridStep>true</ScriptEditorUseGridStep>
    <ScriptEditorGridStep>40</ScriptEditorGridStep>
    <ScriptEditorShowLinks>true</ScriptEditorShowLinks>
    <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="binance" SecurityId="BTCUSDT" Name="34e7660c-2ec9-4ce9-be41-2f8e4fe36b9f" VisualTypeName="Торгуемый инструмент" IsOption="false">
        <Records />
      </Source>
    </Sources>
    <Parameters>
      <Parameter xsi:type="BoolOptimData" ItemName="aa65deb5-600f-4c73-ac8f-564c35b670b2" BlockName="Long" Name="Значение" InvariantName="Value" CodeName="Long_Value" UsedInOptimization="false" IsCalculable="false" Value="False" />
      <Parameter xsi:type="BoolOptimData" ItemName="75d53ebf-d09e-4087-b729-fa0d3714c42c" BlockName="L" Name="Long" InvariantName="Long" CodeName="L_Long" UsedInOptimization="false" IsCalculable="false" Value="True" />
      <Parameter xsi:type="OptimData" ItemName="f1c20ad0-5596-4a4b-95e8-d992b8068c13" BlockName="TrailStopForLong" Name="Stop Loss" InvariantName="StopLoss" CodeName="TrailStopForLong_StopLoss" UsedInOptimization="false" IsCalculable="false" Value="1.5" TypeName="Double" MinValue="0.1" MaxValue="5" Step="0.01" ControlMinValue="0.1" ControlMaxValue="5" ControlStep="0.01" NumberDecimalDigits="2" />
      <Parameter xsi:type="OptimData" ItemName="f1c20ad0-5596-4a4b-95e8-d992b8068c13" BlockName="TrailStopForLong" Name="Trail Enable" InvariantName="TrailEnable" CodeName="TrailStopForLong_TrailEnable" UsedInOptimization="false" IsCalculable="false" Value="0.5" TypeName="Double" MinValue="0.1" MaxValue="3" Step="0.01" ControlMinValue="0.1" ControlMaxValue="3" ControlStep="0.01" NumberDecimalDigits="2" />
      <Parameter xsi:type="OptimData" ItemName="f1c20ad0-5596-4a4b-95e8-d992b8068c13" BlockName="TrailStopForLong" Name="Trail Loss" InvariantName="TrailLoss" CodeName="TrailStopForLong_TrailLoss" UsedInOptimization="false" IsCalculable="false" Value="0.5" TypeName="Double" MinValue="0.1" MaxValue="3" Step="0.01" ControlMinValue="0.1" ControlMaxValue="3" ControlStep="0.01" NumberDecimalDigits="2" />
      <Parameter xsi:type="BoolOptimData" ItemName="3c0a6b7e-e4cb-44b8-b72f-3b89f981f40e" BlockName="Short" Name="Значение" InvariantName="Value" CodeName="Short_Value" UsedInOptimization="false" IsCalculable="false" Value="False" />
      <Parameter xsi:type="OptimData" ItemName="18b3296b-7cd1-494c-bab2-fc18c6deaf6f" BlockName="TrailStopForSell" Name="Stop Loss" InvariantName="StopLoss" CodeName="TrailStopForSell_StopLoss" UsedInOptimization="false" IsCalculable="false" Value="1.5" TypeName="Double" MinValue="0.1" MaxValue="5" Step="0.01" ControlMinValue="0.1" ControlMaxValue="5" ControlStep="0.01" NumberDecimalDigits="2" />
      <Parameter xsi:type="OptimData" ItemName="18b3296b-7cd1-494c-bab2-fc18c6deaf6f" BlockName="TrailStopForSell" Name="Trail Enable" InvariantName="TrailEnable" CodeName="TrailStopForSell_TrailEnable" UsedInOptimization="false" IsCalculable="false" Value="0.5" TypeName="Double" MinValue="0.1" MaxValue="3" Step="0.01" ControlMinValue="0.1" ControlMaxValue="3" ControlStep="0.01" NumberDecimalDigits="2" />
      <Parameter xsi:type="OptimData" ItemName="18b3296b-7cd1-494c-bab2-fc18c6deaf6f" BlockName="TrailStopForSell" Name="Trail Loss" InvariantName="TrailLoss" CodeName="TrailStopForSell_TrailLoss" UsedInOptimization="false" IsCalculable="false" Value="0.5" TypeName="Double" MinValue="0.1" MaxValue="3" Step="0.01" ControlMinValue="0.1" ControlMaxValue="3" ControlStep="0.01" NumberDecimalDigits="2" />
      <Parameter xsi:type="BoolOptimData" ItemName="716310d1-8301-4298-ae54-a97e096556de" BlockName="DropLong" Name="Значение" InvariantName="Value" CodeName="DropLong_Value" UsedInOptimization="false" IsCalculable="false" Value="False" />
      <Parameter xsi:type="BoolOptimData" ItemName="1741fe23-6753-4255-95d3-8c847a2dbaa7" BlockName="DropShort" Name="Значение" InvariantName="Value" CodeName="DropShort_Value" UsedInOptimization="false" IsCalculable="false" Value="False" />
      <Parameter xsi:type="OptimData" ItemName="f9a96b1f-1b42-4ef2-adc1-244b2470d613" BlockName="ProfitLong" Name="Значение" InvariantName="Value" CodeName="ProfitLong_Value" UsedInOptimization="false" IsCalculable="false" Value="0.036" TypeName="Double" MinValue="1" MaxValue="10" Step="0.001" ControlMinValue="1" ControlMaxValue="10" ControlStep="0.001" NumberDecimalDigits="3" />
      <Parameter xsi:type="OptimData" ItemName="9bcfdf12-b805-4ab7-b436-424671ce90a1" BlockName="ProfitShort" Name="Значение" InvariantName="Value" CodeName="ProfitShort_Value" UsedInOptimization="false" IsCalculable="false" Value="0.035" TypeName="Double" MinValue="1" MaxValue="10" Step="0.001" ControlMinValue="1" ControlMaxValue="10" ControlStep="0.001" NumberDecimalDigits="3" />
      <Parameter xsi:type="IntOptimData" ItemName="a2f5694d-739a-4a91-b080-084c32f38139" BlockName="AMA" Name="Период" InvariantName="Period" CodeName="AMA_Period" UsedInOptimization="false" IsCalculable="false" Value="200" TypeName="Int32" MinValue="10" MaxValue="100" Step="1" ControlMinValue="10" ControlMaxValue="100" ControlStep="1" />
      <Parameter xsi:type="IntOptimData" ItemName="4319667b-f2ac-4b7f-9b9f-aba1f728c51e" BlockName="Compress" Name="Интервал" InvariantName="Interval" CodeName="Compress_Interval" UsedInOptimization="false" IsCalculable="false" Value="60" TypeName="Int32" MinValue="5" MaxValue="60" Step="1" ControlMinValue="5" ControlMaxValue="60" ControlStep="1" />
      <Parameter xsi:type="OptimData" ItemName="345a2134-8d9f-4ccb-b740-554e712d0437" BlockName="BollingBands" Name="Ширина" InvariantName="Coef" CodeName="BollingBands_Coef" UsedInOptimization="false" IsCalculable="false" Value="3" TypeName="Double" MinValue="0.5" MaxValue="3" Step="0.01" ControlMinValue="0.5" ControlMaxValue="3" ControlStep="0.01" NumberDecimalDigits="2" />
      <Parameter xsi:type="IntOptimData" ItemName="345a2134-8d9f-4ccb-b740-554e712d0437" BlockName="BollingBands" Name="Период" InvariantName="Period" CodeName="BollingBands_Period" UsedInOptimization="false" IsCalculable="false" Value="200" TypeName="Int32" MinValue="10" MaxValue="100" Step="1" ControlMinValue="10" ControlMaxValue="100" ControlStep="1" />
      <Parameter xsi:type="IntOptimData" ItemName="06a08824-beb4-402e-9419-9abd9f3e17ba" BlockName="HighestFor" Name="Период" InvariantName="Period" CodeName="HighestFor_Period" UsedInOptimization="false" IsCalculable="false" Value="100" TypeName="Int32" MinValue="10" MaxValue="100" Step="1" ControlMinValue="10" ControlMaxValue="100" ControlStep="1" />
      <Parameter xsi:type="IntOptimData" ItemName="443bf9e5-17f5-4f61-aeac-50b2ed6bca78" BlockName="EMA" Name="Период" InvariantName="Period" CodeName="EMA_Period" UsedInOptimization="false" IsCalculable="false" Value="11" TypeName="Int32" MinValue="10" MaxValue="100" Step="1" ControlMinValue="10" ControlMaxValue="100" ControlStep="1" />
      <Parameter xsi:type="IntOptimData" ItemName="d5368a68-c18f-4a68-a7e4-fdae80cec759" BlockName="MACDExt" Name="Первый период" InvariantName="Period1" CodeName="MACDExt_Period1" UsedInOptimization="false" IsCalculable="false" Value="12" TypeName="Int32" MinValue="5" MaxValue="40" Step="1" ControlMinValue="5" ControlMaxValue="40" ControlStep="1" />
      <Parameter xsi:type="IntOptimData" ItemName="d5368a68-c18f-4a68-a7e4-fdae80cec759" BlockName="MACDExt" Name="Второй период" InvariantName="Period2" CodeName="MACDExt_Period2" UsedInOptimization="false" IsCalculable="false" Value="26" TypeName="Int32" MinValue="10" MaxValue="40" Step="1" ControlMinValue="10" ControlMaxValue="40" ControlStep="1" />
    </Parameters>
    <ParameterGroups />
    <AutoParameters />
  </Mappings>
  <OptimizationMethodTypeName>BruteForceOptimization</OptimizationMethodTypeName>
  <Iterations>100</Iterations>
  <OptParametersRecords />
  <OptParametersRecordsFolders />
</GraphDataBase>]]></Code>
  <Settings2><![CDATA[{"Options":{"DefEntryApprove":false,"DefExitApprove":false,"AutoEntryBars":0,"AutoEntryIgnoreByMarketAsLimit":false,"AutoCloseBars":0,"AutoCloseIgnoreByMarketAsLimit":false,"Slippage":0,"SlippagePct":0.0,"TakeProfitNoSlippage":false,"OpenPositionNoSlippage":false,"ByMarketAsLimt":false,"InvalidStopsByMarket":false,"RemoveInactivePositions":true,"WarnSkippedOpenPositions":true,"NotOpenIfHasSkippedExit":false,"NoCalcInfo":false,"MaxBarsForSignal":0,"ExitSignalOnlyForLastBar":false,"WaitExecutionExitBars":0,"WaitExecutionEntryBars":0,"SimulatePositionOrdering":true,"UseCommissionInProfit":false,"EventOrderRejected":false,"EventOrderFilled":false,"EventPositionOpening":false,"EventPositionClosing":false,"EventOrderQtyChanged":false,"EventTradingIsStarted":true,"EventTradingIsStopped":false,"EventOrderCanceled":false,"EventPretradeLimitation":false},"Mappings":{"Sources":[],"Parameters":[],"ParameterGroups":[],"AutoParameters":[]},"AppearanceOptions":{"BarSizes":[],"PaneSizes":[],"GraphListVisibilities":[],"VerticalScales":[]},"Layout":"<XmlLabLayout xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<MainChartWindow Id=\"Main\">\r\n\t\t<Docking>&lt;?xml version=\"1.0\" encoding=\"utf-16\"?&gt;&lt;DockSiteLayout xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" SerializationFormat=\"All\" Version=\"2\"&gt;&lt;AutoHideHost&gt;&lt;AutoHideTabStrip Side=\"Left\"&gt;&lt;ToolWindowContainer DockedSize=\"0,0\"&gt;&lt;UIElement xsi:type=\"Track\" ContainerDockedSize=\"463,698\" CreationDateTime=\"2020-05-20T11:27:19.9892374+03:00\" UniqueId=\"1539be98-868c-4503-9394-e3cd98cb76f1\" /&gt;&lt;/ToolWindowContainer&gt;&lt;/AutoHideTabStrip&gt;&lt;AutoHideTabStrip Side=\"Right\"&gt;&lt;ToolWindowContainer DockedSize=\"0,0\"&gt;&lt;UIElement xsi:type=\"Track\" ContainerDockedSize=\"358,383\" CreationDateTime=\"2020-05-20T14:47:31.1343222+03:00\" UniqueId=\"fd82d9e4-3404-4f0b-b893-f2ef851a0721\" /&gt;&lt;/ToolWindowContainer&gt;&lt;/AutoHideTabStrip&gt;&lt;/AutoHideHost&gt;&lt;Content xsi:type=\"SplitContainer\" Orientation=\"Horizontal\" DockedSize=\"1918,934\"&gt;&lt;UIElement xsi:type=\"ToolWindowContainer\" DockedSize=\"512,934\" SelectedWindowUniqueId=\"1539be98-868c-4503-9394-e3cd98cb76f1\"&gt;&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"1539be98-868c-4503-9394-e3cd98cb76f1\" /&gt;&lt;/UIElement&gt;&lt;UIElement xsi:type=\"Workspace\"&gt;&lt;Content xsi:type=\"TabbedMdiHost\"&gt;&lt;Content xsi:type=\"TabbedMdiContainer\" DockedSize=\"1046,1069\" SelectedWindowUniqueId=\"17517ff1-d70c-4af3-ae77-f008f7260165\"&gt;&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"17517ff1-d70c-4af3-ae77-f008f7260165\" /&gt;&lt;/Content&gt;&lt;/Content&gt;&lt;/UIElement&gt;&lt;UIElement xsi:type=\"ToolWindowContainer\" DockedSize=\"0,0\"&gt;&lt;UIElement xsi:type=\"Track\" CreationDateTime=\"2020-05-15T13:48:32.615064+03:00\" UniqueId=\"17517ff1-d70c-4af3-ae77-f008f7260165\" /&gt;&lt;/UIElement&gt;&lt;UIElement xsi:type=\"ToolWindowContainer\" DockedSize=\"358,934\" SelectedWindowUniqueId=\"fd82d9e4-3404-4f0b-b893-f2ef851a0721\"&gt;&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"fd82d9e4-3404-4f0b-b893-f2ef851a0721\" /&gt;&lt;/UIElement&gt;&lt;/Content&gt;&lt;ToolWindows&gt;&lt;ToolWindow UniqueId=\"17517ff1-d70c-4af3-ae77-f008f7260165\" SerializationId=\"Graph\" ContainerDockedSize=\"1046,1069\" IsOpen=\"true\" LastActiveDateTime=\"2020-06-23T16:02:51.3610372+03:00\" State=\"Document\" /&gt;&lt;ToolWindow UniqueId=\"fd82d9e4-3404-4f0b-b893-f2ef851a0721\" SerializationId=\"Settings\" ContainerDockedSize=\"358,934\" IsOpen=\"true\" LastActiveDateTime=\"2020-05-29T15:58:27.9915052+03:00\" State=\"Docked\" ContainerAutoHideSize=\"353,200\" /&gt;&lt;ToolWindow UniqueId=\"1539be98-868c-4503-9394-e3cd98cb76f1\" SerializationId=\"ControlPane\" ContainerDockedSize=\"512,934\" IsOpen=\"true\" LastActiveDateTime=\"2020-05-20T15:06:06.0911188+03:00\" State=\"Docked\" ContainerAutoHideSize=\"469,200\" /&gt;&lt;/ToolWindows&gt;&lt;/DockSiteLayout&gt;</Docking>\r\n\t</MainChartWindow>\r\n\t<Docking>&lt;DockSiteLayout xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" SerializationFormat=\"All\" Version=\"2\"&gt;\r\n\t&lt;AutoHideHost /&gt;\r\n\t&lt;Content xsi:type=\"Workspace\"&gt;\r\n\t\t&lt;Content xsi:type=\"TabbedMdiHost\"&gt;\r\n\t\t\t&lt;Content xsi:type=\"TabbedMdiContainer\" DockedSize=\"1918,981\" SelectedWindowUniqueId=\"f3a53e15-3bde-4949-98e9-a8d86c8000b1\"&gt;\r\n\t\t\t\t&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"7a092323-29f5-46c2-9a76-a157dd0c69b5\" /&gt;\r\n\t\t\t\t&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"f3a53e15-3bde-4949-98e9-a8d86c8000b1\" /&gt;\r\n\t\t\t\t&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"278113ad-b759-4f0a-b11f-3d87b1b96f45\" /&gt;\r\n\t\t\t\t&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"075da5ae-f360-4f38-a93e-18cc9e93a7d6\" /&gt;\r\n\t\t\t\t&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"b006e827-76b5-4a5d-9422-e8276c1ec7c1\" /&gt;\r\n\t\t\t\t&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"b67596c4-2ccc-4bce-8315-90eec867fcea\" /&gt;\r\n\t\t\t\t&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"4a1613c3-3749-4c55-97a3-5cfe297d59d8\" /&gt;\r\n\t\t\t\t&lt;UIElement xsi:type=\"ToolWindowRef\" UniqueId=\"2a982e1e-d66e-435a-a2de-9a5b4851cbad\" /&gt;\r\n\t\t\t&lt;/Content&gt;\r\n\t\t&lt;/Content&gt;\r\n\t&lt;/Content&gt;\r\n\t&lt;ToolWindows&gt;\r\n\t\t&lt;ToolWindow UniqueId=\"7a092323-29f5-46c2-9a76-a157dd0c69b5\" SerializationId=\"EditorViewModel\" Name=\"Editor\" ContainerDockedSize=\"1918,981\" IsOpen=\"true\" LastActiveDateTime=\"2020-06-23T16:03:28.5218433+03:00\" State=\"Document\" Type=\"TSLab.Controls.ContentPane, TSLab.Controls\" /&gt;\r\n\t\t&lt;ToolWindow UniqueId=\"f3a53e15-3bde-4949-98e9-a8d86c8000b1\" SerializationId=\"ChartViewModel\" Name=\"ChartViewModel\" ContainerDockedSize=\"1918,981\" IsOpen=\"true\" LastActiveDateTime=\"2020-06-23T16:04:01.3486141+03:00\" State=\"Document\" Type=\"TSLab.Controls.ContentPane, TSLab.Controls\" /&gt;\r\n\t\t&lt;ToolWindow UniqueId=\"278113ad-b759-4f0a-b11f-3d87b1b96f45\" SerializationId=\"PerformanceViewModel\" Name=\"Performance\" ContainerDockedSize=\"1918,981\" IsOpen=\"true\" State=\"Document\" Type=\"TSLab.Controls.ContentPane, TSLab.Controls\" /&gt;\r\n\t\t&lt;ToolWindow UniqueId=\"075da5ae-f360-4f38-a93e-18cc9e93a7d6\" SerializationId=\"TradesViewModel\" Name=\"Trades\" ContainerDockedSize=\"1918,981\" IsOpen=\"true\" State=\"Document\" Type=\"TSLab.Controls.ContentPane, TSLab.Controls\" /&gt;\r\n\t\t&lt;ToolWindow UniqueId=\"b006e827-76b5-4a5d-9422-e8276c1ec7c1\" SerializationId=\"OptimizationViewModel\" Name=\"Optimization\" ContainerDockedSize=\"1918,981\" IsOpen=\"true\" State=\"Document\" Type=\"TSLab.Controls.ContentPane, TSLab.Controls\" /&gt;\r\n\t\t&lt;ToolWindow UniqueId=\"b67596c4-2ccc-4bce-8315-90eec867fcea\" SerializationId=\"ParametersViewModel\" Name=\"Parameters\" ContainerDockedSize=\"1918,981\" IsOpen=\"true\" State=\"Document\" Type=\"TSLab.Controls.ContentPane, TSLab.Controls\" /&gt;\r\n\t\t&lt;ToolWindow UniqueId=\"4a1613c3-3749-4c55-97a3-5cfe297d59d8\" SerializationId=\"LogViewModel\" Name=\"Log\" ContainerDockedSize=\"1918,981\" IsOpen=\"true\" LastActiveDateTime=\"2020-04-30T00:31:54.5060167+03:00\" State=\"Document\" Type=\"TSLab.Controls.ContentPane, TSLab.Controls\" /&gt;\r\n\t\t&lt;ToolWindow UniqueId=\"2a982e1e-d66e-435a-a2de-9a5b4851cbad\" SerializationId=\"ProfitModel\" Name=\"Profit\" ContainerDockedSize=\"1918,981\" IsOpen=\"true\" LastActiveDateTime=\"2020-05-20T14:48:02.1329493+03:00\" State=\"Document\" Type=\"TSLab.Controls.ContentPane, TSLab.Controls\" /&gt;\r\n\t&lt;/ToolWindows&gt;\r\n&lt;/DockSiteLayout&gt;</Docking>\r\n\t<ActiveWindow>ChartViewModel</ActiveWindow>\r\n\t<LabModels>\r\n\t\t<XmlLabModel>\r\n\t\t\t<ContentId>EditorViewModel</ContentId>\r\n\t\t\t<IsVisible>true</IsVisible>\r\n\t\t</XmlLabModel>\r\n\t\t<XmlLabModel>\r\n\t\t\t<ContentId>ChartViewModel</ContentId>\r\n\t\t\t<IsVisible>true</IsVisible>\r\n\t\t</XmlLabModel>\r\n\t\t<XmlLabModel>\r\n\t\t\t<ContentId>PerformanceViewModel</ContentId>\r\n\t\t\t<IsVisible>true</IsVisible>\r\n\t\t</XmlLabModel>\r\n\t\t<XmlLabModel>\r\n\t\t\t<ContentId>TradesViewModel</ContentId>\r\n\t\t\t<IsVisible>true</IsVisible>\r\n\t\t</XmlLabModel>\r\n\t\t<XmlLabModel>\r\n\t\t\t<ContentId>OptimizationViewModel</ContentId>\r\n\t\t\t<IsVisible>true</IsVisible>\r\n\t\t</XmlLabModel>\r\n\t\t<XmlLabModel>\r\n\t\t\t<ContentId>ParametersViewModel</ContentId>\r\n\t\t\t<IsVisible>true</IsVisible>\r\n\t\t</XmlLabModel>\r\n\t\t<XmlLabModel>\r\n\t\t\t<ContentId>LogViewModel</ContentId>\r\n\t\t\t<IsVisible>true</IsVisible>\r\n\t\t</XmlLabModel>\r\n\t\t<XmlLabModel>\r\n\t\t\t<ContentId>ProfitModel</ContentId>\r\n\t\t\t<IsVisible>true</IsVisible>\r\n\t\t</XmlLabModel>\r\n\t</LabModels>\r\n\t<LabWindows />\r\n</XmlLabLayout>","AppProperties":{"LogFilterSettings":"[1,2,3]","PerformanceColumns":"[{\"Name\":\"\",\"Header\":\"\",\"IsVisible\":true,\"Width\":200.0,\"DefinedWidth\":\"Auto\",\"DisplayIndex\":0,\"Index\":0,\"Filter\":null,\"UseFilter\":false,\"SortDirection\":2,\"IsFilterable\":false,\"FilterSettingsString\":null,\"FilterSettings\":{\"SelectedDistinctValues\":[],\"ColumnUniqueName\":null,\"Filter1\":null,\"FieldFilterLogicalOperator\":0,\"Filter2\":null}},{\"Name\":\"All\",\"Header\":\"All\",\"IsVisible\":true,\"Width\":80.0,\"DefinedWidth\":\"Auto\",\"DisplayIndex\":1,\"Index\":0,\"Filter\":null,\"UseFilter\":false,\"SortDirection\":2,\"IsFilterable\":false,\"FilterSettingsString\":null,\"FilterSettings\":{\"SelectedDistinctValues\":[],\"ColumnUniqueName\":null,\"Filter1\":null,\"FieldFilterLogicalOperator\":0,\"Filter2\":null}},{\"Name\":\"Buy\",\"Header\":\"Buy\",\"IsVisible\":true,\"Width\":80.0,\"DefinedWidth\":\"Auto\",\"DisplayIndex\":2,\"Index\":0,\"Filter\":null,\"UseFilter\":false,\"SortDirection\":2,\"IsFilterable\":false,\"FilterSettingsString\":null,\"FilterSettings\":{\"SelectedDistinctValues\":[],\"ColumnUniqueName\":null,\"Filter1\":null,\"FieldFilterLogicalOperator\":0,\"Filter2\":null}},{\"Name\":\"Sell\",\"Header\":\"Sell\",\"IsVisible\":true,\"Width\":80.0,\"DefinedWidth\":\"Auto\",\"DisplayIndex\":3,\"Index\":0,\"Filter\":null,\"UseFilter\":false,\"SortDirection\":2,\"IsFilterable\":false,\"FilterSettingsString\":null,\"FilterSettings\":{\"SelectedDistinctValues\":[],\"ColumnUniqueName\":null,\"Filter1\":null,\"FieldFilterLogicalOperator\":0,\"Filter2\":null}},{\"Name\":\"Market\",\"Header\":\"Market\",\"IsVisible\":true,\"Width\":80.0,\"DefinedWidth\":\"Auto\",\"DisplayIndex\":4,\"Index\":0,\"Filter\":null,\"UseFilter\":false,\"SortDirection\":2,\"IsFilterable\":false,\"FilterSettingsString\":null,\"FilterSettings\":{\"SelectedDistinctValues\":[],\"ColumnUniqueName\":null,\"Filter1\":null,\"FieldFilterLogicalOperator\":0,\"Filter2\":null}}]","PerformanceExpandStates":"[true,true,true,true,true,true]"}}]]></Settings2>
</ExportScriptData>