Configurable quantitative channel-breakout Expert Advisor for MetaTrader 5 with centralized account risk controls.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chiki Bum Chiki Bum c9f83f945a fix: stamp persisted risk state on one consistent broker-server clock
UQStateSave() overwrote updatedAt with TimeCurrent(), the last-quote time, while ApplyResetRequest() created the cycle on UQServerNow(), the broker-server time. On a quiet market the quote clock trails the server clock, so a legitimate owner reset produced updatedAt < createdAt and UQStateValidate() refused the staged state. The lock and baseline timestamps had the same split clock, and the mirrored case (a quote clock slightly ahead of the server clock, so staticLockTime > createdAt) also refused a valid reset.

All persisted state timestamps now come from UQStateStampResolve(), which resolves one stamp from UQServerNow() for the whole save: it never precedes the state's own creation, never rewinds the timestamp already proven on disk, refuses an unavailable clock, and refuses a value beyond the plausibility window UQStateValidate() enforces. Validation, the state schema and the reset authorization are unchanged.
2026-10-31 20:14:48 +07:00
Include fix: stamp persisted risk state on one consistent broker-server clock 2026-10-31 20:14:48 +07:00
.gitignore feat: add Universal_Quant_EA with channel breakout signals and centralized equity risk controls 2026-10-30 07:19:59 +07:00
Universal_Quant_EA.mq5 Fix duplicate-instance ownership integrity (V2 guard + persistence gate) 2026-10-31 19:20:50 +07:00