No PlotPaintBar

Questions about MultiCharts and user contributed studies.
User avatar
Posts: 243
Joined: 05 Dec 2014
Location: Italy
Has thanked: 44 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?


Posts: 15
Joined: 06 Jan 2017
Has thanked: 1 time
Been thanked: 10 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)

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”