Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 3251
- Rating:
- Published:
- 2015.10.12 14:43
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Flat indicator with the timeframe selection option available in the input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
This indicator requires Flat.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.
Fig.1. The Flat_HTF indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/13659
![Flat-Trend_HTF](https://c.mql5.com/i/code/indicator.png)
The Flat-Trend indicator with the timeframe selection option available in the input parameters.
![CRect and CCanvas replacement (Standard Library - several bugs fixed)](https://c.mql5.com/i/code/library.png)
Bug fixed versions of CRect and CCanvas which are part of the standard library.
![ForecastOscilator_HTF](https://c.mql5.com/i/code/indicator.png)
The ForecastOscilator indicator with the timeframe selection option available in the input parameters.
![JSON Serialization and Deserialization (native MQL)](https://c.mql5.com/i/code/library.png)
Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library.