Solomon Anietie Sunday / 个人资料
- 信息
|
不
经验
|
1
产品
|
10
演示版
|
|
0
工作
|
0
信号
|
0
订阅者
|
Specialized in Trend-based, Indicator based, adaptive, risk management, clean, and well-documented code/strategies.
I value clear communication, learning, well thought out logic implementation, and stable results in real trading conditions.
This article implements a static, CSV-based news source for the Strategy Tester, so historical economic news events can be preloaded and queried during backtesting. It replaces live calendar calls in tester mode with a fast in-memory search, preserves the live logic for trading, and delivers deterministic, repeatable results with explicit control over included events, enabling reliable validation of news-aware filters, stop suspension, and trade-blocking rules.
The article introduces a restart-safe storage model for news-time stop removal. Suspension state and original SL/TP per position are written to terminal global variables, reconstructed on OnInit, and cleaned after restoration. This lets the EA resume an active suspension window after recompiles or restarts and restore stops only when the news window ends.
In part 2, we extend the news filter to protect existing positions during news events. Instead of closing trades, we temporarily remove stop-loss and take-profit levels, storing them safely in memory. When the news window ends, stops are deterministically restored, adjusted if price has already crossed the original levels, while respecting broker minimum distance rules. The result is a mechanism that preserves trade integrity without interfering with entry logic, keeping the EA in control through volatility.
We build a calendar‑driven news filter entirely in MQL5, avoiding web requests and external DLLs. Part 1 covers loading and caching events, mapping them to symbols by currency, filtering by impact level, defining pre/post windows, and blocking new trades during active news, with optional pre‑news position closure. The result is a configurable, prop‑firm‑friendly control that reduces false pauses and protects entries during volatility.
The Harbinger SuperTrend Lite 重要提示: 购买应用后,请通过 MQL5 消息给我发信息,以获取安装手册/用户指南,其中包含从零开始使用此交易机器人所需的一切。 描述: Harbinger SuperTrend Lite 是一款高级自动交易专家顾问(Expert Advisor/EA),建立在不重绘(non-repainting)的 SuperTrend 执行引擎之上,并结合了基于 RSI 的市场机制过滤器,可从任何选定的时间框架进行过滤。 该 EA 纯粹按照当前趋势的方向进行交易,利用 RSI 和其他内部过滤器在看涨和看跌条件下进行交易。仓位大小根据您输入的每笔交易百分比自动计算,确保所有品种和账户规模的风险管理一致。此 Lite 版本专注于清晰、可靠和成熟的交易执行。 它在一个方向上进行单笔交易,此 EA 不使用网格(Grid)或马丁格尔(Martingale)风格的交易。相反,Harbinger
