Versión 24.81
2024.08.14
Global update of the trading algorithm:
- The trading robot code has been reworked and optimized for new terminal updates.
Removed settings due to inefficiency:
- Settings for virtual levels.
- Trailing Stop settings based on indicators.
- Setting up a trade stop if there is a specified number of profitable positions.
New settings added:
- Minimum lot for trend trading - Minimum lot for trading, in cases where Initial lots is greater than 0.10, and during calculations the new trading lot turns out to be less than Minimum lot for trend trading, then the value from this setting is taken for trading.
- Distance calculation method - Methods for calculating distance
- Points - Distance is calculated in points, points are specified in the - Distance value setting
- Percent - The distance is calculated as a percentage of price growth/decrease, the percentages are indicated in the - Distance value setting
- Bolinger line difference - The distance is calculated as the difference between the lines of the Bolinger indicator, the indicator period is specified in the - Distance value setting
- Counter positions - The distance is calculated depending on the number of positions, the step is multiplied by the number of positions according to the type of trading operations. The step is indicated in the setting - Distance value
- Awerage bars - The distance is calculated as the average value of a given number of bars, the number is specified in the - Distance value setting
- One bar one trade - The setting specifies trading based on the principle of one trade per bar. This does not take into account the opening time of a new bar.
- Trailing % Stop Revers trend - The setting specifies the percentage of StopLoss movement to meet the price. (Recommended range 10-200)
Versión 24.41
2024.04.08
Fixing division by zero error
Versión 24.40
2024.04.05
Fixed a situation where there was one unclosed order left
Added a button that stops the trading robot from working as is
Added information about drawdown, calculated relative to the current balance
Versión 23.93
2023.09.30
Minor fixes and improvements.
Versión 23.92
2023.09.29
Corrected:
In some cases, the advisor left positions in profit and stopped trading.
In some cases, incorrect calculation of lots occurred.
In some cases, the advisor started trading in the opposite direction by making incorrect mathematical calculations.
Added:
Dynamic trailing along the Donchian channel;
Dynamic trailing using the Bolinger channel;
Displaying profit for a position without loss. The profit that will be received if the position is closed without a loss is considered.
Reworked:
The virtual trading mode has been completely rewritten. Now the expert does not use global variables; all calculations are done after trading.
Optimized:
Massive code optimizations.
Speeding up the trading algorithm in the strategy tester.
Versión 23.72
2023.07.21
The name of the financial instrument has been added to the information panel
Fixed display of settings in the settings info panel
Fixed accidental closing of positions when launching the EA in virtual mode
Versión 23.71
2023.07.13
Important update
Fixed issue with MagicNumber
Versión 23.70
2023.07.13
The default settings are for brokers with five digits.
In this update, a major optimization of the main trading algorithms has been carried out.
Improved and optimized algorithm for opening positions.
Improved and optimized trailing stop algorithm.
Improved performance for the strategy tester by disabling all graphical objects.
A lot of time was devoted to optimization and operation of the EA in virtual and real modes.
Improved operation of the trading robot on metals.
To get the most accurate results, I recommend testing the adviser on demo accounts.
Versión 23.64
2023.06.16
Исправление работы общего Take Profit
К сожалению в прошлое обновление закралась небольшая ошибка.
Versión 23.63
2023.06.16
Changed:
Default settings - the spread parameter is set to 0, previously many traders ignored the setting and the trading robot did not work on metals.
Fixed zero divide error appearing in some rare cases.
Fixed period selection setting for a new bar. Previously, in MT 4 it was possible to select a non-existent period.
Changed and redesigned set settings files
Versión 23.62
2023.06.14
Исправления:
Закрытие позиций при отрицательном профите - в предыдущих версиях настройка не работала.
Versión 23.61
2023.06.12
The trading robot is completely rewritten:
Before updating, I recommend saving the previous version in a separate directory
The trading strategy has been modified and improved - in previous versions, the trading robot closed all positions en masse, in the new version, the trading robot analyzes the size of the future profit and closes positions of a certain type. The remaining positions are either transferred to no loss or closed by Stop Loss. Closing by Stop Loss and closing a group of positions in total gives a profit.
Improved position opening - in previous versions it could crash due to requotes.
Added trading mode with real levels - in previous versions there was only a virtual mode with a real stop loss. In newer versions, non-real real levels have been added for virtual mode. Closing and modification of positions occurs much earlier than the price reaches real levels. In the event of an emergency situation, real levels will be additional protection. The second mode with real levels of Take Profit and Stop Loss.
Added a restriction on the work of the Expert Advisor on the spread, if the spread is greater than specified in the settings, the trading robot does nothing.
Added protection against all sorts of non-standard behavior of a trader - checking for the type of trading account. (Hedge accounts only) Check to see if Auto trading is enabled.
The window for displaying settings on a chart has been redesigned, now it is more compact.
The window for displaying profit and loss information has been redesigned - now the window does not work in the strategy tester, so as not to create an additional load on the trading robot.
Improved lot calculation - in previous versions for brokers with lots of 0.0001 type there could be problems.
Improved the choice of trading on a new bar - in previous versions, the trading robot took into account the new bar of the trading period to which it was originally attached, in the new version, you can specify the period of the new bar and when changing the period on the chart, the trading robot follows the trader's settings.
The calculation of compensation for losses from swaps and commissions has been significantly improved - - in previous versions, the compensation did not cover all expense write-offs.
Significantly improved calculation of the profit-taking parameter when closing a group of positions
Significantly improved calculation without loss of positions
Significantly improved dynamic trailing stop calculation
Added experimental features:
Removal of the Expert Advisor from the chart in case of complete closing of all positions by total profit or total loss. Only for trading in real mode levels.
Delay between sending trade orders in case of frequent requotes (Requote break)
Other improvements and code optimizations of the User Posts Expert...
Versión 23.30
2023.03.23
Correction:
Example: earlier, if the last lot was 2 and the lot decrease along the trend was 3, then a position was opened with the minimum possible lot. Since 2-3=-1.
Now the position will be opened by the lot of the last trend position, lot 2
Versión 23.12
2023.01.24
Minor fixes and optimization.
Versión 23.11
2023.01.23
Fijado:
Visualización del período en el informe del probador.
EA trabaja con lotes inferiores a 0,01
Agregado:
Comprobación de tipo de cuenta de cobertura y compensación. El Asesor Experto no puede funcionar en cuentas de Compensación.
Visualización de la cantidad de ganancia cerrada al cerrar varias posiciones al mismo tiempo.
Versión 22.122
2022.12.24
Исправления и оптимизация..
Versión 22.121
2022.12.20
Corrected:
Show comments.
Unlocked settings for optimization
Versión 22.120
2022.12.20
El asesor ha sido completamente reescrito.
El código del Asesor Experto se ha optimizado en gran medida, se han realizado mejoras masivas de rendimiento y velocidad.
Se agregó la capacidad de ver la configuración del asesor si pasa el mouse sobre el nombre del asesor.
Se agregaron informes al probar un asesor, el informe ayuda a determinar la calidad de la configuración especificada durante la prueba.
Versión 22.102
2022.10.17
Small improvements
Versión 22.101
2022.10.17
- Se corrigió el parámetro ProfitPlus, anteriormente se podía configurar con punto flotante.
- Se corrigió el error "Error al agregar el símbolo: 4059" para MetaTrader 4
- El parámetro Reducir lotes ahora también puede funcionar para aumentar el lote. Para hacer esto, especifique un valor en el formato -0.01
- Configuración agregada de posiciones comerciales con stop de ganancias (0 - No funciona) - Le permite dejar de abrir posiciones si hay un número específico de posiciones con un stop loss sin pérdidas y no hay otras posiciones
Ejemplo: Posiciones comerciales de stop profit (0 - No funciona) = 3, después de que haya 3 posiciones sin pérdidas y no más posiciones, el EA ya no abrirá posiciones.
- Ahora es posible formatear comentarios a posiciones usando máscaras, para un comentario es posible especificar no más de tres máscaras, separadas por un espacio, a la vez
%eaname% - Muestra el nombre del asesor
%magic% - Muestra el número mágico del asesor
%balance% - Muestra el saldo de la cuenta al momento de abrir una posición
%equidad% - Muestra la equidad de la cuenta en el momento de abrir una posición
%totpos%: muestra el número de posiciones por tipo en el momento en que se abrieron las posiciones
%typpos% - Muestra el tipo de posición
Ejemplo: %eaname% %typpos% %magic%
Resultado: VR Lollipop Comprar mn-1
Ejemplo: %eaname% %balance% %equity%
Resultado: VR Lollipop bl1023.23 eq1563.36
- Configuraciones agregadas para detener el comercio por pérdidas y ganancias
Cerrar todas las posiciones en rofit (50) (0 - No funciona) - Cantidad de ganancia para cerrar todas las posiciones
Cerrar todas las posiciones con pérdida (-50) (0 - No funciona) - Cantidad de pérdida para cerrar todas las posiciones
Acciones del asesor experto después de cerrar todas las posiciones: el tipo de operación del asesor cuando todas las posiciones se cierran por pérdidas o ganancias.
Parada completa de negociación - Parada completa del asesor sin reanudar el trabajo
Cierre de todas las posiciones y continuación de la negociación - Reanudación del trabajo del asesor después del cierre completo de todas las posiciones
Excellent EA. I have been using it for more than a year. Once you get the settings right with proper money management, you can't lose. I trade Gold with it and constantly make money.