I ran through the strategy builder to test a simple feature like plotting an up arrow when the bar closes when the close is higher than the open price..
But It's not plotting anything on the chart...
Here is the code the builder produced.
protected override void OnBarUpdate()
{
if (BarsInProgress != 0)
return;
if (CurrentBars[0] < 0)
return;
// Set 1
if (Close[0] > Open[0])
{
Draw.ArrowUp(this, @"MyPlotTest Arrow up_1", false, 0, 0, Brushes.Lime);
}
And another simple question is the price chart the chart where the candle sticks are? and is the indicator chart a different panel?
Thanks
Bruce
Comment