Join our fan page
- Views:
- 5349
- Rating:
- Published:
- Updated:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Flat-Trend 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-Trend.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.

Fig.1. The Flat-Trend_HTF indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/13658
CRect and CCanvas replacement (Standard Library - several bugs fixed)
Bug fixed versions of CRect and CCanvas which are part of the standard library.
Fuzzy - library for developing fuzzy models
FuzzyNet library for developing fuzzy models was written in C#. While converting to MQL5, 8 membership functions and 4 defuzzification methods for Mamdani-type systems were added to the library.
Flat_HTF
The Flat indicator with the timeframe selection option available in the input parameters.
ForecastOscilator_HTF
The ForecastOscilator indicator with the timeframe selection option available in the input parameters.