거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
게시자:
Vladimir Karputov
조회수:
5606
평가:
(33)
게시됨:
2017.11.03 12:32
업데이트됨:
2018.02.28 10:31
OpenTime.mq5 (35.13 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Author of the idea: Iurii Tokman, mq5 code author: barabashkakvn.

The Expert Advisor opens positions at the specified time. You can set separate permissions for opening Buy and Sell positions. You can also configure the EA to close positions at a certain time. Also, it is possible to set stop loss, take profit, and trailing stop.


Input Parameters

  • Position closing options

    • Use position closing time - the flag sets whether to use or not time-based position closing.
    • Closing hour - target hour for closing.
    • Minutes of position closing - minutes for closing.
    • Trailing - the use of the trailing stop function.
    • Trailing stop (in pips) - trailing stop value.
    • Trailing step (in pips) - trailing step value.

  • Position opening settings

    • Opening hour - position opening hour.
    • Minutes of position opening - position opening minutes.
    • Duration in seconds - the duration of period for position opening.
    • Use Sell - allowing the EA to open Sell positions.
    • Use Buy - allowing the EA to open Buy positions.
    • Volume transaction - the volume of positions.
    • StopLoss (in pips) - Stop Loss value.
    • TakeProfit (in pips) - Take Profit value.

  • Advisor Options
    • MagicNumber - magic.

It is recommended to optimize the EA in two steps. AT the first step, optimize only important parameters:

OpenTime optimization

Then select the best variant, disable settings form the first step and enable the rest of parameters.

One of the results on EURUSD,H1:

OpenTime

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

Pending orders by time Pending orders by time

The Expert Advisor sets pending Buy Stop and Sell Stop order at a specified time.

EA Trix EA Trix

An expert advisor based on the TRIX ARROWS indicator.

Anubis Anubis

The Expert Advisor trades using the signals of the following indicators: iStdDev (two indicators), iMACD, iCCI, iATR. Moving positions to breakeven.

This is a cross-platform МТ45 Expert Advisor This is a cross-platform МТ45 Expert Advisor

The МТ45 Expert Advisor is based on the Martingale strategy. It is designed for trading in the МetaТrader 4 and МetaТrader 5 terminals.