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

Opening and closing positions on time v2 - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

The EA opens and closes positions at specified times. Also check the conditions:

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

Sell ​​Stop Stop Loss Level

Profit taking profit level

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_rlosing_on_time_v2.mq5 (29.23 KB)

Source: MQL5 #16885

Verification code Refresh