


MQL5 Codebook: Forex functions Only
Full MQL workbook in mq5 format.
- ONLY the Forex part
- without Bitcoin, Gold and Indices mods and
- without News, RSI and Mov Avg Filter
Content
- Global Properties and declarations
- Global Variables and enums
- Oninit() Function
- OnTick() Function
- Calling Trailstop
- Checking for New Bar
- Establishing Trading Hours
- Checking for Open Orders and Open Positions
- Calling High and Low Point Functions
- TrailStop Function
- Executing Buy Function
- Executing Sell Function
- Function for Calculating Lotsizes
- Function for finding High
- Function for finding Low
- Check for New Candle Function
- Chart Template function
- Close All Orders Function