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

2016.02.08 12:26
Trade when the market is closed

Trade when the market is closed - script for MetaTrader 4

| English Español Português 日本語 Русский Deutsch

votes: 15

The script is designed to place orders at the time when it is not possible, for example, when the market is closed.

Specify the trading direction (buy or sell), the order volume and the parameters of the stops in the script. As soon as the market opens, the order will be placed. Moreover, this script will maintain the order until its closure. It is possible to specify all the trailing parameters, then the order will be maintained by a trailing stop once it is opened.

There is another feature - virtual stops. If the stop loss or take profit was specified below the stop level allowed by the broker, then the script will control the stop loss and take profit virtually and will close the order by the specified parameters itself.

If a GAP occurs during the attachment of the script to the chart, then the script will try to open the order by the first price available.

It is also possible to specify the start time of the script, then the order will be placed not immediately once the market opens, but at the specified time.

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.