MQL5 Codebook: Forex, Gold, Bitcoin & US Indices
MQL Codebook in mq5 format
- Forex and Bitcoin, Gold and Indices
- NOT INCLUDED: News, RSI and Mov Avg Filter
Content
- Global Properties and declarations
- Global Variables and enums
- Separation of Profiles for Forex and other Trading profiles
- 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