🌳 Bonsai Backtester: A Universal Strategy Tester 🌳

🌟 Introduction

Navigating through trading strategies often presents complexities. Bonsai Backtester simplifies this journey by offering a sophisticated, comprehensive solution for evaluating multiple trading strategies. Developed in collaboration with the Bonsai community, this tool aims to provide traders with insightful, data-driven analyses. Additionally, it introduces a set of innovative features not commonly found in existing tools, significantly contributing to the collective capabilities available within the TradingView community.

📊 Specifics

Displayed Backtest Details

  • Conducted over daily candles for BTCUSD on the Coinbase exchange, beginning in March 2015.

  • Incorporates signals from the Bonsai indicator for long and short entries. This indicator is presented in the publication chart for reference.

  • Adopts the following parameters to offer a realistic and modest trading scenario:

    • Initial Capital: $1,000

    • Maximum Position Size: 10% of equity per trade

    • Stop Loss: 10% per position

    • Commission: 0.1%

    • Slippage: 100 ticks

🎯 Features

📡 External Indicator Compatibility

Bonsai Backtester is engineered to accept output signals from either built-in or custom indicators available on TradingView. These signals can serve as separate or combined inputs for long and short positions, as well as act as filters, thereby broadening the spectrum of strategy alternatives.

📋 Quick Insights Table

For a quicker understanding of your strategy's performance, the tool includes a table that shows key data such as equity, open profit, current position size, and entry price.

⏳ Timeframe Customization

Users have the flexibility to tailor the backtesting period, making it possible to refine analyses to specific trading days or sessions.

🎯 Risk Management

Our tool integrates a multifaceted Take Profit and Stop Loss system that grants traders the freedom to personalize their risk strategy. Among its features is a trailing stop mechanism with trigger settings, such as percentage-based and breakeven triggers.

🌈 Dashboard Themes

Dark or light theme options for optimal visual background.

📜 How to Operate

  1. Add the Bonsai Backtester to your TradingView chart.

  2. Open the script parameters to adjust the settings and incorporate signals from external indicators.

  3. Once configured, utilize the tool to optimize and fine-tune your trading strategy.

🌐 The Bonsai Community

Input from the Bonsai community is pivotal for the script's ongoing refinement. As part of our commitment to adaptive, smart trading, this script will continually be updated to meet the ever-changing requirements of traders. Let's cultivate smarter trading, the Bonsai way! 🌳📊

❗️ Disclaimer

Backtesters are built to simulate historical trading scenarios and should never be viewed as a forecast of future outcomes. It's crucial to conduct your own thorough due diligence, weighing all factors like current market conditions and financial risks before committing to any trading action.

Last updated