1h or 2h resolution Any market without multiple weekly binary data events and enough liquidity (eg. Bitcoin)
**For bitcoin use preferably on bitfinex or an index of all exchanges and exchange volume. Most of the price manipulation occurs at bitfinex, other exchanges will often be slightly behind.
V 0.0.1 ** KNOWN ISSUES Around the time of the new daily candle (2AM GMT+1 on BTC) false signals may occur due to 24 hours being the highest resolution. Repainting: due to the nature of tradingview's pinescript these false signals will disappear after 2-3 new candles and refreshing the page.
** UPDATES Added browser alerts (untested)
Tip: Don't always wait for the bot to flip to risk off when volatility kicks in (eg. during wash trades).