Version 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)
Version 24.41
2024.04.08
Fixing division by zero error
Version 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
Version 23.93
2023.09.30
Minor fixes and improvements.
Version 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.
Version 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
Version 23.71
2023.07.13
Important update
Fixed issue with MagicNumber
Version 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.
Version 23.64
2023.06.16
Исправление работы общего Take Profit
К сожалению в прошлое обновление закралась небольшая ошибка.
Version 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
Version 23.62
2023.06.14
Исправления:
Закрытие позиций при отрицательном профите - в предыдущих версиях настройка не работала.
Version 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...
Version 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
Version 23.12
2023.01.24
Minor fixes and optimization.
Version 23.11
2023.01.23
Fixé:
Affichage de la période dans le rapport du testeur.
EA fonctionne avec des lots inférieurs à 0,01
Ajoutée:
Vérification du type de compte couverture et compensation. L'Expert Advisor ne peut pas travailler sur les comptes de compensation.
Affichage du montant du bénéfice fermé lors de la fermeture de plusieurs positions en même temps.
Version 22.122
2022.12.24
Исправления и оптимизация..
Version 22.121
2022.12.20
Corrected:
Show comments.
Unlocked settings for optimization
Version 22.120
2022.12.20
Le conseiller a été complètement réécrit.
Le code Expert Advisor a été fortement optimisé, des améliorations massives des performances et de la vitesse ont été apportées.
Ajout de la possibilité de voir les paramètres du conseiller si vous passez la souris sur le nom du conseiller.
Ajout de rapports lors du test d'un conseiller, le rapport aide à déterminer la qualité des paramètres spécifiés lors des tests.
Version 22.102
2022.10.17
Small improvements
Version 22.101
2022.10.17
- Paramètre ProfitPlus fixe, auparavant il pouvait être défini avec une virgule flottante.
- Correction de l'erreur "Erreur lors de l'ajout du symbole : 4059" pour MetaTrader 4
- Le paramètre Diminuer les lots peut désormais également fonctionner pour augmenter le lot. Pour ce faire, spécifiez une valeur au format -0.01
- Ajout d'un paramètre Trade stop profit positions (0 - Ne fonctionne pas) - Vous permet d'arrêter d'ouvrir des positions s'il y a un nombre spécifié de positions avec un stop loss sans perte et qu'il n'y a pas d'autres positions
Exemple : Trade stop profit positions (0 - Ne fonctionne pas) = 3, après qu'il y ait 3 positions sans perte et plus de positions, l'EA n'ouvrira plus de positions.
- Il est maintenant possible de formater les commentaires aux positions à l'aide de masques, pour un commentaire, il est possible de ne pas spécifier plus de trois masques, séparés par un espace, à la fois
%eaname% - Affiche le nom du conseiller
%magic% - Affiche le nombre magique du conseiller
%balance% - Affiche le solde du compte au moment de l'ouverture d'une position
%équité% - Affiche l'équité du compte au moment de l'ouverture d'une position
%totpos% - Affiche le nombre de positions par type au moment où les positions ont été ouvertes
%typpos% - Affiche le type de poste
Exemple : %eaname% %typpos% %magic%
Résultat : VR Lollipop Acheter mn-1
Exemple : %eaname% %balance% %equity%
Résultat : VR Lollipop bl1023.23 eq1563.36
- Ajout de paramètres pour arrêter le trading par profits et pertes
Fermer toutes les positions à rofit (50) (0 - Ne fonctionne pas) - Montant du profit pour fermer toutes les positions
Fermer toutes les positions à perte (-50) (0 - Ne fonctionne pas) - Montant de la perte pour fermer toutes les positions
Actions de l'Expert Advisor après la fermeture de toutes les positions - Le type d'opération du conseiller lorsque toutes les positions sont fermées par profit ou perte.
Arrêt complet de la négociation - Arrêt complet du conseiller sans reprendre le travail
Fermeture de toutes les positions et poursuite du trading - Reprise du travail du conseiller après la fermeture complète de toutes les positions
This is highly stable and reliable EA. Vendor's support and providing help is excellent!