How to get the color of the last bar

 
I am using an indicator called StepChoppy that I want to call from an expert advisor. I just need to know how I can programmatically get the color of the current bar. I thought of something like this:-

color oldColor=ObjectGet(iBars(Symbol(), 0), OBJPROP_COLOR);

But im new and im not sure.
 
Bars are not objects
Try to compare Close[0] and Open[0]
 
Ok Bars are not objects, but how will comparing the Close[0] and Open[0] allow me to determine the color of the bar itself?? Are you saying this isn't possible?
 
If by "color" you mean up/down, yes, you can get the color.

If you mean "hue" of the last bar, that information is not available in code.
 
No I mean Hue. I use an indicator (StepChoppy) that colors the bars. 8 different colours altogether. After the bars have been painted i need to be able to get the colors of the 2 previous bars. But your saying this is not possible. The indicator also sets a description for each bar. If I can't obtain the color from the bar is possible to obtain the tooltip description?
 
...deleted...
Reason: