NexusFi: Find Your Edge

Home Menu


Categories Help    

NinjaTrader 6.5 Miscellaneous
Downloads in this section are for NinjaTrader 6.5 and include files that don't fit into any other category (ie: Market Replay Data, Custom Bar Types)

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


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, 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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top