ComeBacker Trading - script MetaTrader 5

Description in an assumption that prices have a tendency to visit previous highs/lows frequently in short-term, this script determines the highest and the lowest prices for last x bars, if highest is the last it opens buy order otherwise it opens sell order. ...

from https://tradingrobots.net/comebacker-trading-script-for-metatrader-5/