Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

EA High and Low Prices in the Last 24 Hours - MetaTrader 5 Expert - MT4/MT5 Resources

author EAcpu | 6 reads | 0 comments |

EA High and Low last 24 hours - expert for MetaTrader 5

EA High and Low last 24 hours - expert for MetaTrader 5

Receive examples of the highest and lowest prices for gold bars over the past 24 hours.

To get the highest price and lowest price, the third calling method high copy and low copy is used:

Make a request based on the first and last date of the desired interval:

Make a request based on the first and last date of the desired interval:

The time interval is expressed as follows:

start time <-> stop time

For convenience, text information is shown on the chart (lower priced example):

EA High and Low last 24 hours - expert for MetaTrader 5

The chart also shows a vertical line (which shows the left boundary of the time interval), and a horizontal line (which shows the price of the search) - (example with lower price):

EA High and Low last 24 hours - expert for MetaTrader 5

Video with example search:


Attachment download

📎 ea_high_and_low_last_24_hours.mq5 (15.9 KB)

Source: MQL5 #17528

Verification code Refresh