<?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="0 0" TypeName="TradableSecuritySourceItem">
          <EditItem Guid="13E828E4-4633-455C-B81B-730B003D8002" CodeName="Источник1" IsParametersVisible="false" OnlyValueHandlersCanUsed="false" />
        </Block>
        <Block Key="ВнешнийСкрипт" Category="Usual" Location="443 53" TypeName="ExternalScriptItem">
          <EditItem Guid="50d8420a-56a5-425a-8638-dbbe92d84fcd" CodeName="ВнешнийСкрипт" IsParametersVisible="false" OnlyValueHandlersCanUsed="false">
            <Scripts>
              <Script>C:\Users\User\Documents\Visual Studio 2017\Projects\TSlab2.0\cacheDataToTxt\cacheDataToTxt.cs</Script>
            </Scripts>
          </EditItem>
        </Block>
        <Link From="Источник1" To="ВнешнийСкрипт" FromPort="Out" ToPort="Src" ToPortNum="0" />
      </Model>
    </ViewModel>
  </EditData>
  <Id>86d1712c-dfdd-4d22-b853-406347832180</Id>
  <Options xsi:type="LabOptions">
    <BarSizes>
      <BarSize Key="" Value="63.452371886859794" />
    </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>TICK</IntervalBase>
    <Interval>1</Interval>
    <GraphListVisibilities>
      <GraphListVisibility Key="SIH9:-" Value="true" />
    </GraphListVisibilities>
    <VerticalIndents />
    <RecalcInterval>INTERVAL</RecalcInterval>
    <DateFrom>2019-02-01T00:00:00</DateFrom>
    <UseDateFrom>false</UseDateFrom>
    <DateTo>2019-02-01T00:00:00</DateTo>
    <UseDateTo>false</UseDateTo>
    <DateReload>2019-09-07T00:00:00+05: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="Sih9" SecurityId="SIH9" Name="13E828E4-4633-455C-B81B-730B003D8002" VisualTypeName="Торгуемый инструмент" IsOption="false">
        <Records />
      </Source>
    </Sources>
    <Parameters />
    <ParameterGroups />
    <AutoParameters />
  </Mappings>
  <Iterations>100</Iterations>
  <OptParametersRecords />
  <OptParametersRecordsFolders />
</GraphDataBase>]]></Code>
  <Settings2><![CDATA[<?xml version="1.0" encoding="utf-16"?>
<XmlLabSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Options>
    <DefEntryApprove>false</DefEntryApprove>
    <DefExitApprove>false</DefExitApprove>
    <AutoEntryBars>0</AutoEntryBars>
    <AutoEntryIgnoreByMarketAsLimit>false</AutoEntryIgnoreByMarketAsLimit>
    <AutoCloseBars>0</AutoCloseBars>
    <AutoCloseIgnoreByMarketAsLimit>false</AutoCloseIgnoreByMarketAsLimit>
    <Slippage>0</Slippage>
    <SlippagePct>0</SlippagePct>
    <TakeProfitNoSlippage>false</TakeProfitNoSlippage>
    <OpenPositionNoSlippage>false</OpenPositionNoSlippage>
    <ByMarketAsLimt>false</ByMarketAsLimt>
    <InvalidStopsByMarket>false</InvalidStopsByMarket>
    <RemoveInactivePositions>true</RemoveInactivePositions>
    <WarnSkippedOpenPositions>true</WarnSkippedOpenPositions>
    <NotOpenIfHasSkippedExit>false</NotOpenIfHasSkippedExit>
    <NoCalcInfo>false</NoCalcInfo>
    <MaxBarsForSignal>0</MaxBarsForSignal>
    <ExitSignalOnlyForLastBar>false</ExitSignalOnlyForLastBar>
    <WaitExecutionExitBars>0</WaitExecutionExitBars>
    <WaitExecutionEntryBars>0</WaitExecutionEntryBars>
  </Options>
  <Mappings>
    <Sources />
    <Parameters />
    <ParameterGroups />
    <AutoParameters />
  </Mappings>
  <AppearanceOptions>
    <Columns />
    <OptimizationColumns>
      <LabTableColumnProperties>
        <Name>Имя блока</Name>
        <Header>Имя блока</Header>
        <IsVisible>true</IsVisible>
        <Width>182</Width>
        <DefinedWidth>182</DefinedWidth>
        <DisplayIndex>0</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
      <LabTableColumnProperties>
        <Name>Параметр</Name>
        <Header>Параметр</Header>
        <IsVisible>true</IsVisible>
        <Width>100</Width>
        <DefinedWidth>100</DefinedWidth>
        <DisplayIndex>1</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
      <LabTableColumnProperties>
        <Name>Значение</Name>
        <Header>Значение</Header>
        <IsVisible>true</IsVisible>
        <Width>125</Width>
        <DefinedWidth>Auto</DefinedWidth>
        <DisplayIndex>2</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
      <LabTableColumnProperties>
        <Name>Мин</Name>
        <Header>Мин</Header>
        <IsVisible>true</IsVisible>
        <Width>70</Width>
        <DefinedWidth>Auto</DefinedWidth>
        <DisplayIndex>3</DisplayIndex>
        <Index>0</Index>
        <UseFilter>false</UseFilter>
        <SortDirection>2</SortDirection>
        <FilterSettings>
          <FieldFilterLogicalOperator>And</FieldFilterLogicalOperator>
        </FilterSettings>
      </LabTableColumnProperties>
      <LabTableColumnProperties>
        <Name>Макс</Name>
        <Header>Макс</Header>
        <IsVisible>true</IsVisible>
        <Width>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="Workspace"&amp;gt;&amp;lt;Content xsi:type="TabbedMdiHost" /&amp;gt;&amp;lt;/Content&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,820" SelectedWindowUniqueId="71d82e17-1482-4a59-89ba-936c9dd81089"&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="11bde4f8-ae18-418e-9089-ce528e15d59d" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="71d82e17-1482-4a59-89ba-936c9dd81089" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="b3b35df2-72cb-45cd-a791-2a8a3420cd12" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="ae755dbf-f849-48b5-86b0-6047512bfa32" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="a0a51528-43aa-4856-b449-35d07ed48fe4" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="eed5873a-6171-49a4-8e81-f521fcbd3407" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="67fde3c7-f33b-4db9-84d5-74f455035596" /&amp;gt;
				&amp;lt;UIElement xsi:type="ToolWindowRef" UniqueId="452d5cd5-0b59-4c4e-b7ed-90648ade06c6" /&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="11bde4f8-ae18-418e-9089-ce528e15d59d" SerializationId="EditorViewModel" Name="Editor" ContainerDockedSize="1918,820" IsOpen="true" LastActiveDateTime="2019-09-09T15:10:49.3602934+05:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="71d82e17-1482-4a59-89ba-936c9dd81089" SerializationId="ChartViewModel" Name="Graph" ContainerDockedSize="1918,820" IsOpen="true" LastActiveDateTime="2019-09-09T16:11:39.0217411+05:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="b3b35df2-72cb-45cd-a791-2a8a3420cd12" SerializationId="PerformanceViewModel" Name="Performance" ContainerDockedSize="1918,820" IsOpen="true" LastActiveDateTime="2019-09-09T16:01:12.4546778+05:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="ae755dbf-f849-48b5-86b0-6047512bfa32" SerializationId="TradesViewModel" Name="Trades" ContainerDockedSize="1918,820" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="a0a51528-43aa-4856-b449-35d07ed48fe4" SerializationId="OptimizationViewModel" Name="Optimization" ContainerDockedSize="1918,820" IsOpen="true" LastActiveDateTime="2019-09-09T16:11:35.3153659+05:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="eed5873a-6171-49a4-8e81-f521fcbd3407" SerializationId="ParametersViewModel" Name="Parameters" ContainerDockedSize="1918,820" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="67fde3c7-f33b-4db9-84d5-74f455035596" SerializationId="LogViewModel" Name="Log" ContainerDockedSize="1918,820" IsOpen="true" LastActiveDateTime="2019-09-09T16:01:15.3196692+05:00" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
		&amp;lt;ToolWindow UniqueId="452d5cd5-0b59-4c4e-b7ed-90648ade06c6" SerializationId="ProfitModel" Name="Profit" ContainerDockedSize="1918,820" IsOpen="true" State="Document" Type="TSLab.Controls.ContentPane, TSLab.Controls" /&amp;gt;
	&amp;lt;/ToolWindows&amp;gt;
&amp;lt;/DockSiteLayout&amp;gt;&lt;/Docking&gt;
	&lt;ActiveWindow&gt;ChartViewModel&lt;/ActiveWindow&gt;
	&lt;LabModels&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;EditorViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;ChartViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;PerformanceViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;TradesViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;OptimizationViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;ParametersViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;LogViewModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
		&lt;XmlLabModel&gt;
			&lt;ContentId&gt;ProfitModel&lt;/ContentId&gt;
			&lt;IsVisible&gt;true&lt;/IsVisible&gt;
		&lt;/XmlLabModel&gt;
	&lt;/LabModels&gt;
	&lt;LabWindows /&gt;
&lt;/XmlLabLayout&gt;</Layout>
</XmlLabSettings>]]></Settings2>
  <Comment><![CDATA[]]></Comment>
  <Tags />
</ExportScriptData>