No PlotPaintBar

Questions about MultiCharts and user contributed studies.
tradingest
Posts: 283
Joined: 05 Dec 2014
Location: Italy
Has thanked: 53 times
Been thanked: 3 times

No PlotPaintBar

Postby tradingest » 01 Jan 2018

Hi all,

like exists noplot for the command Plot, exists something for no plot plotpintbar?

Thanks,

MAZINGUER
Posts: 75
Joined: 06 Jan 2017
Has thanked: 9 times
Been thanked: 25 times

Re: No PlotPaintBar

Postby MAZINGUER » 06 Jan 2018

Hi tradingest,
create an " if ..... then" block for the condition that includes the instructions to draw a paintbar.
Once the block is defined, you must use the "NoPlot (1)" instruction after an "else"
Something like this:

Code: Select all

If .........{conditions}........ then
PlotPB (High, Low, "name", color)
else
NoPlot(1);
ahh, and another thing,
note that the "plotPB" instruction is not numbered so if you want to paint some bars (that meet certain conditions) of one color and other bars (that meet other conditions) of another color, you must use the "PlotPb" instruction with the same label (in this case , "name"), but changing the color


Return to “MultiCharts”