
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
New article Category Theory in MQL5 (Part 3) has been published:
Category Theory is a diverse and expanding branch of Mathematics which as of yet is relatively uncovered in the MQL5 community. These series of articles look to introduce and examine some of its concepts with the overall goal of establishing an open library that provides insight while hopefully furthering the use of this remarkable field in Traders' strategy development.
In this article we’ll look at products which in category theory are a way of enumerating domains’ element pairings without losing prior constituent information. Using this within an MQL5 wizard signal file, we’ll create an expert advisor. So, our product will be between 2 domains namely indicator values of De-Marker and indicator values of Williams Percent Range. Each of these domains will then have morphisms with the domains of ‘Long Condition’ and ‘Short Condition’. The net result from summing the output of the two domains, which are synonymous with the buy and sell functions of a typical signal file, will determine whether the expert goes long or short. Here is the listing of our signal file.Author: Stephen Njuki