Hi all,
like exists noplot for the command Plot, exists something for no plot plotpintbar?
Thanks,
No PlotPaintBar
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
Re: No PlotPaintBar
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:
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
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);
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