I am trying to code a indicator which plots an arrow if certain conditions are met but I am not sure how I only plot the arrow on the first candle that closes equal to or higher from previous candle and not plot any more arrows after that. Here is the code but it plots arrows every time the new candle goes higher than previous candle (I only want to plot on first candle that does that only). I also want to do this if current candle closes equal to or lower than previous candle only.
Last edited: