<Window x:Class="SampleHistoryTesting.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Тестер" Height="1200" Width="1200"
		xmlns:my="clr-namespace:StockSharp.Xaml;assembly=StockSharp.Xaml">
    <Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="171*" />
			<ColumnDefinition Width="101*" />
            <ColumnDefinition Width="101*" />
            <ColumnDefinition Width="101*" />
            <ColumnDefinition Width="101*" />
            <ColumnDefinition Width="101*" />
            <ColumnDefinition Width="101*" />
            <ColumnDefinition Width="101*" />
            <ColumnDefinition Width="101*" />
            <ColumnDefinition Width="101*" />
            <ColumnDefinition Width="101*" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
            <RowDefinition Height="35"/>
			<RowDefinition Height="500"/>
            <RowDefinition Height="300*"/>
        </Grid.RowDefinitions>
        <my:StatisticParameterPanel x:Name="ParametersPanel"  Grid.Row="6" Grid.Column="0" Margin="0,0,0,0" Loaded="ParametersPanel_Loaded" Grid.RowSpan="1" Grid.ColumnSpan="2" />
        <my:EquityCurveChart Grid.Row="6" Grid.RowSpan="2" Grid.Column="2" Grid.ColumnSpan="8" x:Name="Curve" />
        
        <TextBox Height="25" Margin="72,0,57,10" x:Name="trades_time" Text="" Grid.Row="5" Grid.Column="3" Grid.ColumnSpan="3" />
        <TextBox Height="25" Margin="27,8,31,2" x:Name="pos2_form" Grid.Row="4" Grid.ColumnSpan="2" Grid.Column="5" />
        <TextBox Height="25" Margin="0,10,89,0" x:Name="position_form" Grid.Row="4" Grid.ColumnSpan="2" Grid.Column="7" />
        <TextBox Height="25" Margin="27,168,26,258" x:Name="proskalz" Text="10" Width="48" Grid.Row="7" Grid.Column="1" />
        <TextBox Height="25" Margin="27,135,26,291" x:Name="vol_lotov" Text="1" Grid.Row="7" Grid.Column="1" />
        <Label Content="Проскальз" FontWeight="Bold" Height="25" HorizontalAlignment="Center" Margin="12,166,60,260" Name="label6" Width="99" Grid.Row="7" />
        <Label Content="Кол-во лотов" FontWeight="Bold" Height="25" HorizontalAlignment="Center" Margin="15,135,57,291" Name="label7" Width="99" Grid.Row="7" />
        <TextBox Height="25" Margin="53,31,46,395" x:Name="komiss_form" Text="" Grid.Row="7" />
        <Label Content="Комиссия" FontWeight="Bold" Height="25" HorizontalAlignment="Center" Margin="39,0,33,426" Name="label1" Width="99" Grid.Row="7" />
           
        
   
        <Label Grid.Column="0" Grid.Row="0" Content="Путь к истории:" />
        <TextBox x:Name="HistoryPath"  Grid.Column="1" Grid.ColumnSpan="3" Text="C:\C#Programs\Hystory2" Margin="0,0,0,0" />
        <Button x:Name="FindPath" Grid.Column="4" Content="..." Width="50" HorizontalAlignment="Left" Click="FindPathClick" Margin="0,0,0,0" />
        <Button x:Name="StartBtn" Content="Старт" Grid.Row="1" Margin="10,0,10,5"  Click="StartBtnClick" />
        <ProgressBar x:Name="TestingProcess" Grid.Column="1" Grid.ColumnSpan="5" Grid.Row="1" Margin="0,0,0,0" />
        <Button x:Name="Report" Content="Отчет" Grid.Row="1" Width="75" IsEnabled="False" Click="ReportClick" Grid.Column="6" Margin="0,0,0,0" Grid.ColumnSpan="1"  />
        <TextBox Height="25" Margin="0,10,89,0" Text="50" x:Name="takeprofit_form" Grid.Column="7" Grid.ColumnSpan="2" Grid.Row="3" />
    </Grid>
</Window>
