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 อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?