PDA

View Full Version : Paint Bars?


saeed
07-28-2009, 04:23 PM
Hi
I Saw Paint Bar Indicator In Trade Station Today And It Was Actually Great To Determine The Short Term Trends ,is There Such A Thing As A Paint Bar In Ninja Trader So I Can Use ?

Thank You

NinjaTrader_ChristopherJ
07-28-2009, 04:31 PM
Hello saeed,

Thank you for your post.

Unfortunately I am not familiar with that indicator.

We do have over 100 indicators within the Indicators section of the Support Forum where you may be able to find something similar. These indicators may be downloaded for Free and used within NinjaTrader.

I have also provided a link to our 3rd Party Add-on partners that may have this indicator available.

http://www.ninjatrader.com/webnew/partners_onlinetrading_3rdparty.htm

Please let me know if I may be of further assistance.

Harry
07-29-2009, 03:47 PM
Hi saeed,

of course NinjaTrader has paint bars. You can define an indicator and choose the BarColor and the CandleOutlineColor dependent on any conditions you like. This is an example for thrust bars and small body bars (doji), but of course you can define any trend criteria and set the BarColor and CandleOutlineColor accordingly!

protected override void OnBarUpdate()

if (CurrentBar < 2)
return;
if (Close[0] > High[1] && Close[0] >= Open[0])
BarColor=Color.Green;
else if (Close[0] < Low[1] && Close[0] <= Open[0])
BarColor = Color.DarkRed;
else if (Math.Abs(Close[0]-Open[0])<= 0.25*ATR(14)[0])
BarColor = Color.White;
else
BarColor = Color.RoyalBlue;
if (Close[0] > Open[0])
CandleOutlineColor = Color.Lime;
if (Close[0] < Open[0])
CandleOutlineColor = Color.OrangeRed;

michalina
08-06-2009, 01:39 AM
Yes these indicator are very helpful to me during my work in paint bar.
Thanks