在远距选定的 FreeMargin部分脚本打开 SELL。
在激活窗口脚本关闭所有Buy 和 Sell开仓仓位。
脚本移动 StopLoss 推进市场 Distance 。
脚本移动 TakeProfit 推进市场 Distance 。
脚本在指定间隔时间内计算货币对的平均波动并标出结果。
脚本解决"图表衰弱"的问题 - 当交易服务器连接中断,停止刷新报价。
在МТ4和 Excel之间DLL 库数据转换和管理使用 OLE。 在附加的范例中有库的描述。例如:脚本报价显示在 Excel中,创建图表每天更新。文件保留在 C:\p文件Excel中。
Metatrader窗口在脚本内用键盘或鼠标拦截。
MQL4程序中的脚本工具 可以在图表中添加任意的文字信息。
脚本放置了停止定单。放置的定单可以使用指定的自定义变量 High(变量 Hi) 和Low(变量Lo)。
Quickly close open orders by dragging and dropping this expert on chart. Will ask for confirmation to close each order within 2 pips of the drop.
Demo of functions in StringArraySuite.mqh
Simple csv-to-fxt Converter
This script evaluates in points account history loaded into client terminal.
本脚本程序从交易历史中取得订单信息并在交易图表上设置箭头.
本脚本程序使用超时数据发送止损卖出挂单, 并打印订单编号.
Modify pending order - 选择挂单列表中的第一个, 打印选择的挂单数据, 修改挂单并打印修改后挂单的数据.
Modify - 脚本程序, 在买入卖出订单列表中选取第一个, 打印选择的订单数据, 修改订单并打印修改后订单数据.
删除挂单(Delete pending order) - 打印列表中选择的第一个挂单并删除挂单的脚本程序.
Close - 如果在列表中存在, 就关闭第一个市场订单的脚本.
Trade - script sending BUY order and printing selected order data to the log.
Example of file read and write operations
操作对象的简单实例: 创建对象, 修改属性, 重画图表.