TAYU Academy course material · MT4/MT5 Platform Mastery
Text walkthrough
Attaching an EA and setting parameters
A self-paced text walkthrough, without video or audio. See the article below for worked examples and materials.
Course Notes
1. Understand the core idea of “Attaching an EA and setting parameters” and explain it in your own words
2. Master this module's focus: EAs, mobile and security
3. Complete the assignment on your own and check it against the reference answer
EA permissions are execution permissions, not validity proofs. Parameters, Magic, chart period, trading instruments, and terminal instances all impact execution; re-mounting may reset the memory state, and reliance on window icons to judge that all strategies are stopped is not advisable.
EA (Expert Advisor) is placed in the Experts directory of MQL4/5 and is then activated with algorithmic trading/auto trading once it is attached to the chart. Before going live, it should be validated in the strategy tester and on the demo account, noting the version and parameters. Mobile devices are suitable for viewing and for urgent closing, not recommended for complex analysis. Two-step verification should be enabled on the platform, and trading passwords should not be given to third parties. Only read passwords should be used for viewing.
Example: Open the strategy tester in MT5 by pressing Ctrl+R, select EURUSD, H1, and choose the "based on real pip" mode for backtesting. The results only show past performance; for a demo account, observe slippage and disconnection issues as well.
Use only examples that can be reviewed → check input parameters → disable live order permission and verify with logs → record instance identifiers → rehearse a stop and check whether other instances and pending orders remain.
List the conflicts when two terminals run the same Magic number, and design a filter key that will not mishandle other strategies' orders.
Possible signal duplication or mismanagement of others' positions; at least filter joint accounts, varieties, Magic IDs, and strategy instances. Magic is not globally unique and still requires explicit rules for position ownership.
Backtest: The EA is still running on the server, but a trade is closed on the mobile app, and the EA generates a new signal to open a position. The correct approach is to first stop the terminal or strategy running the EA, then check for unexecuted orders, positions, and trading journal; merely logging out from the mobile app does not constitute stopping the EA.
Do not disable system security protection to allow EA access to unrelated files or network permissions. Do not mix ex4 from MT4 with ex5 from MT5.
1. Test an EA first, then demo, and only then consider small capital
2. Never lend your trading password; use the read-only password only for viewing
3. Use mobile mainly for monitoring and risk control
Risk warning: leveraged trading in forex, precious metals and similar products carries a high level of risk and you may lose all of your capital, or more. This course is for education only. It is not investment advice and does not promise any return. Example prices and contract specifications are teaching assumptions; always use what your own platform discloses. Past performance and backtests do not indicate future results.
All values, prices, accounts and cases in this course are teaching assumptions; the fixed materials can be reproduced offline. Marking a lesson complete only records your study. It is not a certification, a service approval or a promise of returns. Workbooks and answer files are currently provided in Chinese.
Key Takeaways
Completion records your own study, not verified competence. Exercises use fictional data; no real account or deposit is required.