All (not yet) about Strategy Tester, Optimization and Cloud - page 9

 
I want to remind about the following key article: The Fundamentals of Testing in MetaTrader 5
Why is it interesting?
Because it was explained the modes of backtesting: "Every Tick" mode, "1 Minute OHLC" mode and "Open Prices Only" mode.
The Fundamentals of Testing in MetaTrader 5
The Fundamentals of Testing in MetaTrader 5
  • www.mql5.com
What are the differences between the three modes of testing in MetaTrader 5, and what should be particularly looked for? How does the testing of an EA, trading simultaneously on multiple instruments, take place? When and how are the indicator values calculated during testing, and how are the events handled? How to synchronize the bars from different instruments during testing in an "open prices only" mode? This article aims to provide answers to these and many other questions.
 
New MetaTrader 5 platform build 3440: New trading account report
New MetaTrader 5 platform build 3440: New trading account report
  • 2022.09.14
  • www.mql5.com
The MetaTrader 5 platform update will be released on Friday, September 16, 2022 We have implemented a new account trading report...
 

Good article was published: Population optimization algorithms

When optimizing trading systems, the most exciting things are metaheuristic optimization algorithms. They do not require knowledge of the formula of the function being optimized. Population algorithms involve the simultaneous handling of several options for solving the optimization problem and represent an alternative to classical algorithms based on motion trajectories whose search area has only one candidate evolving when solving the problem.
Population optimization algorithms
Population optimization algorithms
  • www.mql5.com
This is an introductory article on optimization algorithm (OA) classification. The article attempts to create a test stand (a set of functions), which is to be used for comparing OAs and, perhaps, identifying the most universal algorithm out of all widely known ones.
 

Population optimization algorithms: Ant Colony Optimization (ACO)

Population optimization algorithms: Ant Colony Optimization (ACO)


Belgian researcher Marco Dorigo has created a mathematical model that scientifically describes the process of collective intelligence in an ant colony. He published it in his doctoral dissertation in 1992 and implemented it as an algorithm.

Ant colony optimization (ACO) is a population-based stochastic search method for solving a wide range of combinatorial optimization problems. ACO is based on the concept of stigmergy. In 1959, Pierre-Paul Grasset invented the theory of stigmergy to explain the nest-building behavior of termites. Stigmergy consists of two Greek words: stigma - sign and ergon - action.

Population optimization algorithms: Ant Colony Optimization (ACO)
Population optimization algorithms: Ant Colony Optimization (ACO)
  • www.mql5.com
This time I will analyze the Ant Colony optimization algorithm. The algorithm is very interesting and complex. In the article, I make an attempt to create a new type of ACO.
 

Population optimization algorithms: Artificial Bee Colony (ABC) 

Population optimization algorithms: Artificial Bee Colony (ABC)

For many years, the bee search methods were researched exclusively by biologists. However, the interest in applying swarm behavior in the development of new optimization algorithms was growing. In 2005, professor Dervis Karaboga became interested in the research results. He published a scientific article and was the first to describe the model of swarm intelligence mostly inspired by bee dance. The model was called the artificial bee colony.
Population optimization algorithms: Artificial Bee Colony (ABC)
Population optimization algorithms: Artificial Bee Colony (ABC)
  • www.mql5.com
In this article, we will study the algorithm of an artificial bee colony and supplement our knowledge with new principles of studying functional spaces. In this article, I will showcase my interpretation of the classic version of the algorithm.
 

Population optimization algorithms: Grey Wolf Optimizer (GWO)

Population optimization algorithms: Grey Wolf Optimizer (GWO)

The gray wolf algorithm is a metaheuristic stochastic swarm intelligence algorithm developed in 2014. Its idea is based on the gray wolf pack hunting model. There are four types of wolves: alpha, beta, delta and omega. Alpha has the most "weight" in decision making and managing the pack. Next come the beta and the delta, which obey the alpha and have power over the rest of the wolves. The omega wolf always obeys the rest of the dominant wolves.
Population optimization algorithms: Grey Wolf Optimizer (GWO)
Population optimization algorithms: Grey Wolf Optimizer (GWO)
  • www.mql5.com
Let's consider one of the newest modern optimization algorithms - Grey Wolf Optimization. The original behavior on test functions makes this algorithm one of the most interesting among the ones considered earlier. This is one of the top algorithms for use in training neural networks, smooth functions with many variables.
 

Population optimization algorithms: Cuckoo Optimization Algorithm (COA)

The cuckoo is a fascinating bird, not only because of its singing, but also because of its aggressive breeding strategy, which consists in laying eggs into nests of other birds.
Cuckoo search is one of the latest nature-inspired heuristic algorithms developed by Yang and Deb in 2009. It is based on the parasitism of some cuckoo species. This algorithm has been further improved by so-called Levy flights rather than simple isotropic random walk methods.

https://www.mql5.com/en/articles/11786

The Cuckoo Optimization Algorithm (COA) is used for continuous non-linear optimization. COA is inspired by the lifestyle of this bird. The optimization algorithm is based on the features of the species' egg-laying and reproduction. Like other evolutionary approaches, COA starts with an initial population. The basis of the algorithm is an attempt to survive. While competing for survival, some of the birds die. Surviving cuckoos move to better places and begin to breed and lay eggs. Finally, the surviving cuckoos converge in such a way that a cuckoo society with similar fitness values is obtained.
The main advantage of this method is its simplicity: cuckoo search requires only four understandable parameters, so tuning becomes a no-brainer.
Population optimization algorithms: Cuckoo Optimization Algorithm (COA)
Population optimization algorithms: Cuckoo Optimization Algorithm (COA)
  • www.mql5.com
The next algorithm I will consider is cuckoo search optimization using Levy flights. This is one of the latest optimization algorithms and a new leader in the leaderboard.
 

Population optimization algorithms: Fish School Search (FSS)

Population optimization algorithms: Fish School Search (FSS)

An aggregation of fish is the general term for any collection of fish that have gathered together in some locality. Fish aggregations can be structured or unstructured.
Fish form schools in nature in several ways. As a rule, they prefer larger schools, consisting of individuals only of their own species.
The question of how schooling fish choose the direction in which to swim remains unresolved. This schooling behavior prompted many researchers to create not only a mathematical model, but also an algorithmic model for solving various optimization problems.
Population optimization algorithms: Fish School Search (FSS)
Population optimization algorithms: Fish School Search (FSS)
  • www.mql5.com
Fish School Search (FSS) is a new optimization algorithm inspired by the behavior of fish in a school, most of which (up to 80%) swim in an organized community of relatives. It has been proven that fish aggregations play an important role in the efficiency of foraging and protection from predators.
 

Population optimization algorithms: Firefly Algorithm (FA)

Population optimization algorithms: Firefly Algorithm (FA)

Nature has always been an inspiration for many metaheuristic algorithms. It managed to find solutions to problems without prompting, based on individual experience. Natural selection and survival of the fittest were the main motivation for the creation of early metaheuristic algorithms. In nature, animals communicate with each other in many ways. Fireflies use their ability to blink to communicate. There are about 2000 species of fireflies with their own special flash patterns.

There are two variants of population optimization algorithms inspired by the behavior of fireflies: the Firefly Algorithm and the Glowworm Swarm Optimization (GSO) algorithm. The main difference between firefly and glowworms is that the latter are wingless. In this article, we will consider the first type of the optimization algorithm.
Population optimization algorithms: Firefly Algorithm (FA)
Population optimization algorithms: Firefly Algorithm (FA)
  • www.mql5.com
In this article, I will consider the Firefly Algorithm (FA) optimization method. Thanks to the modification, the algorithm has turned from an outsider into a real rating table leader.
 

PR calculation for agents

Forum on trading, automated trading systems and testing trading strategies

Rating of PR agents

MetaQuotes , 2019.02.27 09:09

MQL5 Cloud Network statistics: https://cloud.mql5.com/ru/stats

The PR rating is fully correlated with the processor power, since we have calculation tasks:

and -

Forum on trading, automated trading systems and testing trading strategies

cores disappeared after updating the tester.

Renat Fatkhullin, 2020.07.30 18:43

We upgrade the cloud network every day, changing ratings and adjusting to experts.

Now, instead of pure PR, a complex formula is used that takes into account:

  • PR - CPU performance
  • RAM size
  • free disk space
  • disk read speed
  • ping to the nearest cloud server
  • percentage of network losses

This made it possible to drastically reduce the latency from the fact that some tasks fell to openly inhibitory agents that delayed all calculations.


Three cloud servers in the USA, Germany and Russia are currently distributing tasks, which has significantly reduced network latency and accelerated data delivery. Some experts require replication of hundreds of gigabytes, and more than a terabyte for those who excel.

and -
MetaTrader 5 HelpMQL5 Cloud NetworkPrice Calculation

-----------------

More related:

MetaTrader 5 Help → MQL5 Cloud Network → How to Participate - Restrictions of Participation on MQL5 Cloud Network 

How to Participate - MQL5 Cloud Network - MetaTrader 5 Help
  • www.metatrader5.com
By participating in the MQL5 Cloud Network you can earn providing the processing power of your computer. Install testing agents using a manager and...
Reason: