NoPlot (Reserved Word)
This reserved word removes the specified plot from the current bar in the price chart.
NoPlot(Num)
Num is a numeric expression representing the number of the plot to remove.
Remarks
This reserved word is useful when collecting data on a real-time/delayed basis and you have the Update value intra-bar check box selected for the ShowMe/PaintBar study. If the ShowMe/PaintBar study condition becomes true during the bar, but is not true at the end of the bar, the mark is removed. If you do not use this reserved word, the mark would be placed on the bar when the condition became true and left there even when the condition was no longer true.
The value returned is a number representing the assigned width of the specified plot line.
Example
The following ShowMe study marks the low of a gap down bar, but removes the mark if the condition is no longer true for the bar:
If High < Low of 1 Bar Ago Then
Plot1(Low, "GapDown")
Else
NoPlot(1) ;
Additional Example
One way to mark the high of a bar when the condition Close > Close[1] is true, but remove the mark if Close <= Close[1], is to use code like the following. Consider using this code in a ShowMe study, or in an indicator with the Chart Style of Plot1 set to Point style:
If Close > Close[1] Then
Plot1(High, "CloseUp")
Else
NoPlot(1);