可视化订单处理 - MetaTrader 4 专家

Order_EA is a simple visual oriented program that uses drag & drop scripts to control order processing.
Take Profit and Stop Loss trend lines are controlled by the local computer - not the broker's computer.
这允许诸如“一个取消另一个”之类的功能以及自动关闭最早的交易而不关闭所有未平仓交易的功能。
一、传统MT4订单
尽管经纪商的计算机处理您所下的每笔交易,但他们的系统需要持续监控,以考虑当前的“路线图”、回调、标志、基本面公告等。
即使是预先知道的事情也无法编程,而必须在发生时手动输入。
二.软件控制订单
There is no such thing as a fully automatic trading system for your home computer that can work as well as the human brain. Even those that work well for a short time will fail due to changes in market conditions. Almost all automatic systems enter at the wrong time and provide a very small profit along with a huge stop-loss.
Several systems are available to alert the user when a group of indicators align to produce a good entry point. Most of these systems rely on moving average crossovers. The simple 200-EMA is one example that sometimes works. Unfortunately, these systems are late in identifying the entry point and will totally miss the exit point.
因此,本文旨在记录一个下达和维护订单的系统,该订单由人类推理和通过将人类逻辑应用于当前价格行为而生成的数学点生成。 虽然某些指标有助于计算波浪(例如 zig-zag 和 MACD),但这些方法的软件实现通常无法生成正确的波浪。 Some indicators can display the current trend as either up or down but none can correctly draw trend lines bracketing the movement.
因此,人脑在经验、培训、规则和适当的图表软件的指导下,设计用于生成易于可视化的趋势、标志、通道等,可以识别成功生成点和利润的切入点、路径点和目标。这些是斯科特·巴克利教授的交易策略。
如果您没有接受过适当的培训来计划交易,包括入场点、目标和止损变动——您已经读得太多了,请关闭本文档并尝试其他内容。
What follows is a description of this software package.
三.订单处理软件
该包由两部分组成:
Order_EA 的输入参数:
智能交易系统:Order_EA
This program can run in the background for every currency pair you wish to trade.
Each of the parameters can be customized for the currency pair associated with the EA. This EA is driven from the lines placed on the chart by the included scripts. When the current price touches a line, the requested action will be taken. Note that this process is slower than when a broker is keeping track of the order entry, stop loss, or take profit.可能会有一些滑点。 Also, for this system to function, your computer must be running with the charts up and active.
That said, an EA can enhance normal trading beyond services provided by the broker.以下服务列表展示了一些简单的更改(例如允许触发线倾斜(跟随趋势))如何增强交易体验。另一个例子; when an order is placed above the current price and another order is placed below the current price, a "One Cancels Other" situation is created. The first line hit deletes all Orders, Take Profit, and Stop Loss lines in the opposite direction.
EA 的止损处理:
除非提供了一组路径点,否则止损线将保留在手动放置的位置。或者,除非设置了 Order_Fill_21 行。每次当前价格达到定义的路径点时,止损线将前进至前一个路径点(或订单输入)减去 4 点。当当前价格超过每个路径点 4 点时,将输入新订单以及附加止损。
对于 Order_Fill_21 线,第一个止损提前 21 点,并输入新订单(带止损)。 止损线以 4 个点的间隔排成一串,落后于领先(第一个)止损线。如果没有路径点或订单执行线,止损将不会自动移动。 然而,固定止损可以是移动平均线或趋势线之后的对角线,实际上创建“追踪止损”。
请注意,该货币对的价格行为遇到的第一个止损将导致最旧的订单条目被关闭。此序列将继续,直到遇到最后一个止损,此时所有剩余订单均被平仓。如果只有一条止损线,则当触及该线时,所有订单都将被平仓。 MetaTrader 4 止损线是水平的,触及时将关闭所有未平仓交易。

EA 的止盈处理:
The Take Profit line is not an absolute hard stop as it is when a take-profit line is defined to MetaTrader 4. First off, the MT4 take-profit closes all open trades at the same time. Order_EA 用户有两个选项: 1) 如果 EnableTS 设置为“true”(默认),以下段落描述了 TP 操作,2) 如果 EnableTS 设置为“false”,Order_EA 将在触及 TP 线时关闭最旧的订单。最后遇到的目标价线将关闭所有剩余的未平仓订单。
当 EnableTS 设置为 true 时,Order_EA 将让利润持续运行,直到遇到 4 点的回调。然后,最早的订单条目将首先被关闭,随后的订单将遵循其自己的获利和/或止损线。订单必须按照输入的顺序关闭,但不必全部同时关闭。最后触及止盈线将关闭所有剩余订单。
当当前价格达到止盈线 10 点时,止盈线将转换为追踪止损线,并将前进至当前价格的 20 点以内。价格行为每前进一个点,追踪止损线就会前进 2 个点 – 直到追踪止损线与当前价格相差 4 个点以内。 The Trailing Stop line will remain within 4-pips of the current price, even as the current price advances well beyond the old Take Profit line.
只有一根追踪止损线。 All remaining Stop Loss and Take Profit lines remain in play until the current Trailing Stop line is taken out by price action. Then the next Take Profit line can create a Trailing Stop. When the last Take Profit line has been processed, all orders are closed.
每个脚本都需要从导航器窗格到图表窗口(使用鼠标左键)并放置在正确的位置,因为大多数脚本都会记录释放鼠标左键的位置。 A drop above the current price indicates a "Buy" whereas a drop below the current price is a "Sell". Buys are taken from the Ask price quoted by the broker. 卖出是相对于买入价进行的。
附件下载
Source: MQL5 #12096
💡 精彩内容推荐
✍️ 楼主最新发布
- •
- •
- •
- •
- •
- •
🔗 您可能感兴趣
- •
- •
- •
- •
- •
- •
