Indicator to compare candle close and give signals , help please

 

Hello,


I am looking for an indicator that compares the close of the candle to its previous candle close and show signals accordingly. So, if the canle close above the close of the previous candle, it gives a buy signal and vice versa. Also, if the current candle prices moves above the high of the previous candle, indicator also gives buy signal and vice versa. if candle price moves below the low of the previous candle. Easy but i need this indicator.


If anyone have any idea, please share.


thanks