Libraries: FuzzyNet Fuzzy Logic Library - page 2

 

Hello,


This article has 3 terms: "buy", "sell" and "neutral".

when run Output.Value() we get a double value that correspond to Fuzzy result.

How I can convert this value to corresponding text term?

I need the result like "buy" or "sell" or "neutral" 

Thanks

 


I have downloaded the library and I have encountered an error while running tips_sample_mamdani.mq4. Can advise what should i do? Thanks.

 
MetaQuotes Software Corp.:
Thank you for your message. The issue has been fixed and files have been updated.

hi

Can you help me for solve this errors

Files:
image.png  55 kb
 
The library doesn't compile. been trying to resolve the problem and fix the errors but no success achieved. anyone has literally any opinion to solve the problem?
 

 The library Compile error!!!!!!!!

prompt"'Var' - no one of the overloads can be applied to the function call fuzzyrule.mqh "

Can you help me for solve this errors

error

 
Komgrit Sungkhaphong #:

same here cannot pass the compilation.

Someone fix the lib please.

Change the following lines of code:
FuzzyRule.mqh:
//void Var(INamedVariable *&value)
void Var(INamedVariable *value)

//void Term(INamedValue *&value)                       
void Term(INamedValue *value)
 RuleParser.mqh: Line 484
//Lexem *lexem;                 
CObject *lexem=NULL;
Best regards
chris

Improperly formatted code edited by moderator.

MQL5.community - User Memo
MQL5.community - User Memo
  • www.mql5.com
You have just registered and most likely you have questions such as, "How do I insert a picture to my a message?" "How do I format my MQL5 source code?" "Where are my personal messages kept?" You may have many other questions. In this article, we have prepared some hands-on tips that will help you get accustomed in MQL5.community and take full advantage of its available features.
 
@chris mac #:

Improperly formatted code edited by moderator.

Please always use the CODE button (Alt-S) when inserting code.

Code button in editor

Reason: