Download EA High and Low last 24 hours for MetaTrader 5

EA High and Low last 24 hours

EA High and Low last 24 hours

This professional-grade solution for MetaTrader 5 helps traders achieve greater efficiency in their daily workflow. 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 EA High and Low last 24 hours

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


An example of receiving the High and Low prices of bars over the past 24 hours.
Hot Keys:

The "H" key (case insensitive) — find the High price

The "L" key (case insensitive) — find the Low price
To get the High and Low prices, the third form of call and is used:
Requesting based on the first and last date of the required time interval:
int CopyHigh( string symbol_name, // Symbol name ENUM_TIMEFRAMES timeframe, // Period datetime start_time, // Start date datetime stop_time, // End date double high_array[] // Array to copy High prices );
Requesting based on the first and last date of the required time interval:
int CopyLow( string symbol_name, // Symbol name ENUM_TIMEFRAMES timeframe, // Period datetime start_time, // Start date datetime stop_time, // End date double low_array[] // Array to copy Low prices );
The time interval is represented as follows:
datetime stop_time = TimeCurrent(); // stop date and time datetime start_time = stop_time-24*60*60; // start date and time
start_time <-> stop_time
Visualization:
For convenience, text information is displayed on the chart (the example with low prices):
Also a vertical line is displayed in the chart (it shows the left border of the time interval), and a horizontal line is shown (means the searched price) — (the example with low prices):
The video with a sample search:

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