Can someone help me create an indicator that places the following on a candle or bar:  HH, HL, LH, LL based on the price action?
Top of candle/bar
HH- Higher high than previous candle
HL - Higher low of the previous candle
Bottom of Candle
LH - Lower high of the previous candle
LL - Lower low of the previous candle
	
		
			
		
		
	
				
			Top of candle/bar
HH- Higher high than previous candle
HL - Higher low of the previous candle
Bottom of Candle
LH - Lower high of the previous candle
LL - Lower low of the previous candle
 
				 
						 
 
		 
 
		 
 
		