this is my first post, thank you in advance to anyone that is going to help me.
I have recently started studying and trying to develop stuff with NinjaScript.
Today I tried to build an AddOn from scratch so that I could familiarize with possibilities this feature offers.
I've found on the forum (on the last reply of this post) a script that allows the user to create a new Menu Item that opens a window showing the opened Charts with the attached indicators and its properties.
It was really helpful, but now I'm stuck with an issue
I try to explain it.
My intent would be simply to have a window with a table that shows the list of the opened charts. That's it.
I wrote a simple xaml file, which have just a single Grid.Row/Grid.Column with a GridView that has 2 Columns.
Here it is:
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ListView Grid.Row="0" Grid.Column="0" x:Name="TestList" ScrollViewer.VerticalScrollBarVisibility="Visible" >
<ListView.View>
<GridView>
<GridViewColumn Header="Chart" DisplayMemberBinding="{Binding Chart}" Width="200" />
<GridViewColumn Header="Instrument" DisplayMemberBinding="{Binding Instrument}" Width="200" />
</GridView>
</ListView.View>
</ListView>
</Grid>
</Page>
As you can see in the screenshot, the table get populated with two rows but the data don't get shown.
I upload the code of the AddOn script "Test".
Could you please help me to figure out what's wrong?
Thanks so much!!

Comment