PDA

View Full Version : Find bar color


mydet
06-20-2008, 03:36 AM
are anyone have script/sample to find bar color.

NinjaTrader_Josh
06-20-2008, 03:57 AM
Unfortunately this is beyond the scope of what we can provide support for.
Hint: Take a look at the code in the CandleStickPattern indicator.

mydet
06-20-2008, 05:29 AM
Lastly i found...




if (BarColor == Color.Gray)
CandleOutlineColor = Color.Black;;)

NinjaTrader_Josh
06-21-2008, 11:44 AM
Oh! Sorry to send you on a wild goose hunt. I thought you meant finding the color for historical bars and such. To find the color of the current bar you found the correct code segment there.