Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


Pending orders by time - expert for MetaTrader 5

Pending orders by time | English Русский 中文 Español Deutsch 日本語 Português

Published by:
Vladimir Karputov
votes: 25
2017.11.03 12:31
2018.02.28 10:29

Author of the idea:  Yuri, mq5 code author: barabashkakvn.

The Expert Advisor works with pending orders: it sets Buy Stop and Sell Stop at the specified time. Pending orders are set with the Stop Loss. The EA uses virtual Take Profit, i.e. it monitors open positions, and when the current position profit reaches Take Profit, the EA closes it by market.

Operation features:

  • The Expert Advisor works on timeframe below "H1".
  • For example, if the Expert Advisor works on the M15 timeframe, the EA will place pending orders four times within one hour: at [hour]:00 minutes, at [hour]:15, at [hour]:30 and at [hour]:45.

Results for EURUSD, H30 with the following settings:

  • Opening hour - 09
  • Closing hour - 21
  • Distance from the price (in pips) - 10
  • Volume transaction - 0.1
  • Stop Loss (in pips) - 20
  • Take Profit (in pips) - 500

Pending orders by time

Translated from Russian by MetaQuotes Software Corp.
Original code:

EA Trix EA Trix

An expert advisor based on the TRIX ARROWS indicator.


The Triple Exponential Average (TRIX) indicator + the signal line + arrows at the intersection of the signal and the main lines.

OpenTime OpenTime

Opening and closing positions at a specified time.

Anubis Anubis

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