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.
Code:<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>
Last edited by Yandychang; 07-30-2016, 01:27 PM.
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by volIQ, Yesterday, 04:28 PM
|
1 response
12 views
0 likes
|
Last Post Today, 06:55 AM | ||
Started by martini, Yesterday, 04:45 PM
|
1 response
10 views
0 likes
|
Last Post Today, 06:45 AM | ||
Started by proptradingshop, 03-21-2024, 09:50 AM
|
5 responses
26 views
0 likes
|
Last Post Today, 05:17 AM | ||
Started by MaupinFinche, Today, 05:08 AM
|
0 responses
6 views
0 likes
|
Last Post
by MaupinFinche
Today, 05:08 AM
|
||
Started by Enkidu, Yesterday, 06:40 AM
|
9 responses
35 views
0 likes
|
Last Post
by Enkidu
Yesterday, 01:11 PM
|
Leave a comment: