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 Software Corp.
Original code: https://www.mql5.com/ru/code/13658
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.