Attributed metadata history
Up to 100 retained publisher events per page for 6465059aa533249e3df73bb1eb337e57f47374d195994bf3f4c577a19d091917. Withdrawals and unavailable references remain attributed to their publishers.
intelligence_src_6dc544294b7f21f98a
observed · 2026-12-04 06:27:03 UTC
Forex and CFD prices keep moving over the weekend while the market is closed. When trading resumes, the first price can be far away from Friday's close. Backtests on bar data often treat that jump like any other move, but live it can trigger entries at prices your logic never expected, and it can push stop orders through their levels. A small gap check at the start of the week lets the EA make a deliberate choice instead of reacting by accident. Measuring the gap The idea is simple: compare the open of the first bar of the new session with the close of the last bar before the break. On the H1 chart the break shows up as a time difference much larger than one bar. // Returns the gap in points if the current bar is the first after a long break, else 0 double SessionGapPoints(const string sym, ENUM_TIMEFRAMES tf, int minBreakHours = 24) { MqlRates r[]; ArraySetAsSeries(r, true); if(CopyRates(sym, tf, 0, 2, r) < 2) return 0.0; long breakSeconds = (long)(r[0].time - r[1].time); if(breakSeconds < (long)minBreakHours * 3600) return 0.0; double point = SymbolInfoDouble(sym, SYMBOL_POINT); if(point <= 0.0) return 0.0; ret
Fingerprint: 1ce652a219ffbefbfa85054e24651eaa5f485536cec69136b29278934e6499ef
intelligence_src_6dc544294b7f21f98a
observed · 2026-10-12 11:01:03 UTC
available
Fingerprint: 2faf9469031bd0e00603457ab86d15e2040aea06ef98482184945872c5cb389f