DDecoene

Buy and Hold, which day of month is best to buy?

I wanted to invest a certain fiat amount each month and was wondering which day would be best to do this.

So, with this script, you can set your entry day. On the last day of the date range, it will close all positions. You can then see what amount of the asset you have accumulated to date. If you try all the days of the month and see when you can sell the most amount of the asset, you've found the best buy date of the month for that asset.

A second option is to set an exit day. This is good for a strategy where you would go long (buy) on the entry date and short (sell) on the exit day.
This was inspired by people running out of money by the end of the month and selling their asset, which could make the price fall. Then when they receive the wages by the 5th or so, they would rebuy, causing the price to go up.

开源脚本

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

免责声明

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

想在图表上使用此脚本?