Skip to content
All library documents

Scheduled Multi-Currency Trading with Basket Profit and Loss Exits

Article MQL5 code base

Summary

This document outlines a multi-currency expert advisor that opens a buy or sell position at a user-selected time. Traders can choose the currencies, set a time to close positions, and specify aggregate profit or loss thresholds that trigger closing all positions. The configuration can include up to ten symbols, including repeats.

The source gives a concise description of the advisor’s controls rather than a tested strategy or detailed entry rationale. It does not explain how to choose the direction of each trade, how the schedule relates to market conditions, or what evidence supports the approach. It warns that entering a symbol that does not exist on the trading platform causes the advisor to unload with an error. No performance figures, risk analysis, or backtest results are provided, so the description alone cannot establish whether scheduled entries or basket exits are effective.

Key ideas

  • The advisor can open a buy or sell position at a configured time.
  • Users can select currencies and schedule position closure.
  • A percentage profit or loss threshold can close all open positions.
  • The configuration supports up to ten symbol entries, and symbols may repeat.
  • A nonexistent symbol causes the advisor to stop loading with an error.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.