Martingale Vortex-classic trading using the martingale principle, supplemented by the ability to influence the main parameters depending on the depth.
- Does not use indicators;
- It works both when flat and when trending;
- Not afraid of gaps;
- Uses virtual StopLoss and TakeProfit levels;
- Automatically detects suffixes and prefixes of traded instruments;
- Works with 5-and 4-digit quotes;
- It has protection against the loss of the deposit.
- Trade – permission to trade, true-trade;
- CloseAll-close all open orders, true-close, and trade is also prohibited (even if Trade = true);
- Magic-the magic number of the Expert Advisor;
- Buy_Orders-permission to trade Buy orders, true-we trade, does not conflict with Sell_Orders;
- Sell_Orders-permission to trade with Sell orders, true-we trade, does not conflict with Buy_Orders;
- Lots – the volume of the first order;
- Step – the distance in points on the 4th sign, after passing which the next order opens with an increased lot;
- Step_Ratio – the coefficient of influence onStep depending on the depth, the value of 1 has no effect;
- Multiplier – multiplier of subsequent orders;
- Multiplier_Ratio – coefficient of influence on the Multiplier depending on the depth, the value of 1 has no effect;
- Cache-profit in the deposit currency, which will be taken for 0.01 lot;
- Cache_Ratio-the coefficient of influence on the Cache depending on the depth, the value of 1 has no effect;
- Close_Loss-closing all orders of the same type, if the drawdown of these orders in the deposit currency exceeds the Close_Loss value, (if Close_Loss = 0 is not used);
[spoiler title=”Read More…”]
An order is opened in the Buy direction, and when the profit of the order is equal to the Cache, the order is closed and a new one is opened. When the price moves against an open order, at a distance ofStep opens the next order, the volume of which is Multiplier times larger than the previous one. When a profit equal to Cacheis reached, the orders are closed and a new order is opened again. This principle is repeated until the closing of a series of orders for profit, after which trading begins with the opening of a single order. The coefficients affect the corresponding parameters (multiplying the parameter by the coefficient), increasing or decreasing the parameter with each new order. For example, whenStep = 10 and Step_Ratio = 2, new orders will be opened at a distance of 10 – 20 – 40 – 80 etc.
The coefficients of influence on the main parameters allow you to configure the Expert Advisor for a softer or more aggressive trade, depending on the depth. The following settings lead to softer trading: Step_Ratio> 1;Cache_Ratio< 1. The following settings lead to more aggressive trading: Step_Ratio < 1; Multiplier_Ratio>1; Cache_Ratio>1. The value of the Multiplier_Ratio parameter is not recommended to be set less than 1, as this will reduce the volume of subsequent orders, which is contrary to the martingale principle. Soft settings lead to lower risks, and also reduce the impact of news releases on trading. Aggressive settings lead to faster trading, but increase the risks. It is recommended to use soft settings in trading. The remaining parameters are the main ones for trading on the martingale principle and their setting is at the discretion of the trader to conduct comfortable trading in a particular situation.
[/spoiler]