fuzzy logic
Info
The fuzzy logic is a Expert Advisor for MetaTrader 5 that an assessment is made based on the values of five indicators (gator, wpr, ac, demarker and rsi). uses trapezoidal membership functions.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Experts folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use fuzzy logic
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
an assessment is made based on the values of five indicators (gator, wpr, ac, demarker and rsi).
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 5. Place the file in the MQL5/Experts folder and restart the terminal.
Description & Settings
Related: Color Coppock Expert Advisor - another powerful expert for MetaTrader 5 traders.
an assessment is made based on the values of five indicators (gator, wpr, ac, demarker and rsi). uses trapezoidal membership functions. before sending a trade request, it checks if funds on the account are enough.
Also recommended: 3 ma cross ea - similar expert with strong performance on MetaTrader 5.
parametersfor the time-frame h1.
there is a lot of theoretical material on fuzzy systems, so let's discuss this expert advisor:
1) an assessment is made based on the values of five indicators (gator, wpr, ac, demarker and rsi). uses trapezoidal membership functions.
2) ranking and weights of values can be edited straight in the code.
3) as a basis for the fuzzy assessment (to buy, to sell, not to do anything), you can use not only the above indicators, but also other methods at your discretion.
in general, the ea code is designed for practical acquaintance with the techniques of fuzzy evaluation of the current market situation. it is recommended to use or modify it after reading the theory. you can start with materials on fuzzy evaluation fundamentals by a. nedosekin (it describes a different technology, but contains a very good explanation of the theory).
note:
if you want to add your own criteria for evaluation instead of the five built-in indicators, i recommend splitting such criteria into borders of fuzzy values (in the code - arrays argator[7], etc.).
do not attempt to over-optimize the parameters of the membership function (they are not available as external parameters in the code) — this will not give any substantial effect.
try experimenting. i think that fuzzy logic is incomparable in terms of decision making.
the best result was obtained on eurusd, h1:
You may also like: exp xw a m i nn3 mm rec - excellent alternative for expert users on MetaTrader 5.
Source Code
/
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.