PDA

View Full Version : Volume Color


NinjaTrader_Josh
10-24-2007, 01:26 AM
Here is a very basic indicator that has volume plotted with colors corresponding to the price action.

bertg
11-13-2007, 08:35 PM
Here is a very basic indicator that has volume plotted with colors corresponding to the price action.

Thanks, Josh.

Can anyone make a volume indicator to where the color differs based on volume and not on whether the bar is up or down? For example:

bar 1 has a volume of 100 lots
bar 2 has a volume of 200 and gets painted blue, since the volume was greater than bar 1
bar 3 has a volume of 150 lots and gets painted red, since the volume was lower than bar 2
bar 4 has a volume of 100 lots and stays red

Thanks,
Bert

NinjaTrader_Josh
11-13-2007, 10:20 PM
This can be done fairly easily. All you need to do is change the Open[0] and Close[0] to VOL()[0] and VOL()[1].

bertg
11-15-2007, 08:29 AM
Josh,

Thank you very much!

Regards,
Bert

Taters
12-18-2007, 04:12 PM
is there a way to mod this code so the volume color follows the candle direction? ie; red candle = red vol bar? I'd like to be able to see at a glance if the volume bar was on an up or down candle- the opposite of bertg's request above...
Thanks and Cheers,
Taters

NinjaTrader_Josh
12-18-2007, 09:57 PM
I believe the original indicator on the first post does what you want Taters.

Taters
12-19-2007, 09:36 AM
Yes indeed. I had downloaded two other volume indicators with similar names and confused those with this. This is what I was looking for . Thank you!
-T