{ Indicator: _PlotErase(Price,PriceLength,PriceColor,BGColor,Offset) Description: Indicator to demonstrate how to erase a plot while leaving the least trace. Method: After PriceLength bars of price are displayed, the plot is overplotted with the narrowest line possible set to equal the chart background color. The overplotted line is moved to a value equal to the lowest low on the last several bars of the symbol price action, to move it well away from the symbol candlestick bars. If this is not done, faint black lines through the candlestick bars will be seen as a trace of the erased plot. By shifting the replotted line well away from the body and tails of the symbol candlestick bars, no trace of the erased plot can be seen. The narrowest possible line is used in replotting the indicator so that it does not interrupt more than minimum number of fine dots that make up the grid pattern overlayed on the background color of the chart. Author: MarkSanDiego Version: 01/02/08 Original version. 01/31/10 Revised and reposted to forum } inputs: Price(TypicalPrice), // price or function to be plotted PriceLength(10), // number of bars to display price DisplaceLength(20), // number of bars to use with Lowest Low displacement PriceColor(Cyan), // color of price line PriceThick(1); // thickness of the line to be plotted vars: BGColor(GetBackgroundColor); // color of chart background (usually black) Plot1(Price, "Price", PriceColor, default, PriceThick); { erase plot after PriceLength bars displayed } Plot1[PriceLength](LowestFC(Low[PriceLength],DisplaceLength), "Price", BGColor, default, 0);