OPEN-SOURCE SCRIPT

Indicator Tester

283
Indicator Tester


Designed to evaluate and backtest a composite trading signal based on multiple technical indicators across volatility, volume, momentum, and moving average categories. It is suitable for assets like Bitcoin, on all timeframes.

Key Features:
  • Indicator Selection: Allows users to enable/disable indicators such as CCI, Bollinger Bands, RVI, MFI, VZO, EFI, KVO, VPT, COPP, RSI, StochRSI, MOM, TRIX, SMI, MA Cross, RTI, and Simple MA, with customizable parameters.

Customizable Inputs:
  • Individual indicator settings (e.g., lengths, thresholds).

  • Flip threshold to adjust the signal activation point.

  • Backtest settings including custom start date, signal type (Long & Short, Long Only, Short Only), and fees.

  • Table positions for performance and settings display.

Visualization:
  • Plots an equity curve (orange for positive signals, white otherwise) and a buy-and-hold equity curve (blue).

  • Displays a performance table comparing indicator equity, drawdown, standard deviation, Sharpe, Sortino, and Omega ratios with buy-and-hold metrics.

  • A settings table shows backtest start date, fees, number of indicators used, and flip threshold.

Usage:
  • Enables traders to test and optimize a strategy by combining selected indicators, with performance metrics calculated from the equity curve.

  • The equity curve and backtest tables help compare the strategy against a buy-and-hold approach.

  • Ideal for overlay on a 1-day chart to analyze historical performance, as depicted in the Bitcoin/USD chart.












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.