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

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

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

Postby sptrader » 22 Feb 2012

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");

Return to “User Contributed Studies and Indicator Library”