C320up

C320up Strategy Tester Start Time

C320up 已更新   
C320up Strategy Tester Start Time

This is a little snippet you can paste into your Strategy to set the testing start date and time.

It is not a Strategy per se, though is an example with the timestamp script included.

Instructions are fairly straight forward, and are listed in the script.

If for some reason you also wanted an end date, that too is possible. Just leave a note in the comments.

Disclaimer: We searched for a similar script on TV, and could not find anything at this point in time.

You can set your preferred date and time in the input section of the settings.

Enjoy!
版本注释:
Update: We have added End Time to the script.

Why us Start Time and End Time?

Let’s say you want to test your strategy only during previous know bullish market conditions.

Perhaps your strategy may perform differently during bullish conditions compared to bearish conditions.

Take Bitcoin for example:

You could set your start time to 2017, 11, 12, 00, 00 and set your end time to 2017, 12, 17, 00, 00.

This would filter and only sample the last bull run from 2017-11-12 to 2017-12-17.
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?