OPEN-SOURCE SCRIPT

C320up Strategy Tester Start Time

Mis à jour
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!
Notes de version
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.

DATESimple Moving Average (SMA)strategytestingTIMEtimeframe

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité