거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Grid assistant - MetaTrader 4용 expert

조회수:
36597
평가:
(56)
게시됨:
2016.10.27 13:36
업데이트됨:
2016.11.22 07:32
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Semi-automatic grid assistant

The Expert Advisor is designed for placing managing grids.


Expert buttons

  • "Buy Stop" — open a grid of buy stop pending orders
  • "Sell Stop" — open a grid of sell stop pending orders
  • "Buy Limit" — open a grid of buy limit pending orders
  • "Sell Limit" — open a grid of sell limit pending orders
  • "Close Buy" — close the entire grid and all opened buy positions
  • "Close Sell" — close the entire grid and all opened sell positions
  • "Close" — close the entire grid and all opened positions
  • "Tral Profit" — trail profit of all positions starting from ProfitStart

Expert Settings
  • OrdersBuyStop — number of orders in BuyStop grid
  • OrdersSellStop — number of orders in SellStop grid
  • OrdersBuyLimit — number of orders in BuyLimit grid
  • OrdersSellLimit — number of orders in SellLimit grid
  • StepBuyStop — step between orders in BuyStop grid
  • StepSellStop — step between orders in SellStop grid
  • StepBuyLimit — step between orders in BuyLimit grid
  • StepSellLimit — step between orders in SellLimit grid
  • Lot — lot of the first order based on the price, lot sizes of subsequent orders are based on formula
  • LotPlus — addition to the initial lot size
For example:
  • Lot = 0.1
  • LotPlus = 0.1
  • first lot: 0.1
  • second: 0.1+0.1=0.2
  • third: 0.2+0.1=0.3
  • fourth: 0.3+0.1=0.4
  • FirstLevel — distance from th price to the first order (if 0, opened at the stop level). It can be changed in the top right corner of the panel.
2 profit taking methods:
  • ProfitClose — profit in the deposit currency (for example: set to $100, when the total grid profit reaches $100, it will be closed).
  • ProfitStart — profit in the deposit currency to start trailing, for example: $50.
  • TralClose — close when profit decreases, for example: $20.

Profit reached 50, trailing was activated, profit continued to grow to 60, then rolled back to 20 and everything was closed with $40 of profit. The pending orders are deleted, and an alert with the "continue operation?" question pops up. If you answer ОК — grid is placed again.


Features of closing orders

First, the EA attempts to close all orders by opposite ones, then closes the market positions and pending orders.

The EA can be tested and customized in the strategy tester, but strictly in Visual mode, as the EA does not press buttons on its own!

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/16093

The simplest RSI-based EA The simplest RSI-based EA

Sells at downward crossing of 70, buys at the upward crossing of 30.

Pivot point Pivot point

The indicator displays the price pivot point.

Trailing Master Trailing Master

The Expert Advisor that performs order trailing after reaching certain profit.

Break-Even Master Break-Even Master

The Expert Advisor that moves the stop loss to breakeven after reaching certain profit.