I have an indicator that paints/brushes candles/OHLC either one of three different colors (green[1], red[2], blue[3]) upon close of the candle and based upon three specific conditions. I would like the indicator to draw an arrow upon the close of the current bar if the bar was brushed green [1] and the previous bar was red [2], and vice versa (red [2], green [1]). I don't want anything to happen if ([1],[3])([3],[1]), ([2],[3]), ([3],[2]).
Any help would be greatly appreciated.
Thank you!
Comment