Working on a simple strategy and would like to create an up (or down) arrow every time a certain bar appears. I can identify the bar in my script and see the logic working on the output window, but can't get anything to draw on the chart. I've even added as the first line in the OnBarUpdate call (before any logic gets called), but nothing gets drawn. I'm running a historical playback and just have the following line:
Draw.ArrowUp(this, arrowUp, true, 0, Low[0] - TickSize, Brushes.Red); // Draw the arrow
Is there anything that might prevent this from working? I'm thinking it could be a configuration issue as I ran one of the sample strategies that seemed to add some drawing to the chart and while it was executing, nothing was being drawn.
Thanks in advance for the help!

Comment