# 智能自动化回测系统

**TradingBox下一代领先回测系统是行业的前沿，与传统参数逐一设置逐一回测的方式不同， 领先回测系统由AI自动抓取数据后再给予用户最佳参数灵敏度的设置建议，AI建议在先，用户设置在后，树立了业界新形态。**

***

{% hint style="info" %} <mark style="color:blue;">**用户可利用AI功能，根据TradingBox信号系统，实时定制自己的自动化交易策略。**</mark>
{% endhint %}

> <mark style="color:blue;">**TradingBox超级智能回测系统 允许用户对**</mark>[<mark style="color:blue;">**《智能网络学习PRO》**</mark> ](/use/chao-ji-xin-hao-xi-tong/zhi-neng-wang-lu-xue-xi-pro.md)<mark style="color:blue;">**以及**</mark>[<mark style="color:blue;">**《智能网络学习MAX》**</mark>](/use/chao-ji-xin-hao-xi-tong/zhi-neng-wang-lu-xue-xi-max.md) <mark style="color:blue;">**信号系统进行回测，利用AI优化器功能来识别最佳参数，并可对接各大交易所自动化执行您的交易。**</mark>

<figure><img src="/files/aZLOfU9tuWeIjZ3HUuUO" alt=""><figcaption><p><mark style="color:blue;">PRO 回测系统版面展示</mark></p></figcaption></figure>

<figure><img src="/files/npQsxv3oEMxf5vS60LZt" alt=""><figcaption><p><mark style="color:blue;">MAX 回测系统版面展示</mark></p></figcaption></figure>

{% hint style="info" %} <mark style="color:blue;">**用户在仪表盘上可看到对应品种设置的最佳参数建议，并由优化器进行性能高低的排序。**</mark>
{% endhint %}

<figure><img src="/files/iLaNeaddc3OqDQ2qiNB2" alt="" width="563"><figcaption><p><mark style="color:blue;">参数优化仪表盘</mark></p></figcaption></figure>

### <mark style="color:yellow;">多样化的离场方式</mark>

{% hint style="info" %} <mark style="color:blue;">退出方式A : 内置退出</mark>
{% endhint %}

<figure><img src="/files/MTAMh9N5rFxfkriHSPfj" alt="" width="563"><figcaption></figcaption></figure>

* 信号退出：当新信号诞生时平仓持有的头寸，并新开与信号一致的头寸。
* 内置退出：依信号系统建议的退出点位平仓，并等待下一个信号诞生时开立与新信号一致的头寸。

{% hint style="info" %} <mark style="color:blue;">退出方式B : 价格/货币/百分比/真实波动率 多种方式退出。</mark>
{% endhint %}

<figure><img src="/files/dzfGPddeDe6nLK0yB5hv" alt="" width="563"><figcaption></figcaption></figure>

* 价格：将止盈/止损订单设置为指定价格。后面的“0”值位置应输入具体的价格。
* 货币：将止盈/止损订单设置为距离开仓位置指定数量的货币。举例：若您只想在信号诞生后赚30美金就离场，并等待下一次信号；那后面的“0”值位置应输入“30”。
* 百分比：将止盈/止损订单设置为距离开仓位置指定的变动百分比上。举例：若您只想在做多信号诞生后，价格只要上涨3% 就获利离场，并等待下一次信号；那后面的“0”值位置应输入“3”。
* 真实波动率： 将止盈/止损订单设置在距离入场位置的 *N* 平均真实范围Atr的水平上，其中 *N* 是指定的乘数。举例：如果当前价格是150， “0”值位置您输入的是2.5，那么离场位置就在【150+（Atr\*2.5)】。

{% hint style="info" %} <mark style="color:blue;">退出方式C : 引用外部指标源。</mark>
{% endhint %}

<figure><img src="/files/w79RIgCXjmjLlKAKA0mt" alt="" width="563"><figcaption></figcaption></figure>

* TradingBox回测系统允许用户使用第三方指标来打造您的强大自动化交易策略。
* 用户启动此功能并且如果所选的外部来源是 **Crossing**， **Crossing Up**，**Crossing Down**， **Greater** **Than**， **Below**或 **Equal** 用户指定的数值，则会触发离场条件。
* 如果用户不想使用指定数值来评估具有外部源的条件，则可使用占位符，支持以下占位符：<br>
  * `open`  开盘价
  * `high` 最高价
  * `low`  最低价
  * `close` 收盘价
  * `hl2` 高低中位数
  * `ohlc4` 高开低收平均值
  * `hlc3` 高低收平均值
  * `hlcc4` 收盘价两倍权重 高低收收平均值

***

{% hint style="warning" %} <mark style="color:red;">**为更好的显示回测系统的整体思路，用户应将PRO/MAX信号系统 与回测系统同时加载到图表上验证，此举可将实际的进出场点位更直观的展现出来！**</mark>
{% endhint %}

{% hint style="danger" %}
*<mark style="color:red;">**TradingBox™️软件仅为教育学习目的使用，不构成任何的财务建议。**</mark>*\
*<mark style="color:red;">**TradingBox™️信号系统的信号为实时、真实信号，无任何重绘虚假信号。**</mark>*\
*<mark style="color:red;">**期货合约交易有可能使用户损失掉全部的本金。**</mark>*\
*<mark style="color:red;">**回测结果并不代表未来结果。历史数据效果并不代表未来返回值一定出现的效果。**</mark>*\
*<mark style="color:red;">**模拟的回测结果有一定的局限性，实际结果可能会低于或高于回测结果。**</mark>*\
*<mark style="color:red;">**通常模拟的回测是基于已出现的数据来设计，实际市场受多种因素影响，如缺乏流动性等。**</mark>*\
*<mark style="color:red;">**TradingBox™️无权访问用户的任何交易账户，交易风险100%由用户自身承担。**</mark>*
{% endhint %}

***

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tradingbox.gitbook.io/use/chao-ji-zhi-neng-zi-dong-hua-jiao-yi/zhi-neng-zi-dong-hua-hui-ce-xi-tong.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
