Close at Friday
- Utilitaires
-
Frank William Jr Colbert
Bonjour à tous ! J'ai pensé à créer des outils de trading, des utilitaires et des analyseurs approfondis pour rendre le trading plus sûr et plus facile pour moi, et j'espère que ceux-ci pourront également aider d'autres personnes dans leur parcours de trading forex, d'analyse et de gestion des - Version: 1.2
A position management utility designed to automatically close all trades and stop further trading on Friday evenings before the market closes for the weekend. This helps traders avoid weekend gap risk.
Features:
Activates on Friday based on the broker’s server time.
User-definable exit time (e.g., 22:00).
Can close Buy orders only, Sell orders only, or both.
Includes a flag (`tradingStopped`) to prevent new trades after the Friday exit is triggered.
Effective Uses:
Weekend Gap Protection: Close all positions ahead of high-impact weekend news or events to avoid large gaps on Sunday open.
Weekly Reset: Used as part of a weekly trading strategy to ensure the account is flat over the weekend.
Compliance: Useful for traders who are not allowed to hold positions over the weekend due to risk management rules.
