bonsai_trade

Bonsai BX (Backtester)

bonsai_trade 已更新   
In today's trading landscape, traders need precision and deep analytical tools to navigate the sea of strategies. The Bonsai Backtester is one such tool, meticulously designed to evaluate multiple trading strategies in an integrated manner.

═════════════════════════════════════════════════════════════════════════

🌳 Bonsai BX 🌳 Universal Strategy Testing

📘 Overview

A product of collaboration with the Bonsai community, this backtester is both a reflection of collective insights and a means to provide traders with data-driven insights on TradingView.

📌 Current Backtest

 • Dataset: BTCUSD daily candles from Coinbase, starting from March 2015.
 • Source Signals: The Bonsai indicator signals are employed for both long and short entries. These are directly visible on the publication chart.
 • Trading Assumptions:
  • Initial Capital: $1,000
  • Maximum Position Size: 10% of equity per trade
  • Stop Loss: 10% per position
  • Commission: 0.1%
  • Slippage: 100 ticks (1.00)

🛠 Key Features

The Bonsai BX is equipped with a range of features aimed at providing traders with a more comprehensive analysis environment:

Features on Chart

 • External Indicator Adaptability: Easily incorporate signals from both built-in and custom TradingView indicators.
 • Snapshot Table: Delivers on-the-spot insights into crucial strategy performance metrics, including equity, open profit, position size, and entry price. While these details are available in TradingView's 'Performance Summary' panel, we've integrated them directly onto the chart for a more streamlined and accessible viewing experience.
 • Trade Labels: Visualize profit metrics for individual trades directly on the chart, allowing for a more immediate grasp of trade outcomes.
 • Long & Short Behaviors: Modify long behaviors to either open new long positions while closing short ones, or simply to close short positions. Conversely, for short behaviors, opt to either initiate new short positions while closing any active long ones or simply close long positions.
 • Multiple Signals Integration: The tool can currently handle up to three different external signals for long and short trades.
 • Condition-based Initiation: Define whether longs and shorts are triggered when 'All Conditions Met' or just 'Any Single Condition Met'. This flexibility allows for a more nuanced trading approach. For example, if you're using a trade signal alongside the RSI, you can specify that a long position should only open when the trade signal is active and the RSI is below 30 at the same time. This lets you combine multiple signals or conditions for more precise trade initiation.
 • TP & SL Customization:
  • Single TP: Set a specific Take Profit percentage.
  • SL: Define a Stop Loss percentage and choose between a standard or trailing stop.
  • Trail From: Specify the starting point of the trailing stop, be it the breakeven point or a certain percentage.
 • Interface Theme: Users can select between light and dark themes for their interface.

Performance and Trailing

🎛 Using Bonsai BX

1. Add it to your TradingView chart.
2. Adjust script parameters and settings. Integrate external indicator signals as needed.
3. Activate the backtester to refine trading strategies.

Backtester Settings Menu

🪝 Webhook (Beta)

The Webhook functionality, now in beta, augments the Bonsai BX utility. This feature offers a more intuitive method for users to direct webhooks to trading bots, exchanges, and brokers. It simplifies the process by eliminating the need to adjust JSON structures or other payload formats, making alert automation more accessible.

📜 Feedback & Community

The feedback from the Bonsai community has been instrumental in the tool's development and will continue to shape its evolution. As part of our commitment to adaptive, smart trading, this script will continually be updated to meet the ever-changing requirements of traders.

❗️ Disclaimer

Backtesting tools, including the Bonsai BX, simulate trading strategies based on historical data. The following key points should be kept in mind:

1. Past Performance is Not Predictive: While backtesting can offer insights, it's essential to understand that past performance does not guarantee or predict future results. Historical data might not account for future market changes or unforeseen events.
2. External Influences: Market outcomes can be significantly influenced by various external factors like geopolitical events, economic announcements, and sudden shifts in market sentiment. Such factors are often not considered in backtesting simulations.
3. Market Dynamics: Elements like market volatility, liquidity constraints, and slippage can drastically alter expected outcomes. These dynamics might not always be accurately represented in backtest simulations.
4. Limitations of Simulated Trades: Backtesting operates under the assumption that historical trends and patterns will replicate. However, market conditions evolve, and what worked in the past might not necessarily be viable in the future.
5. Informed Decisions: Always base your trading decisions on a mix of comprehensive research, current market analysis, and risk assessment. Relying solely on backtested results can lead to misconstrued perceptions and potential pitfalls.
Trading involves risks, and it's crucial to be fully informed and cautious before making any investment decisions. Always consider seeking advice from financial experts or professionals when in doubt.
發布通知:
Update on Bonsai BX

  • Added new quick sources for long and short conditions to simplify condition settings.
  • Increased options for external sources in both long and short strategies.
發布通知:
  • Improved functionality to display trailing trigger plots exclusively during active periods.

🪴Access: bonsai.trade
💬Telegram t.me/bonsai_trade
僅限邀請腳本

僅限作者授權的用戶訪問此腳本,並且通常需要付費。您可以將其增加到收藏腳本中,但是只有在向作者請求並獲得許可之後,才能使用它。 請與bonsai_trade聯繫以獲取更多資訊,或按照以下作者的說明進行操作。

在您100%信任腳本作者並了解腳本的工作原理之前,TradingView不建議您購買腳本並使用它。在很多情況下,您可以在我們的社群腳本庫中免費找到一個不錯的開源替代品。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

作者的說明

Explore this tool and a range of others at bonsai.trade - For assistance, reach out to us at support@bonsai.trade.

想在圖表上使用此腳本?

警告:請閱讀,然後再請求訪問權限。