PROTECTED SOURCE SCRIPT

Hodie Smart Backtest

26
Hodie Smart Backtest — a backtesting indicator that displays only closed candles, designed for accurate strategy testing without hints from higher timeframes or live bars.

Key Features:
  • Plots only confirmed candles (barstate.isconfirmed).
  • Customizable colors for candle bodies, borders, and wicks for both bullish and bearish candles.

Recommended settings for proper use:
  • On the main chart, disable the default candle display (bodies, borders, wicks).
  • In the price scale settings, turn off price labels and the current price line to avoid hints from the open bar.

This ensures a clean visualization of historical data, ideal for manual or automated backtesting.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.