View Download Details
futures io

Categories Help    

Customizing Candles 0 *
Code to customize candlestick outlines and body based on a set of conditions.

#region Candle Definition
if ( COND1 && COND2 && COND3 )
CandleOutlineColor = Color.LimeGreen;
if(Open[0]<Close[0] && ChartControl.ChartStyleType == ChartStyleType.CandleStick ) {
BarColor = Color.Transparent;
} else{
BarColor = Color.Lime;

else if ( COND1 && COND2 && COND3 )
CandleOutlineColor = Color.DarkGreen;
(see attached file)

Category NinjaTrader 6.5 Miscellaneous 
Suggest other entries I might like
Details: Customizing Candles
Category: NinjaTrader 6.5 Miscellaneous 

August 16th, 2009
Size: 25.00 KB
Downloaded: 62 times

Keywords: visual candlesticks candles
0 * TraderAZ August 20th, 2009 04:58 PM
Hey Saroj,

Thanks for the post...I'm in the process of learning C# (and feel like a fish out of water)...

...would like to have a 'paint' program for OHLC bars based on on the SMI2.

Any help will be greatly appreciated.


Sort by


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada),
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.