The toolbar button is fully functional but the properties of the BarsArray is not changing.
I thought if i put a user property MySeries (eg 0 or 1) it might solve the issue but it doesn't.
Here is my code
if( String.Compare(ShowExecState,"EXECUTION MARKERS ONLY") == 0 )
{
ShowExecState = "FULL TEXT EXECUTION MARKERS";
ChartControl.BarsArray[MySeries].Properties.PlotExecutions = ChartExecutionStyle.TextAndMarker;
myItem.Header= "FULL";
myItem.Foreground = Brushes.Red;
ShowTextAndMarker = false;// a bool to ensure it only triggers once per click
}
So my trades are on MES - which this indicator will change ChartExecutionStyle when MES is primary but not when it's secondary?
Is that correct behaviour? Should MySeries not change that?

Comment