Not sure if this question should be here or in coding...
I have created a strategy that uses the following code;
Strategy name : 'Elliot3rdWaveStratV1001
else if (State == State.DataLoaded)
{
// Charts the indicator to the chart
AddChartIndicator( Elliot3rdWaveV1006(20,5,10000,20,0,1,0,0));
}
This creates no problem in my NT8 setup or on another colleagues NT8.
But when we run this on my bosses NT8 then he gets the following error;
Strategy 'Elliot3rdWaveStratV1001': Error on calling 'OnStateChange' method: 'AddChartIndicator' cannot be called from this state. Please see the Help Guide article on 'AddChartIndicator' for more information.
any help appreciated
Cheers
Comment