OPEN-SOURCE SCRIPT

Strategy BackTest Display Statistics - TraderHalai

This script was born out of my quest to be able to display strategy back test statistics on charts to allow for easier backtesting on devices that do not natively support backtest engine (such as mobile phones, when I am backtesting from away from my computer). There are already a few good ones on TradingView, but most / many are too complicated for my needs.

Found an excellent display backtest engine by 'The Art of Trading'. This script is a snippet of his hard work, with some very minor tweaks and changes. Much respect to the original author.

Full credit to the original author of this script. It can be found here:
Hammers & Stars Strategy


I decided to modify the script by simplifying it down and make it easier to integrate into existing strategies, using simple copy and paste, by relying on existing tradingview strategy backtester inputs. I have also added 3 additional performance metrics:

- Max Run Up
- Average Win per trade
- Average Loss per trade

As this is a work in progress, I will look to add in more performance metrics in future, as I further develop this script.

Feel free to use this display panel in your scripts and strategies.

Thanks and enjoy :)
analysisbacktestmetricsoptionspanelperformancePine utilitiesstatisticsstrategytable

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明