거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Fuzzy logic - MetaTrader 5용 expert

게시자:
Vladimir Karputov
조회수:
4856
평가:
(24)
게시됨:
2017.03.02 12:13
업데이트됨:
2018.02.22 12:43
Fuzzy logic.mq5 (53.16 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Author of the idea — Alexey Kiyanitsaauthor of the MQL5 code — barabashkakvn

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.

Parameters

   double arGator[8]    ={0.010,0.020,0.030,0.040,0.040,0.030,0.020,0.010};
   double arWPR[8]      ={-95,-90,-80,-75,-25,-20,-10,-5};
   double arAC[8]       ={0.05,0.04,0.03,0.02,0.02,0.03,0.04,0.05};
   double arDeMarker[8] ={0.15,0.2,0.25,0.3,0.7,0.75,0.8,0.85};
   double arRSI[8]      ={25,30,35,40,60,65,70,75};
   double Weight[5]     ={0.133,0.133,0.133,0.268,0.333};

For the time-frame H1.

From the author of the idea:

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:

Fuzzy logic tester 

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/17502

Statistical characteristics Statistical characteristics

The indicator shows the statistical characteristics of bars: the mean value, variance, skewness and kurtosis

Backbone Backbone

The Expert Advisor idea is based on the constant change of trade direction depending on the TakeProfit, StopLoss and TrailingStop levels.

ADX & MA ADX & MA

The strategy is based on two indicators: ADX and MA, and the close of the first bar. Also, different TakeProfit, StopLoss and Trailing levels are used for Buy and Sell.

IchimokuAlert IchimokuAlert

The Ichimoku indicator with an alert.