NinjaTrader 6.5 Miscellaneous - Customizing Candles
futures io futures trading


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)


Entries
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
 


 
Category
 



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.