版本 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)
版本 24.41
2024.04.08
Fixing division by zero error
版本 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
版本 23.93
2023.09.30
Minor fixes and improvements.
版本 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.
版本 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
版本 23.71
2023.07.13
Important update
Fixed issue with MagicNumber
版本 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.
版本 23.64
2023.06.16
Исправление работы общего Take Profit
К сожалению в прошлое обновление закралась небольшая ошибка.
版本 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
版本 23.62
2023.06.14
Исправления:
Закрытие позиций при отрицательном профите - в предыдущих версиях настройка не работала.
版本 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...
版本 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
版本 23.12
2023.01.24
Minor fixes and optimization.
版本 23.11
2023.01.23
固定的:
在测试报告中显示期间。
EA 处理小于 0.01 的手数
添加:
检查账户类型对冲和净额结算。 Expert Advisor 不能在 Netting 账户上工作。
显示同时平仓多个仓位时的平仓利润数额。
版本 22.122
2022.12.24
Исправления и оптимизация..
版本 22.121
2022.12.20
Corrected:
Show comments.
Unlocked settings for optimization
版本 22.120
2022.12.20
顾问已被完全重写。
Expert Advisor 代码经过大量优化,性能和速度得到大幅提升。
添加了将鼠标悬停在顾问名称上时查看顾问设置的功能。
在测试顾问时添加了报告,该报告有助于确定测试期间指定设置的质量。
版本 22.102
2022.10.17
Small improvements
版本 22.101
2022.10.17
- 修正了 ProfitPlus 参数,以前可以用浮点数设置。
- 修复了 MetaTrader 4 的“添加交易品种错误:4059”错误
- 减少手数参数现在也可以用于增加手数。为此,请指定格式为 -0.01 的值
- 增加设置交易止盈仓位(0 - 不工作) - 如果有指定数量的仓位无损失止损并且没有其他仓位,则允许您停止开仓
示例:止盈仓位(0 - 不工作)= 3,在有 3 个仓位没有亏损且没有更多仓位后,EA 将不再开仓。
- 现在可以使用掩码将评论格式化为位置,对于评论,一次可以指定不超过三个掩码,用空格分隔
%eaname% - 显示顾问的名字
%magic% - 显示顾问的幻数
%balance% - 显示开仓时的账户余额
%equity% - 显示开仓时账户的净值
%totpos% - 按类型显示开仓时的仓位数量
%typpos% - 显示职位类型
示例:%eaname% %typpos% %magic%
结果:VR Lollipop 购买 mn-1
示例:%eaname% %balance% %equity%
结果:VR Lollipop bl1023.23 eq1563.36
- 增加止盈止损设置
关闭所有仓位 (50) (0 - 不工作) - 关闭所有仓位的利润金额
关闭所有头寸亏损 (-50) (0 - 不工作) - 关闭所有头寸的亏损金额
关闭所有头寸后的智能交易系统操作 - 当所有头寸因盈利或亏损而关闭时的顾问操作类型。
完全交易停止 - 顾问完全停止而不恢复工作
关闭所有头寸并继续交易 - 在完全关闭所有头寸后恢复顾问的工作
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.