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

Open and close positions on time - MetaTrader 5 Experts | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 5 reads | 0 comments |

The EA opens and closes positions at specified times. Only HH:mm is considered in the input (time).

Opening time (only HH:mm is considered) — position holding time

Closing time (only HH:mm is considered) — closing time

Symbol - trading symbol

Volume — open interest

true -> buy, false -> sell — if "true", only "buy" positions are opened; if "false", only "sell"

Magic number — the magic number for EA.


Attachment download

📎 opening_and_ilosing_on_time.mq5 (14.59 KB)

Source: MQL5 #16728

Open and close positions on time - MetaTrader 5 experts | MT5 EA download - MetaTrader 5 resource usage and screening suggestions

Open and close positions on time - MetaTrader 5 experts | MT5 EA download - MetaTrader 5 resources are MT5 EA related resources. Before downloading or referencing, it is recommended to confirm the platform version, transaction type, time period, whether DLL is required, whether source code is included, parameter description and historical update records.

Both automated trading tools and foreign exchange indicators should first undergo backtesting, simulated account observation, and small capital verification. Pay special attention to spreads, slippages, maximum drawdowns, position opening frequency, stop loss methods, trading periods and broker rules, and avoid direct real-time execution based only on titles or short-term profit descriptions.

Verification code Refresh