Mql5官网 Partial Close and Virtual Trailing 外汇EA

Mql5官网 Partial Close and Virtual Trailing 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
Mql5官网 Partial Close and Virtual Trailing 外汇EA
此内容为免费资源,请登录后查看
0积分
免费资源

如果免费资源下载的文件为TXT文档

请联系站长更新!站长微信:Lv596999  Telegram:@eapoj

“Mql5官网”板块的EA基本都有,大部分是无限制NODLL版,NODLL版本MT1420升级,大多数不可用!这些EA来源为国外花钱买过来的

有需要,请联系站长!

“EA测评”板块资源全部现有,看见不错的,可以联系站长看EA在确定是否收费

“无限制EA”板块,大部分免费,下载文件全部存在,都可以免费下载

站长硬盘EA太多,因大部分时间做交易,做风控,没太多时间更新下载地址,请谅解!

需要更新下载文件,请联系站长微信!国外朋友请联系Telegram。


PARTIAL CLOSE & VIRTUAL TRAILING Virtual trailing with partial position closing.

ea-PartTrailing&Close is a fully automated Expert Advisor for tracking trades. Version =Simple= provides tracking of one BUY or SELL orders (or 1 Buy+1 Sell simultaneously). The EA is almost perfect at averaging profit and loss. StopLoss without TakeProfit is recommended since the latter may limit your profit in case of sharp price spikes.

The trailing is virtual since every movement of the levels responsible for a certain order part does not modify stop orders. What is a virtual tracking of orders with partial closing? Let’s consider the version for a BUY order.

1234 (in this example, there are 4 parts of position closing).

  • LevelsClose——-“05/10/15/20” (closing levels – 5 points, 10 points, 15 points, 20 points)
  • PercentsClose—-“30/30/20/20” (30% of lot closing, 30%, 20%, 20% — totally, we have 100% and the order is fully closed).

When opening a BUY order, the levels are plotted below an order Open price at the distances set in LevelsClose. At each level, a part of an order set in PercentsClose is closed.

  1. An order is opened.
  2. The levels arrange below the order Open price at the distance: (1) level – 05 points, (2) -10 p. etc.
  3. The price moves up and all levels follow the price.
  4. The price reverses and starts moving down.
  5. The levels do not move and remain in place.
  6. The price crosses the level (1). 30% of the order is closed.
  7. If the price moves further down and breaks the level (2), 30% of the order is closed again.
  8. The price moves up again and the remaining two levels follow it.
  9. The price reverses and starts moving down.
  10. The price crosses the level (3). 20% of the order is partially closed.

The algorithm is repeated till all the levels set in the LevelsClose/PercentsClose parameters are broken through. The process itself is displayed on the screenshot N1-2. The entire EA operation is displayed in the video.

Inputs

_TRADE_Params_ = “=== TRADING PARAMETERS ===”

  • LevelsClose – “05/10/15/20” Order partial closing levels (in points). If a Buy order is opened, the levels of the partial order closing are plotted below the Open price at the distances: first – 05 points, second – 10 points, third – 15 points, fourth – 20 points. The opposite is true for a Sell order.
  • PercentsClose – “30/30/20/20” Order partial closing percentage (in % of a starting lot). The sum of all partial closing values should be 100% (30+30+20+20) so that an order is finally closed in full. Otherwise, part of an order remains.

Simple_Trailling – “=== Trailling ===”

  • TrailingSBSMinus – allow virtual trailing with partial order closing
  • TrailingStepMinus – trailing minimum step

_Other_Params_ – “=== Other Params ===”

  • Magic – order magic number
  • Slippage – allowable slippage

Language_ – “=== 0-English, 1-Cyrillic ===”

  • Language – message language

_Only_Tester – “=== Params for Tester only ===”

  • TesterBuy – open Buy for verification – works in the tester only
  • TesterSell – open Sell for verification – works in the tester only

_Line_UPDN – “==== LineBuy / LineSell ====”

  • InpColorBuy – color of the Buy order partial closing levels
  • InpolorSell – color of the Sell order partial closing levels

图片[1]-Mql5官网 Partial Close and Virtual Trailing 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站

© 版权声明
THE END
喜欢就支持一下吧
点赞98 分享
相关推荐