allanster

How To Set Trade Dates

allanster Wizard 已更新   

Example how to backtest specific date(s) which can be useful for testing seasonality strategy ideas such as "Sell in May", etc.

If using Daily period with wild card dates it will not trade on 1st day of month. If market is closed will trade on next open day.

Works only with Daily or lower timeframes. When using on Daily timeframe set dates 1 day earlier to execute on desired dates.

Entering 0 in any of the date fields acts a wild card. Example -> Entry Year: 0 is "Every Year", Exit Month: 0 is "Every Month", etc.


NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
版本注释:
Cosmetic.
版本注释:
Updated for Pine Script v5.

lux ex tenebris • deuro mea umbra absens • Telegram: t.me/allanster
开源脚本

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

免责声明

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

想在图表上使用此脚本?