Support

Equilla Formula Language

NoPlot

Clears a previously plotted data point.

Inputs

PlotName
String: The name of the plotted value to clear (or the plot number).

Remarks

The output of the DrawBar, DrawCandleStick and DrawPriceMarker functions can not be invalidated using this function. To clear the output of the DrawBar or DrawCandleStick function you have to call the corresponding function using Invalid for all price parameters. Output generated by the DrawPriceMarker function can not be cleared manually.

Examples

Only plot on the current bar
If CurrentBar = LastBar Then DrawLine( HighestFC( High, 14 ), "HI" ); NoPlot[1]( "HI" );
The same example but a slightly different syntax
If CurrentBar = LastBar Then DrawLine( HighestFC( High, 14 ), "HI" ); NoPlot[1]( 1 ); // i.e. the first output of this indicator
A final example which is equivalent but does not use the NoPlot method
If CurrentBar = LastBar Then DrawLine( HighestFC( High, 14 ), "HI" ); DrawLine[1]( Invalid, "HI" )