v5.2: hold weekend block all Friday + close by Thu midnight ET

CheckWeekendProtection previously returned true after the one-shot
weekend close, so the EA resumed placing new grids for the rest of
Friday. Now it stays blocked until the next trading day and keeps
sweeping stray positions/pendings while blocked.

All 17 presets: InpWeekendCloseHour 17 -> 7 (server UTC+3), closing
everything at Friday 07:00 server = Thursday midnight ET, per the
no-weekend-carry policy.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-11 11:57:55 -04:00
co-authored by Claude Fable 5
parent 0175a6edff
commit 29baa17897
18 changed files with 30 additions and 20 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ InpMaxWeeklyDrawdown=5.0
; === Weekend Protection ===
InpCloseBeforeWeekend=true
InpWeekendCloseHour=17
InpWeekendCloseHour=7
InpCancelPendingBeforeWeekend=true
; === Session Notes ===