Amibroker indicator for swing high /low

dear
can you please let know if there us any indcator for swing high and swing low for 3 candle pattern
where middle candle has highest high and middle candle has highest low