EA Reading Trade Alerts from MT4 Log and set Pending Orders Based on Time Intervals

MQL4 专家 外汇 RegExp

指定

I have purchased an EA that does not open trades; it only triggers trade alerts. However, these trade alerts are also written to the regular MT4 journal/log when MobilePush Notification is active. The logs are located in /logs/<YearMonthDay>.log, for example, /logs/20231227.log.

I need an EA that reads this log and set the pending orders. The trades are always pending orders (Buy or Sell Stop), never market orders, and each trade has an expiry date.

Here is an example log entry:
0 18:38:34.502 Notifications: '<EAname> Long Signal
USDCAD
Chart: 15 Minute
Entry 1.3222
TP1 1.3237
TP2 1.3252
TP3 1.3267
SL 1.3192
Expiry 2023.12.27 20:38:33
This message is for educational purposes only and does not provide investment advice nor a general recommendation. See PDF' sent to '<metaquotesID>

It would be fine if TP1, TP2, or TP3 can be used depending on input settings. The EA does not need to read the log and execute trades every tick; it would be sufficient to do so, for example, every minute or every 5 minutes. I am not entirely clear on how the EA could differentiate between already set pending orders and those that are still todo. However, if the log is read every 5 minutes, only the trades from the last 5 minutes could be considered.

I would like to receive the source code for the EA.


反馈

1
开发者 1
等级
(27)
项目
27
26%
仲裁
2
0% / 50%
逾期
1
4%
空闲
2
开发者 2
等级
(251)
项目
402
38%
仲裁
82
41% / 20%
逾期
70
17%
工作中
相似订单
Raffaele Furnari 50 - 85 USD
Hallo zusammen, ich brauche einen Expert Advisor der am einem bestimten Zeitpunkt den man einstellen können solte von den letzten 10-20 candels das high und low erfassen soll und dan einen durch bruch dieser zone erkennen soll. In diesem moment sollte der Bot eine position öffnen mit einer voreingestellten Lotsize, sobald die position offen ist sollte der Bot einen moving Stoploos einstellen natürlich mit

项目信息

预算
36+ USD
VAT (19%): 6.84 USD
总计: 42.84 USD
开发人员
32.4 USD
截止日期
 1  7 天