OPEN-SOURCE SCRIPT

Indicator Tester

236
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.












Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.