How to make line invisible?

Oct 23, 2007
11
0
11
#1
Hi, everyone.

I'm making original indicator.
But I don't know how to make line invisible.
I plot SetPlotWidth(1 , 0), but line does not disappear:-0
If you know how to, please teach me!!:help:

Thank you.:)
 
Jan 14, 2003
8,421
870
173
UK
#2
Why do you want an indicator that does not plot anything ? Are you wanting it to plot some of the time and not others ? Anyway you can use something like this:

If Close > Highest(C,1)[1] Then NoPlot(1);


Paul
 

Charlton

Well-known member
Nov 23, 2003
1,501
325
93
#3
Hi, everyone.

I'm making original indicator.
But I don't know how to make line invisible.
I plot SetPlotWidth(1 , 0), but line does not disappear:-0
If you know how to, please teach me!!:help:

Thank you.:)
As Trader333 said, it is difficult to advise without knowing the circumstances behind your wish to make a line invisible.

Sometimes you have several plots in a window and you might want to hide some. If this is what you wanted to do then click on the plot or indicator and then use right click. Choose format and go to the scaling tab. Here you can make certain plots hidden (click on subgraph). In the example shown, if I hide the first plot you will only see the RSI on its own.

Charlton
 

Attachments

Oct 23, 2007
11
0
11
#4
Trader333 and Charlton, thank you for your advisde!!

I forgot "NoPlot" function:p
I solved the problem.

I appreciate you help-ing me:)