That was kind of a pain... My first attempt following the examples here made the graph come out backwards, I think. So I played with it until I got it..
With:
Series<double> fib382; // This is the data series that holds the plot we're plotting in OnRender()
points.Add( new Point( chartControl.GetXByBarIndex( ChartBars, i-1 ), chartScale.GetYByValue( fib382[CurrentBar-i+1]) ) );
points.Add( new Point( chartControl.GetXByBarIndex( ChartBars, i-1 ), chartScale.GetYByValue( fib382.GetValueAt( i-1 )) ) );
But I don't get the 30-40 second wait for the indicator to pop up when a strategy loads it. I pops up lickety-split as a straight indicator but not so much from a strategy. Have you seen that Ninja support, or anyone?
Comment