Year Range Inputs: start_year and end_year allow you to define the range of years in which the strategy will execute. You can adjust these values in the script’s settings panel in TradingView.
Entry Condition: The strategy checks that the current year falls within the specified range before entering a trade on Monday’s open.
Exit Condition: Similarly, it only exits on Tuesday’s close if the current year is within the specified range. This setup ensures that trades only take place between the defined years, effectively filtering out unwanted trades outside this timeframe.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.