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:
- 3527
- 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

The Flat-Trend indicator with the timeframe selection option available in the input parameters.

Bug fixed versions of CRect and CCanvas which are part of the standard library.

The ForecastOscilator indicator with the timeframe selection option available in the input parameters.

Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library.