Thanks to mohanee for the base code. we modified this to not give entry alerts but instead alert on the just the divs themselves.
Works really well with an AO div detector.
backtest
/*backtest start: 2022-04-30 00:00:00 end: 2022-05-29 23:59:00 period: 5m basePeriod: 1m exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}] */ // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © JayTradingCharts //@version=4