MT5和速度在行动 - 页 82

 
fxsaber:

我不会对那些我不理解的帖子作出回应。

懒惰、长篇描述、取消

 
fxsaber:

如果你增加字符数,你也会看到内存消耗膨胀的问题。

增加。

2021.02.05 16:48:47.862 CopyTicks_bug024 (EURUSD,D1)    Benchmark.mqh: TimeAvg[GetMicrosecondsCount()] = 0 mcs.
2021.02.05 16:48:47.862 CopyTicks_bug024 (EURUSD,D1)    Benchmark.mqh is On.
2021.02.05 16:48:49.052 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 183617 mcs.
2021.02.05 16:48:49.052 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 128 mcs.
2021.02.05 16:48:50.018 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 164117 mcs.
2021.02.05 16:48:50.018 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 119 mcs.
2021.02.05 16:48:50.995 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 142599 mcs.
2021.02.05 16:48:50.995 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 120 mcs.
2021.02.05 16:48:51.874 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 8822 mcs.
2021.02.05 16:48:51.874 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 71 mcs.
2021.02.05 16:48:53.047 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 192544 mcs.
2021.02.05 16:48:53.047 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 176 mcs.
2021.02.05 16:48:54.097 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 236094 mcs.
2021.02.05 16:48:54.097 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 130 mcs.
2021.02.05 16:48:55.078 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 225878 mcs.
2021.02.05 16:48:55.078 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 128 mcs.
2021.02.05 16:48:55.877 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 27860 mcs.
2021.02.05 16:48:55.877 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 90 mcs.
2021.02.05 16:48:56.884 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 37563 mcs.
2021.02.05 16:48:56.885 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 104 mcs.
2021.02.05 16:48:57.901 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 35817 mcs.
2021.02.05 16:48:57.901 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 92 mcs.
2021.02.05 16:48:58.913 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 584 in OnTimer: CopyTicks_Test()] = 50650 mcs.
2021.02.05 16:48:58.913 CopyTicks_bug024 (EURUSD,D1)    Alert: Bench_Stack = 0, 1 <= Time[CopyTicks_bug024.mq5 585 in OnTimer: CopyTicksRange_Test()] = 121 mcs.
2021.02.05 16:48:58.913 CopyTicks_bug024 (EURUSD,D1)    ExpertRemove() function called
2021.02.05 16:48:58.913 CopyTicks_bug024 (EURUSD,D1)    SymbolsTotal(true) = 61
2021.02.05 16:48:58.935 CopyTicks_bug024 (EURUSD,D1)    TerminalInfoInteger(TERMINAL_MEMORY_USED) = 1476
 

关于交易、自动交易系统和交易策略测试的论坛

MT5和速度在行动

Dzmitry Manannikov, 2021.02.05 14:50

增加。

2021.02.05 16:48:58.913 CopyTicks_bug024 (EURUSD,D1)    SymbolsTotal(true) = 61
2021.02.05 16:48:58.935 CopyTicks_bug024 (EURUSD,D1)    TerminalInfoInteger(TERMINAL_MEMORY_USED) = 1476

关于交易、自动交易系统和交易策略测试的论坛

MT5和速度在行动

Dzmitry Manannikov, 2021.02.05 14:38

2021.02.05 16:23:17.921 CopyTicks_bug024 (EURUSD,D1)    SymbolsTotal(true) = 3
2021.02.05 16:23:17.929 CopyTicks_bug024 (EURUSD,D1)    TerminalInfoInteger(TERMINAL_MEMORY_USED) = 657
谢谢你。它在一起甚至更好。很高兴看到消费的增加,当只是采取最后的蜱虫,没有人进入蜱虫历史的迷宫。
 
我的测试
附加的文件:
 
Konstantin Aleksandrov:
我的测试

谢谢,在你的配置中,使用CopyTicks的情况相当糟糕--每个请求都需要半秒。

 
Benchmark.mqh: TimeAvg[GetMicrosecondsCount()] = 0 mcs.
Benchmark.mqh is On.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 18203515 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 153 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 510201 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 157 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 463460 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 148 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 463374 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 150 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 457153 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 174 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 491020 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 168 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 491319 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 151 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 474759 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 149 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 468541 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 149 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 465631 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 154 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 63 in OnTimer: CopyTicks_Test()] = 486809 mcs.
Alert: Bench_Stack = 0, 1 <= Time[xxx.mq5 64 in OnTimer: CopyTicksRange_Test()] = 153 mcs.
ExpertRemove() function called
SymbolsTotal(true) = 47
TerminalInfoInteger(TERMINAL_MEMORY_USED) = 897
CopyTicks在这里受到了很多影响,是的。这就是为什么我到处使用Range,尽管我不得不牺牲内存。
 

我一定是错过了什么。这就是零坪的设置方式。

如果你需要,我可以给你发一个日志到PM。事实证明,OnTradeTransaction的速度非常慢如何解决这个问题?


这样一台机器。


我可以在1.5毫秒内得到它。但价值的范围是灾难性的。我再说一遍,如果我需要,我准备向总理提供完整的日志。真实账户,而不是模拟账户。

 
fxsaber:

OnTradeTransaction的速度非常慢。我怎样才能解决这个问题呢?

要求从经纪人那里获得服务器日志。一切都在0.3毫秒内发生。

事实证明,终端确实被自己的队列噎住了。而且没有什么可做的!


HZZ看了另一台更强大的机器的日志,那里的ping是百分之一毫秒。我只有一个终端在运行。情况是一样的。我花了50毫秒才下了一个挂单!我刚刚提高了我的交易活动,这一切都付诸东流。


SZY迁移到Linux 有帮助吗?

Косяки терминала в Linux
Косяки терминала в Linux
  • 2021.02.13
  • www.mql5.com
Добрый вечер. У меня терминал запущен под вайном в Linux (OpenSuse). На данный момент, всё работает корректно, но я наблюдаю некоторые неудобства...
 
fxsaber:

从经纪人那里查询了服务器日志。在0.3毫秒内,一切都会发生。

事实证明,确实是这样,终端在自己的队列中窒息。而且没有什么可做的!


HZZ看了另一台更强大的机器的日志,那里的ping是百分之一毫秒。我只有一个终端在运行。情况是一样的。我花了50毫秒才下了一个挂单!我刚刚提高了我的交易活动,这一切都付诸东流。


SZY迁移到Linux 有帮助吗?

我在linux上测量了订单速度,是一样的。

我的极限是97-98毫秒,94平,同一地点。

 
fxsaber:

从经纪人那里查询了服务器日志。在0.3毫秒内,一切都会发生。

事实证明,确实是这样,终端在自己的队列中窒息。而且没有什么可做的!


HZZ看了另一台更强大的机器的日志,那里的ping是百分之一毫秒。我只有一个终端在运行。情况是一样的。我花了50毫秒才下了一个挂单!我刚刚提高了我的交易活动,这一切都付诸东流。


SZY迁移到Linux 有帮助吗?

我的感觉是,在wine 6.0.0 Ubuntu 18.04 xfce下的MT5 2755比WinXP下的MT5 1755更慢。

两者都是在Debian 10 Buster(i5-2500K, 32GB, ssd RAID-1)中的kvm virtualis。