请观看如何免费下载自动交易
请在Telegram上找到我们!
加入我们粉丝页
有趣的脚本?
因此发布一个链接 -
让其他人评价
喜欢这个脚本? 在MetaTrader 5客户端尝试它
EA

Universal 1.64 - MetaTrader 5EA

发布者:
Vladimir Karputov
显示:
1698
等级:
(31)
已发布:
2018.06.11 17:11
需要基于此代码的EA交易或指标吗?请在自由职业者服务中订购 进入自由职业者服务

思路来源: Scriptor

MQL5 代码作者: Vladimir Karputov

通用持仓尾随和挂单。 智能交易系统即可开仓也可挂单。

它可以:

  • 任何类型 (市价和挂单) 的尾随停止级别;
  • 应用剥头皮技术;
  • 依据所需的百分比跟踪资金增长 — 一旦达到该数值,EA 可以通知用户;
  • 放置挂单,这可由用户允许;
  • 在屏幕上显示智能交易系统设置。
  • EA 最初设计是作为通用尾随工具,而其它所有功能都是为了方便而添加的。


输入值

  • 对于全部手动开仓,魔幻数字是 \"0\"
    • magic number - 一个由 EA 使用的唯一标识符;
    • Lot - 智能交易系统开仓或挂单的手数。

  • 挂单开关 - 挂单的标志:
    • Wait close position - 等待持仓平仓 ("true" - 等待持仓平仓,"false" - 等待挂单触发);
    • Allow/prohibit BUY STOP - 使用 Buy Stop 订单;
    • Allow/prohibit SELL LIMIT - 使用 Sell Limit 订单;
    • Allow/prohibit SELL STOP - 使用 Sell Stop 订单;
    • Allow/prohibit BUY LIMIT - 使用 Buy Limit 订单。

  • 持仓参数
    • Maximum number of positions of one type - 市场上一种持仓类型的最大数量;
    • TakeProfit of positions - 止盈价;
    • StopLoss of positions - 止损价;
    • Trailing Stop of positions. "0" --> off - 尾随停止功能;
    • Trailing Step of positions - 尾随步长值;
    • Wait profit, "true" -> wait breakeven - 首先 EA 等待盈亏平衡价位,然后应用尾随功能。

  • 停止订单参数
    • Distance from current price to Stop Order level - 当前价格与停止订单之间的距离;
    • TakeProfit Stop Orders - 停止订单的止盈值;
    • StopLoss Stop Orders - 停止订单的止损值;
    • 停止订单的尾随停止。 "0" --> off and Trailing Step is not important - 停止订单的尾随功能;
    • Trailing Step of a Stop Orders - 停止订单的尾随步长值。

  • 限价订单参数
    • Distance from current price to Limit Order level - 当前价格与限价订单之间的距离;
    • TakeProfit Limit Orders - 限价订单的止盈值;
    • StopLoss Limit Orders - 限价订单的止损值;
    • 限价订单的尾随停止。 "0" --> off and Trailing Step is not important - 限价订单的尾随功能;
    • Trailing Step of a Limit Orders - 限价订单的尾随步长值。

  • Only for work on time - 交易时间设置
    • Use time - 在指定的时间内启用操作;
    • Terminal hours of the deals - 交易时间 (小时);
    • Terminal minutes of the deals - 交易时间 (分钟);
    • Use open Buy on time - 基于时间开多头仓标志;
    • Use open Sell on time - 基于时间开空头仓标志;
    • Use pending Buy Stop on time - 基于时间放置 Buy Stop 挂单标志;
    • Use pending Sell Limit on time - 基于时间放置 Sell Limit 挂单标志;
    • Use pending Sell Stop on time - 基于时间放置 Sell Stop 挂单标志;
    • Use pending Buy Limit on time - 基于时间放置 Buy Limit 挂单标志。

  • Pipsing - 启用 pipsing (剥头皮) 策略
    • Pipsing profit - 策略盈利。

  • Global levels - 盈利和亏损等级 (%) (供参考)
    • To catch the increase/decrease of the deposit by NNN percent - 跟踪资金等级;
    • Global TakeProfit (given in percent);
    • Global StopLoss (given in percent).

由MetaQuotes Ltd译自俄语
原代码: https://www.mql5.com/ru/code/20424

Mod_ATR_Trailing_Stop Mod_ATR_Trailing_Stop

一款止损价位的指标。

LSMA LSMA

最小二乘移动平均线 - 通过最小二乘法计算的移动平均线。

PVI_Smoothed PVI_Smoothed

正交易量平滑指数

REMA REMA

Cris Satchwell 的正规化 EMA。