// Downloaded From https://www.WiseStockTrader.com a = hhv(close, 30); b = ((a / close) - 1) * 100; filter = b < 1.5; // Near all time highs