


MQL5 Codebook: TimeRange Breakout with 10 Amazing Features
MQL codebook including ALL parts. Any further additions to the code-book will be automatically updated here as well, and you can download the newer versions as and when they become available
- Time Range related Functions
- News Filter
- & Trend Filters i.e. Mov Avg crossover and Ichimoku options
Content
- Global Properties and declarations
- Global Variables and enums
- Initialization and OnTick() Functions
- Convert Times Function
- Get High & Low values of the Range
- Show the range on the Chart
- Check if we are inside the trading time
- Prepare and execute Buy and Sell Orders
- Check if it's a new Candle
- Calculate automatically the Lot Sizes
- Get the Last High and Low in the market for Trailing stop option
- Trail Stop
- The News Filter Function
- The Trend Functions
- Moving Average Crossover check
- Ichimoku (8 different options) for Trend Checking
- Closing and reseting all at the end of the day