In my NT 7 indicator code I had the following code to display the 'settings' in the Bottom Left of the chart:
protected override void OnStartUp()
{
infoText = " indicators settings list"
DrawTextFixed("IndicatorParameters", infoText, TextPosition.BottomLeft, Color.Gray, new Font("Arial",8,FontStyle.Bold), Color.Black, Color.Black, 15);
}
when I called the indicator from the strategy I had the settings always displayed in the charts so I always know which settings are being used by the strategy.
In my NT 8 indicator code I have the following:
... else if (State == State.DataLoaded)
{
infoText = " indicators settings list"
Draw.TextFixed(this, "IndicatorParameters", infoText, TextPosition.BottomLeft);
}
What is happening is that now the strategy calling the code above is not displaying the settings (infoText) in the chart anymore. The indicator shows infoText, but the strategy calling the indicator does not. The strategy is calling the indicator correctly and working correctly, but the 'infoText" is not being displayed anymore.
Can you let me know what am I doing wrong?
Thanks!
Comment