🔴FlyStep -Trading robot for the Metatrader 5 terminal 〽️
Here is a high-tech trading robot that works on a double principle: a virtual step emulator and a modified multi-level martingale, which allows you to average groups of positive and negative orders and can form a grid of up to 50 orders.
The emulator allows you to create a high-precision dynamic trend reversal line, so it is a kind of indicator for late launch of real orders, if the price successfully passed the specified interval in the form of virtual steps without a reversal. The emulator always draws the U-turn line.
The key feature of the trading robot is a set of auxiliary functions that allow you to automate many tasks of the company. For example, the robot is equipped with special filters that prevent it from placing unnecessary orders and volumes when it is not required. This allows you to avoid unnecessary negative equity on the account. Then it automatically adapts to its own position placement strategy and determines the volume of the next trades, so as not to miss the most profitable trend reversal and close positions with a profit. During testing and configuration, its behavior may surprise you .
The robot's profitability strategy is to make a profit from the price movement in any direction.
The initial lot goes against the trend, with subsequent orders it gains more volume until the nearest reversal, and with a positive order or group of orders, it gets a big profit and at this point closes all positions.
The robot can sell in one window of the trading instrument and buy in another window. One trading pair or instrument has two windows in the MT5 terminal for the operation of the same robot, but in two directions at once: SALL and BUY.
In the lower left part of the interface there is an information section of the robot, where you can find various indicators: the volume of all positions or the current order, the profit required to close all orders, the current equity, the current profit trail, the height of the trend, the number of days left before the end of the demo version, the amount of paid time in commercial transactions versions of.
In the current version, the main settings of the robot are open, and you can apply them to any trading instrument.
After installing the trading robot in the MT5 terminal, you will be provided with a wide range of settings for testing, improving and saving them to the SET file for each trading instrument.
Instructions for configuring the FlyStep robot
Install the robot in the Expert folder of the Metatrader 5 terminal and select it from the list available in the "Settings"tab. Next, go to the "Settings" tab.
In the "Basic Settings" section, you will get access to controlling the robot's behavior and can set parameters, including the grid step, the initial volume of the first order, and the profit size.
In the "Rollback Curve Settings" section, you will have a small test to test your understanding of the robot's strategy philosophy. Although it does most of the work automatically, it needs to be aware of what price movement space it is in and what standards of trend reversals it should rely on. And you also set a virtual pullback curve yourself, as an example: the higher the trend — the lower the reversal, but the problem is that there is no proportionality between the height of the trend and the depth of the reversal (also there is no linear increase in the rollback). Moreover, depending on price dynamics, sharp minute fluctuations, the geometry may not change at all it has a specific value, but this is exactly the problem that the robot already solves thanks to complex search algorithms. Your task is only to correct the curves using the coefficient and a wide range of trend heights.
"Basic settings"
1. Sell or Buy\direction. Since the robot works only in one direction of trading commands, choosing Sell means that the entire order chain will be directed to sell, and choosing Buy-to buy. You can only install one robot in one window. To sell and buy at the same time, set each mode to a separate window of two options.
2. The maximum spread function allows you to temporarily stop the robot's operation if the difference between the Ask and Bid prices exceeds the\value you set. This is especially useful during the release of important news or during transitions between the days of the week.
3. The Magic value is necessary in several situations. If you perform purchase and sale operations for the same instrument in different windows, then you must set different values for. For example, in Sell mode, you can set 111, and in Buy 222. The numbers don't really matter, the main thing is the difference. You can also just set 1 and 2. It is also recommended to use different Magic numbers if you apply different grid parameters for the same tool and in the same direction. For example, if one robot went into a long drawdown and reached the expected bottom, and the drawdown can last for a month, then instead of waiting, you can start another robot - a stand-in who will earn money on fluctuations in the bottom. That's why you need a different Magic.
4. The function of launching orders by virtual step number allows you to open trades when the trend reaches a certain height without an explicit rollback, regardless of whether it goes up or down. The optimal average step is considered to have the number of transactions in relation to the maximum drawdown. The larger the step, the lower the profit and lower the drawdown, while the smaller step allows you to get more trades, but with a larger drawdown in equity.
5. The starting volume is the minimum value that the broker offers for the selected instrument. You can get acquainted with the characteristics of the instrument on the broker's website. You can also enter the "one-click trading" mode and see what the minimum value of the trading instrument volume is offered by the\terminal. The first number after zero will be the minimum amount of. However, you can increase this parameter manually: instead of 0.01, make 0.03, and so on. Before calculating your risks, check the strategy tester to see what the relative drawdown was in the history for a given time interval. In this demo version of the robot, the "Auto-balance" function is disabled.
6. The conditional income function from the first order allows you to set the desired amount of profit that you want to get from a certain number of trades. As soon as the order grid is created, the function automatically starts calculating the expected profit. This profit will be displayed as the closing threshold in the lower-left corner of the screen. As soon as the robot reaches this threshold, it will start closing orders. However, if the trend continues to move in the direction of profit, the robot will automatically turn on the thrall mode and try to extract even more profit.
7. The income progression curve is a parabola that changes the relationship between the number of grids, order volume, and the desired profit. The parameters indicate the effective working range, and the larger it is, the higher the profit will be with each new order in this grid.
8. Commission for open volume is directly proportional to the initial volume and subsequent total volume of all orders. Some brokers charge a commission for closing a trade (especially in crypto currencies), and this condition can be specified in these settings.
9. The starting coefficient to SkyIntensiv is a manual coefficient for the first 5 orders. It often requires an individual approach, since in some instruments the pullback curve at the beginning is very narrowed and you need to crawl against the trend on small fluctuations. By itself, the SkyIntensiv volume generator starts working in a heated trend state, when the grid is already filled with 5-6 positions.
10. SkyIntensiv limit-the SkyIntensiv generator automatically calculates the exact coefficient, which is multiplied by the size of the starting lot and creates the desired amount of money. In high-frequency trading, this coefficient can vary from 0.9 to 1.45. If you want to increase the tool steps several times, you must also increase the maximum value for SkyIntensiv. Why is there a restriction? Sometimes, in currency instruments, there may be a momentary spike in the price up on the background of news, followed by a quick pullback down. To prevent the generator from installing too large volumes and risking your capital, it is recommended to limit such situations.
11. The minimum step between orders is the starting value in points set by the robot. It can change this step at any time according to its algorithm, but usually does not set it less than the specified. The grid itself is well suited for the algorithm of high-frequency trading on a minute timeframe, but you can customize it as you like.
The first line in *True mode-has the option to draw the Zero line to the Virtual Reversal Line of the emulator, thereby reducing the volume consumption of future orders, thereby reducing the drawdown. In *False mode - both lines work in their own mode according to the settings of the rollback curves (below).
"Settings for rollback curves"
This feature is very important because it brings out the full potential of the grid robot.
The program already has a standard sinusoid curve template designed for the EUR / USD pair, which also resembles the charts of many trading instruments. The step between orders stretches this pattern proportionally. However, if you want to make more profit, especially during periods of deep drawdowns, you can adjust the robot's pullback curve by setting the necessary parameters for your sinusoid shape. You can also change the parabola of the profit curve by increasing it at the end to achieve greater success in rare but large trades. It all depends on your preferences and goals.
Now a little theory: why do we need this pullback curve?
Here are the facts of statistics for EUR / USD, the trend has a recoilless range of about 4000 Points, where the rollback is on average 730 Points.
At the height of 1300 Points, it has a maximum rollback of 360-370 Points, if you skip it, you can return to the starting value of 4000 Points, and since we laid equity at the length of 4000 Points with a full clip of grid orders, we will have a chance to merge a deposit at a loss in the length of 5300 Points, as the deposit is not enough. For practical research, set the start date from 19.08.2015 to 28.08.2015, Sell direction. Further, the price drew a similar figure in 2022, which means that it is probably tomorrow.
In this situation, it is important to pay attention to the 900-1500 Points range and select the curve coefficient for different date runs, narrowing it to 0.96 from coefficient 1. When in the middle of the trend at the height of 2500-2900 Points, the pullback stretches to 570-600 Points and you can stretch more, up to 1.15 from the coefficient, or increase revenue, but please note that the function The "manual curve" in the form of a sine wave for profit is not implemented in this robot, but only has a simple arc-shaped shape.
The figure with the example above shows a trend in the Sell direction with a pullback(black line), the blue line has a linear extension, which is formed in a simple formula: the volume with each step is multiplied by the same coefficient, and so step by step, the capabilities of the robot allow you to draw a green line in the form of a sine wave.
As the developer of this robot, I sincerely believe that you, as a user, can easily understand the settings of the Expert Advisor and it will become an indispensable tool for you to earn money on various currency instruments.