MQL4/MQL5 Robot Programming Guide
Part I MQL4/MQL5 Coding Basics
- MQL5 vs MQL4 – The Key Differences
- Configure your MetaTrader platform for Auto Trading
- Prepare your programming environment
- What is a robot and how to model trading processes with flowcharts
- Programming basic concept
- Getting to know the Expert Advisor basic architecture
- Hello World! Your first Expert Advisor
- What are variables and how to use them?
- How to make a configurable robot with global variables?
- How to compare data with logical expression?
- The IF Statement In The Robot Decision-Making Process
- The ELSE Statement For Alternative Options
- The ELSE-IF Statement For Multiple Alternative Options
- The SWITCH Operator, An Alternative To iF And ELSE-IF
- The Main Concept of Loop And Iteration
- How to make clear and clean understandable code with COMMENTS
Part II How to Turn Strategy Into Automated System
- How to Send Orders: BUY or SELL?
- How to close trading position(s)?
- How to modify running trade(s)?
- How to get information on running trade(s) with ORDER SELECT?
- How to use indicators as a decision-rule-based trading algorithm?
- How to implement Accelerator Oscillator?
- How to implement Accumulation and Distribution Indicator?
- How to implement Average Directional Index ADX?
- How to implement Alligator Indicator?
- How to implement Awesome Oscillator?
- How to implement Average True Range?
- How to implement Bollinger Bands?
- How to implement CCI Indicator?
- How to implement DeMarker Indicator?
- How to implement Fractals Indicator?
- How to implement Envelopes Indicator?
- How to implement GATOR Oscillator?
- How to implement ICHIMOKU Indicator?
- How to implement MOMENTUM indicator?
- How to implement Moving Averages?
- How to implement PSAR or SAR indicator?
- How to implement Relative Strength Index, RSI indicator?
- How to implement Moving Average Convergence-Divergence, MACD indicator?
- How to implement Standard Deviation Indicator?