PDA

View Full Version : Drawing Candlesticks?


moflaherty
08-22-2007, 07:52 PM
This might seem like a strange request, but I believe this would be a great help in understanding the "zen" of your approach to writing custom code and graphics. Do you (or does anyone) have sample code that draws the actual candlesticks and dojis that you display in your default chart? I think this would be fascincating code to see, especially in relation to data feeds. If it is already available, please point me to it. Thanks so much!

NinjaTrader_Ray
08-22-2007, 07:59 PM
Unfortunately we do not have any reference code that we can post that illustrates advanced painting code. I will add this to our list of reference samples to provide in the future.

Maybe someone else in the community may have something?

NinjaTrader_Josh
08-22-2007, 09:31 PM
Check out Gumphrie's Candle Clear indicator. http://www.ninjatrader-support.com/vb/showthread.php?t=2940

The indicator just repaints the default candlesticks to allow for other indicators to be overlayed by the price. Although it is not exactly what you are looking for, I believe you will find his code at least somewhat interesting.

moflaherty
08-23-2007, 05:23 AM
Cool! Thanks! :)