Home  ›  block algo flex  ›  Documentation  ›  How to Backtest

How to Backtest

Backtesting with Zendog V3

block algo flex integrates with Zendog V3, a free TradingView strategy tester, to let you backtest your signal configurations against historical data.

Setup Steps

  1. Add Zendog V3 — Search for "Zendog" in the TradingView Indicators panel and add it to your chart (it is a free community script)
  2. Enable Zendog in block algo flex — Open block algo flex settings and check the Zendog integration option
  3. Configure Zendog — In Zendog's settings:
- Set Deal end type to External Indicator - Under External Indicator, select block algo flex: Zendog Signal - Set Deal start value to =1
  1. Review results — Zendog will display base orders opening at your buy signals. Check the Strategy Tester panel at the bottom of TradingView for performance metrics.

Note: Zendog can only test long positions. Short signal backtesting is not supported.

Interpreting Results

In the Strategy Tester panel, look at:

  • Net profit — Total P&L over the test period
  • Win rate — Percentage of profitable trades
  • Profit factor — Gross profit divided by gross loss (above 1.0 = profitable)
  • Max drawdown — Largest peak-to-trough decline
  • Average trade — Mean return per trade

Tip: Test your signal across different assets, timeframes, and market conditions (bull, bear, sideways) to ensure robustness. A signal that only works on one asset in one time period is likely overfit.

This is a static view of a single section. For full search and interactivity visit the docs app. Open interactive docs →