Download Open Time 2 for MetaTrader 5

Open Time 2

Open Time 2

This tool for MetaTrader 5 is specifically engineered to streamline your trading operations. This Expert Advisor serves as automated trading software. It is utilized to monitor financial markets and execute trades based on predefined algorithmic rules, enabling precise position management without the need for constant manual oversight.

MT5 expert Pack 📂

How to Setup and Use Open Time 2

1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.

2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.

3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.

4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.

Frequently Asked Questions

Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.

Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.

Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.

Description & Settings

What's new in version 2

The EA now allows setting two time intervals, inside which positions can be opened;

It also allows setting the days of the week when opening of positions is allowed;

The following parameters can be specified independently for each time interval:

Trading type: BUY or SELL

Stop Loss

Take Profit
The same lot size and trailing function are used for the two intervals. The EA may have only one position in each time interval.
A unique magic number is generated for each time interval. The magic number for interval #1 magic is specified in input parameters:
This magic number is saved in the internal
m_magic_one
variable, while the magic number of the interval #2 is saved in the internal
m_magic_two
variable, which is larger than
m_magic_one
by one:
Input Parameters

Positions closing options

Use closing time interval #1
- enable/disable closing by time for interval #1;

Closing time interval #1 (ONLY hour:minute!)
- time to close a position for the interval #1 (only hours and minutes are taken into account);

Use closing time interval #2
- enable/disable closing by time for interval #2;

Closing time interval #2 (ONLY hour:minute!)
- time to close a position for the interval #2 (only hours and minutes are taken into account);

Trailing stop ("0" -> trailing OFF) (in pips)
- trailing stop function, 0 means that the function is disabled;

Trailing step (in pips)
- trailing step value.

Positions opening settings

Trade on Monday
- enabled/disable trading on Monday;

Trade on Tuesday
- enabled/disable trading on Tuesday;

Trade on Wednesday
- enabled/disable trading on Wednesday;

Trade on Thursday
- enabled/disable trading on Thursday;

Trade on Friday
- enabled/disable trading on Friday;

Opening start time interval #1 (ONLY hour:minute!)
- the beginning of the time interval #1 (only hours and minutes are taken into account);

Opening end time interval #1 (ONLY hour:minute!)
- the end of the time interval #1 (only hours and minutes are taken into account);

Opening start time interval #2 (ONLY hour:minute!)
- the beginning of the time interval #2 (only hours and minutes are taken into account);

Opening end time interval #2 (ONLY hour:minute!)
- the end of the time interval #2 (only hours and minutes are taken into account);

Duration in seconds
- the duration of an operation in seconds;

Type of trade in time interval #1 ("true" -> BUY, "false" -> SELL)
- trading type allowed in the interval #1: BUY or SELL;

Type of trade in time interval #2 ("true" -> BUY, "false" -> SELL)
- trading type allowed in the interval #2: BUY or SELL;

Volume transaction
- the volume of position to open;

StopLoss time interval #1 (in pips)
- Stop Loss for positions in the interval #1;

TakeProfit time interval #1 (in pips)
- Take Profit for positions in the interval #1;

StopLoss time interval #2 (in pips)
- Stop Loss for positions in the interval #2;

TakeProfit time interval #2 (in pips)
- Take Profit for positions in the interval #2.

Expert Advisor Options

MagicNumber time interval #1 (time interval #2 == MagicNumber+1)
- the unique ID used for positions in the interval #1. The magic number for the interval #2 is greater by one.
Testing results for EURUSD,M30:

You May Also Like

RobotFX does not own any of the code provided on this platform. All tools are freely available on the internet; we simply index and re-offer them for download. We are not responsible for any financial losses that may occur. Trading responsibilities rely solely on the traders downloading and using the displayed Expert Advisors, indicators, and scripts. These tools are provided for educational purposes only and may require modification or optimization to align with a trader's specific strategy or needs.
© ROBOTFX - Best MetaTrader Expert Advisors & Indicators