When an indicator is added to a chart via a call to the Add() method in a strategy's Initialize() routine, is there a way to get that indicator to appear in a new panel?
In Ninja 7 beta 23 I did this within OnStartUp():
for( i = 0; i < Indicators.Count; ++i )
{
if( Indicators[i].Name == "[I]<name of indicator I'm after>[/I]" )
{
// Use just one of the following two lines? Use both?
Indicators[i].Panel = 2;
Indicators[i].PanelUI = 2;
break;
}
}
So back to the original question: Can a strategy designate the panel in which an indicator should appear?

Comment