It is a simple indicator that makes a line in the candle behind the current one, and should be erased after the next candle opens.
NOTE: It should also make the line in vejas Doji, when (close = Open).
Here is the code attached, but my code is not deleting the previous ones, I need to have this function.