Trend Fuzzy Analyzer
- Indicatori
- Evgeniy Kornilov
- Versione: 1.0
Trend Fuzzy Analyzer
Purpose and Concept
The Trend Fuzzy Analyzer indicator assesses the strength and direction of the current market trend. It is based on the principle of Fuzzy Logic, which transforms quantitative readings from several standard technical indicators into a qualitative assessment of trend strength. Unlike binary signals, the indicator outputs a final value as a confidence level (from 0 to 100%).
Core Working Principle
-
The indicator simultaneously analyzes input data from four standard technical tools: ADX, RSI, MACD, and Volume.
-
For each of these values, a "degree of membership" to one of three categories is calculated: "Weak," "Moderate," "Strong."
-
Based on a predefined set of fuzzy logic rules, a final aggregated assessment is formed.
-
The result is displayed on the chart as a main line (overall strength) and two histograms (bullish and bearish components).
Chart Visualization
-
Blue Line: Displays the overall calculated trend strength as a percentage.
-
Green Histogram: Visualizes the strength component for a bullish trend.
-
Red Histogram: Visualizes the strength component for a bearish trend.
Configuration Parameters
All parameters have default values optimized for standard use.
-
ADX_Period (14): Calculation period for the Average Directional Index indicator.
-
RSI_Period (14): Calculation period for the Relative Strength Index indicator.
-
MACD_Fast (12): Fast period for the MACD indicator.
-
MACD_Slow (26): Slow period for the MACD indicator.
-
MACD_Signal (9): Signal line period for the MACD indicator.
-
Volume_SMA_Period (20): Moving average period for smoothing volume values.
-
Trend_Threshold (30): Threshold value for trend strength. Used for the indicator's internal calculations.
Value Interpretation
-
0% - 30%: Zone interpreted as no pronounced trend or a weak trend.
-
30% - 70%: Zone of a moderate trend.
-
70% - 100%: Zone of a strong trend.
Key Technical Features
-
The indicator does not repaint its values on historical data after a bar is closed.
-
Does not require installation of additional libraries.
-
Adapted to work on any timeframe and trading instrument (forex pairs, stocks, indices).
-
Requires an up-to-date version of the MetaTrader 5 terminal to function correctly.
Installation and Updates
-
Place the downloaded .ex5 file in the terminal's data folder: Terminal_Data_Folder\MQL5\Indicators\ .
-
Restart MetaTrader 5 or refresh the indicator list in the "Navigator" window.
-
The indicator will be available for adding to a chart via the "Navigator" -> "Indicators" menu.
-
Product updates become available automatically through the built-in Market update mechanism.
Support and Feedback
-
All questions regarding the indicator's operation, technical issues, and suggestions can be posted in the "Comments" section on the product's page in the Market.
