Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | Opening and Сlosing on time

MetaTrader Experts, Indicators, Scripts and Libraries

The EA opens and closes positions at a specified time. Only HH:mm are considered in the inputs (time).

Inputs:

opening time (only HH:mm are considered) — position open time

closing time (only HH:mm are considered) — position close time

symbol — traded symbol

volume transaction — position volume

true -> Buy, false -> Sell — if "true", only "Buy" positions are opened; if "false", only "Sell" ones

magic number — EA's magic number.

16728

Best MetaTrader Indicators + Profitable Expert Advisors