Page 1 of 1

Is it possible to plot a study and a paintbar using only 1 ?

Posted: 22 Feb 2012
by sptrader
I want to plot volume in plot5 and plot 1-4 (default) for a paint bar, to show me when volume exceeds a certain level, is there a simple "trick" to make this possible ? It would be cleaner than 2 separate studies. (Something like my primitive example below, which doesn't work right).

Code: Select all

Input:ClrLvL(750);
if volume >= clrlvl then PlotPaintBar(High, Low, Open, Close, "", magenta);
Plot5(volume,"vol");