简体   繁体   English

MetaTrader4终端,策略测试器:在交易发生之前如何从[结果窗口]跳至[图表]?

[英]MetaTrader4 Terminal, Strategy Tester: how to jump from a [ Results Window ] to the [ Graph ] BEFORE a Trade Happens?

I use the MetaTrader Terminal 4, the Strategy Tester, to optimize an Expert Advisor. 我使用MetaTrader Terminal 4(策略测试器)来优化EA交易。

After a strategy run, I am looking at the individual trades that were executed in that backtest. 在执行策略之后,我将查看在该回测中执行的各个交易。 I jump from the Results sub-window at the bottom of the screen to the referring candle stick in the main chart. 我从屏幕底部的“ Results子窗口跳转到主图表中的引用烛台。

After jumping to the candle stick chart, the chart shows the referring actions ( sell stop , sell , t/p ) at the left side of the chart. 跳到烛台图表后,该图表在图表左侧显示了参考操作( sell stopsellt/p )。

Question: 题:

How is it possible to have the chart centered around these actions or to have the chart showing these actions at the right side of the time window? 如何使图表围绕这些操作居中,或者如何将显示这些操作的图表置于时间窗口的右侧

Metatrader 4的屏幕截图

Your operation starts at 15:00 and the graph candle you are pointing is the candle starting at 15:00. 您的操作从15:00开始,而您所指向的图形蜡烛就是从15:00开始的蜡烛。

The right of the graph is the future, and the left is the past. 图的右边是未来,左边是过去。 So the graph starts just in time BEFORE the operation happens. 因此,图形会在操作发生之前及时开始。

In your graph the left side of the X-Axis is 8 May and the right side of the X-Axis is 12 May. 在您的图形中,X轴的左侧为5月8日,X轴的右侧为5月12日。

One issue you could have is that the graph you are showing is H1 (see the left top indication), so you don't have enough time resolution to see the details. 您可能会遇到的一个问题是,所显示的图形是H1(请参见左上方的指示),因此您没有足够的时间分辨率来查看详细信息。 If you use a M1 graph you'll see with more accuracy the entry and exit points of your strategy. 如果使用M1图,则会更准确地看到策略的入口点和出口点。

Facts first 事实第一

If your wish is to somehow modify an event-handling of the MetaTrader Terminal 4/5, than 如果您希望以某种方式修改MetaTrader Terminal 4/5的事件处理,
( as of 2018-03 ) the software does not provide you any native tool for making this happen . (从2018-03开始) 该软件没有为您提供任何本地工具来实现这一目标 Neither the built-in GUI-event processing ( a-mouse-click ), nor the script-based, code-automated, processing has any means, how a user-code would get an ability to change the default result, as described in your post. 内置的GUI事件处理(a-mouse-click)或基于脚本的,代码自动处理都没有任何方式,用户代码将如何获得更改默认结果的能力,如您的帖子。


Solution

Yet, there is one possibility to get where you want to. 但是,有一种方法可以到达您想要的位置。 One can build an external process, that can communicate with MetaTrader Terminal and thus build your GUI-presentation(s) absolutely free from any hard-wired MT4 Terminal built-ins. 您可以构建一个外部流程,该流程可以与MetaTrader终端进行通信,从而完全从任何硬连线的MT4终端内置程序中构建您的GUI演示。

This way you can integrate analytical platforms, that are limited just by one's imagination and/or budget. 这样,您可以集成分析平台,该平台仅受人的想象力和/或预算限制。

As an example, this is an external real-time GUI from an external analytic processing, based on MT4 data and flow of both XTO/NTO-events, yet working inside a tight RT-control-loop, having a RTT latency of ~ < 75 ms per event-processed: 例如,这是一个来自外部分析处理的外部实时GUI,基于MT4数据和XTO / NTO事件的流向,但仍在严格的RT控制环内运行,RTT延迟为〜<每个事件处理75毫秒: 在此处输入图片说明

This heterogeneous, partially-meshed, fully distributed system uses: 这个异构的,部分网格化的,完全分布式的系统使用:

MT4 <-> C/C++ -> MATLAB -> python2.7 <-> Tkinter MT4 <-> C / C ++ -> MATLAB- -> python2.7 <-> Tkinter

^                                     |
|                                     |
+-------------------------------------+

So, you can get any precision, down to the per each QUOTE -event fidelity analytics, if you need and wish to have it. 因此,如果需要并希望获得精度,则可以精确到每个QUOTE事件保真度分析。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 MetaTrader4 终端中获取当前毫秒数? - How to get current milliseconds in MetaTrader4 Terminal? 如何从vb.net实时从MetaTrader4终端(MT4)读取蜡烛数据 - How to read candle data from a MetaTrader4 Terminal ( MT4 ) from vb.net in realtime 如何从 MQL4 EA 流程(MetaTrader4 终端)运行 Python 脚本? - How to run a python script from an MQL4 EA-process ( MetaTrader4 Terminal )? 无法在MetaTrader Terminal 4 Strategy Tester中关闭我的未平仓交易 - Can't close my open trades in MetaTrader Terminal 4 Strategy Tester 策略测试器中的未知符号但 Metatrader 中的实时数据不是 - Unknown Symbols in Strategy Tester but not Live Data in Metatrader 如何使用 MetaTrader4 错误代码刷新进行正确的错误处理? - How to use a MetaTrader4 Error Code Refresh for proper error handling? 如何在Metatrader4中基于帐户货币计算手数 - How to calculate lot based on account currency in Metatrader4 从metatrader4向python中的电报机器人发送消息 - send message from metatrader4 to telegram bot in python 有人如何将数据从 MetaTrader 4/5 终端发送到外部服务器? - How can someone send data from MetaTrader 4/5 Terminal to external server? MT4 Strategy Tester回测结果面板日期是否与MT4 Graph相关联? - Are MT4 Strategy Tester backtest results panel dates somehow linked with MT4 Graph?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM