PDA

View Full Version : PaintBar question


gkramer
12-18-2008, 09:39 AM
Good morning all

Here's what I want to do: If a chart candle closes within the entire range (including tails) of the previous candle, i want the candle to be black. If the candle closes above above the entire previous candle, green. And vice versa for red.

I am not a programmer. If anyone has the script code for this, I would love to look at your example.

Thanks for your input.

gkramer

NinjaTrader_Bertrand
12-18-2008, 10:09 AM
Hi gkramer, welcome to the NinjaTrader forum!

You can use BarColor for your idea, a example of how to use it can be found here - http://www.ninjatrader-support.com/HelpGuideV6/BarColor.html