Libraries: Free Fuzzy Logic Library functions

 

Free Fuzzy Logic Library functions:

The Fuzzy Logic - is a modern science, used in many fields, for example, it has military applications. Now it's available for the traders. Why Fuzzy Logic? There are some systems, easily can be solved by human, but it's difficult to program these systems. In such cases Fuzzy Logic can help. It's very close to the logic of a human mind.

The archive file contains the API functions to Free Fuzzy Logic Library.:

Author: Fox Rex

 

Hmmm... Very interesting... =)

 
Are there any materials where I can learn more about the principles of fuzzy logic?
 
slyusar:
If it is not difficult, tell us more about the library..., maybe there are some materials where you can learn more about fuzzy logic.

Internet to help us - Fuzzy logic

PS

Interesting topic, it is worth to deal with it more closely. And in the form of a library created by developers it would be even more interesting ...

Kudos to the author of the article.

 
Interesting:

The internet to help us - Fuzzy logic

PS

Interesting topic, it is worth to deal with it more closely. And in the form of a library created by developers it would be even more interesting...

Kudos to the author of the article.

Thank you very much.
 
I haven't looked at the codes yet, but I have a question for experts (rather, for the author) - will this library work in MQL-4 and can we expect a version for 4?
 
Segun1966:
I haven't looked at the codes yet, but the question for experts (rather, for the author) is whether this library will work in MQL-4 and whether we can expect a version for 4K
Well, if it is 32-bit, then quite well, at least for sure under MATLAB there are already heaps of everything for the implementation of fuzzy logic (the only thing left is to find it all)....
 
It will work on MT4 without any modification. Import functions are the same in MQL4 and MQL5.
 
FoxRex:
It will work on MT4 without any modification. Import functions are the same in MQL4 and MQL5.

Ideally, where string parameter will not work. In mt4 char*, in mt5 wchar_t*.

thanks for the library

 

I didn't take this into account, but this issue is solvable.

ffll_get_msg_text

Prototypes:

Wide character version:
const wchar_t* ffll_get_msg_textW(int model_idx)
ASCIIcharacter version:
const char* ffll_get_msg_textA(int model_idx)

Purpose:

This function returns the text of the "current message" associated with the model index passsed in. The message may be an error or warning. This function should be called when an API function returns an error.

Parameters:

  • model_idx - Index of the model to load the file into.

Returns:

Text of the message, or NULL if no message

Notes:

While you are free to call either the wide character or ASCII version of this function explicitly, the version that's called by ffll_get_msg_text() depends on if _UNICODE is defined or not. If _UNICODE is defined when you compile your application, the wide character version is called, otherwise the ASCII version is called.

For MT4 use const char* ffll_get_msg_textA(int model_idx)

For MT5 const wchar_t* ffll_get_msg_textW(int model_idx)

I used the first one for MT5, it will not work correctly replace it with the second one.

I initially tested the library in MT4, it works fine, but only one thing, if you specify wrong path when loading a file on FCL, the terminal crashes.

 

Fuzzy Logic    VS    Neural Networks ??

Which are more promising to use?  (i haven't seen a neural network support library/code for mq5 still, like FANN for mq4)


Or both, maybe can be merged ? ... and see what comes out..