PDA

View Full Version : Drawing on chart where bars are


zwentz
10-04-2009, 09:58 AM
I want to draw on the chart where the bars normally are. I want to set the width dependent upon an external variable and the height on the high and the low. And I want this drawing to be in the same place as the bar is. I'm having trouble getting started and the sample indicators aren't very helpful in that respect. Is there any sample code or a good place to look?

Thanks.

NinjaTrader_Austin
10-04-2009, 01:17 PM
Hi zwentz, we don't have any samples other than Draw Objects (http://www.ninjatrader-support.com/vb/showthread.php?t=3419). The help guide contains definitions for all drawing operations.

Other than those two sources, I just ran a quick search of the forums for "draw objects" (http://www.ninjatrader-support2.com/vb/search.php?searchid=512189) and a number of threads were listed in the results. There are probably quite a few examples/samples in those listed threads.

zwentz
10-04-2009, 01:57 PM
Thanks Austin, that first link was exactly what I needed.