<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:t="clr-namespace:NinjaTrader.Gui.Tools;assembly=NinjaTrader.Gui">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="0.15*"/>
<RowDefinition Height="0.15*"/>
<RowDefinition Height="0.15*"/>
<RowDefinition Height="0.15*"/>
<RowDefinition Height="0.15*"/>
<RowDefinition Height="*"/>
<!-- <RowDefinition Height="*"/>-->
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.33*" />
<ColumnDefinition Width="0.33*" />
<ColumnDefinition Width="0.33*" />
</Grid.ColumnDefinitions>
<!--
For a full reference of the tools you can use in XAML that are provided by NinjaTrader see: http://www.ninjatrader.com/support/helpGuides/nt8/en-us/controls.htm
-->
<t:InstrumentSelector x:Name="instrumentSelector" Grid.Column="0" LastUsedGroup="BlankAddOn" Margin="5"/>
<t:IntervalSelector x:Name="intervalSelector" Grid.Column="1" HorizontalAlignment="Left" Margin="5" />
<t:AccountSelector x:Name="accountSelector" Grid.Column="2" Margin="5" />
</Grid>
<Grid Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition Width ="0.25*"/>
<RowDefinition Width ="0.25*"/>
<RowDefinition Width ="0.25*"/>
<RowDefinition Width ="0.25*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.66*" />
<ColumnDefinition Width="0.33*" />
</Grid.ColumnDefinitions>
<Label Content="Neural Trainer" Grid.Row ="0" Grid.Column="0" x:Name="top_Label" />
<TextBox x:Name="trainpath" Width="275" Margin="10" Grid.Row ="1" Grid.Column ="0"> Directory for Training File</TextBox>
<Button Name ="brButton" Content="Browse" Margin="5" Grid.Row ="1" Grid.Column ="1"/>
<TextBox x:Name="evalPath" Width="275" Margin="10" Grid.Row ="2" Grid.Column="0"> Directory for Eval File</TextBox>
<Button Name="evalBtn" Content ="Browse" Margin ="5" Grid.Row ="2" Grid.Column="1"/>
<TextBox x:Name="netLocator" Width="275" Margin="10" Grid.Row ="3" Grid.Column="0"> Directory for NetWork</TextBox>
<Button Name ="netButton" Content="Browse" Margin="5" Grid.Row ="3" Grid.Column="1"/>
</Grid>
<!-- Area of Parameters for training-->>
<Grid Grid.Row ="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.25*" />
<ColumnDefinition Width="0.25*" />
<ColumnDefinition Width="0.25*" />
<ColumnDefinition Width="0.25*" />
</Grid.ColumnDefinitions>
<Label Height="30" Content="Epochs:" FontSize="14" Name="epochLbl" Grid.Column ="0"/>
<Label Height="30" Content="Species:" FontSize="14" Name="organismLbl" Grid.Column ="1"/>
<Label Height="30" Content="Lead:" FontSize="14" Name="leadLbl" Grid.Column ="2"/>
<Label Height="30" Content="Lag:" FontSize="14" Name="lagLbl" Grid.Column ="3"/>
</Grid>
<Grid Grid.Row ="3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.25*" />
<ColumnDefinition Width="0.25*" />
<ColumnDefinition Width="0.25*" />
<ColumnDefinition Width="0.25*" />
</Grid.ColumnDefinitions>
<TextBox Height="30" Width="40" Margin="0,0,0,0" x:Name="epcTxtBx" Text="100" FontSize="14" TextAlignment="Right" VerticalAlignment="Center" Grid.Column ="0"/>
<TextBox Height="30" Width="40" Margin="0,0,0,0" x:Name="orgTxtBx" Text="500" FontSize="14" TextAlignment="Right" VerticalAlignment="Center" Grid.Column ="1"/>
<TextBox Height="30" Width="40" Margin="0,0,0,0" x:Name="leadTxtBx" Text="10" FontSize="14" TextAlignment="Right" VerticalAlignment="Center" Grid.Column ="2"/>
<TextBox Height="30" Width="40" Margin="0,0,0,0" x:Name="lagTxtBx" Text="20" FontSize="14" TextAlignment="Right" VerticalAlignment="Center" Grid.Column ="3"/>
</Grid>
<Grid Grid.Row ="4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.25*" />
<ColumnDefinition Width="0.25*" />
<ColumnDefinition Width="0.25*" />
<ColumnDefinition Width="0.25*" />
</Grid.ColumnDefinitions>
<Button Name="trainBtn" Margin="5" Content ="Train" Grid.Column ="0"/>
<Button Name ="stopBtn" Content="Stop" Margin="5" Grid.Column ="1" />
</Grid>
<Label Grid.Row ="5" Name ="upDate" Margin ="5" Content="Progress" />
</Grid>
</Page>
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Regarding AddOn and Xaml for NTWindow Interface
Collapse
X
-
Regarding AddOn and Xaml for NTWindow Interface
I am trying to change my interface, to be able to change parameters around. But for some reason the compiled window stays blank. It worked before, but I cant seem to figure out the mistake.
Any ideas on what I could be doing wrong?Code:Last edited by Yandychang; 07-30-2016, 01:27 PM. -
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
666 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
377 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
110 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
580 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment