Fixing EA behavior when trading with hedge accounts
In the updated version of the panel, it became possible to divide all trading instruments displayed in the market watch into those prone to growth or fall. The panel allows you to recognize fractal levels, the breakdown of which led to a change in the direction of the trend, and the built-in filter distinguishes liquidity withdrawal from a real breakdown of the market structure.
Торговая панель скомпилировано в новой редакции эдитора МТ5 по рекомендации администрации mql5.
В связи с изменением режима расчета стоимость пункта для некоторых инструментах на Московской бирже внесены соответствующие исправления в панель.
Доавлена функция проверки наличия свободной памяти на компьютере (сервере) для стабильной работы торговой панели. Так же добавлен соответствующий алерт, который уведомляет трейдера об проблеме. Пути решения проблемы:
1. Уменьшение количества торговых пар в "Обзоре рынка"
2. Уменьшение количества анализируемых таймфреймов в настройках панели.
3. Апгрейд компьютера (сервера)
Доработан алгоритм отбора сигналов в "AutoActivation mode". Теперь в таблицу сигналов в режиме "AutoActivation mode" попадают инструменты, по которым совпадает два торговых сигнала одновременно - "Change trend" и "Channel breakout".
Добавлен параметр — Trade sessions.
По умолчанию он равен "00:00-23:59", и советник работает круглосуточно.
Для московской биржи нужно поставить "10:00-13:59,14:05-18:44,19:05-23:49".
Попытки торговли в промежутки времени, не указанные в этом параметре, будут игнорироваться. Сигналы, которые срабатывают — отменяться.
В расчете лота (RISK %) и прибыли (Close Profit (%)) участвуют Средства счета, а не Баланс.
Проверяются торговые сессии инструмента, выводится информация по ним.
В случае попытки открытия сделки вне торговых сессий сигнал отменяется.
Доработан алгоритм определения размера лота исходя из установленного риска. (По-умолчанию 1% от размера эквити)
Индикатор оптимизирован для работы с 2009 версией терминала МТ5 и выше.
1. Fixed the algorithm of waiting for an order activated by the zone signals. Now canceling an activated order for entering a position according to the Green (Red) Zones signals occurs after the color of the histogram is changed by the AO or AC indicator to the opposite one, once the period is closed.
2. Added column, search mode and automation of pending orders placement based on trading signals of the "Fifth Dimension". (5th dimension)
1. Improved the "Change Trend" trade signal.
2. Added the "Cross AO" mode for selecting trade signals.
3. Added the autotrading mode. To activate it, set the Allowautotrading parameter to True.
1. In the panel settings, added the option to set the initial stop loss when opening positions by "close" or by "touch". By default, it is set to "by touch". In the previous version, this feature was only available when double clicking the "Stop loss" line.
2. In the settings, added the ability to set the ratio of take profit to the possible stop loss, which is displayed in the trading area of the panel. Default TakeProfit coefficient is 1.62.
3. Added mode for selecting the "BW Zone" zoning signals.
Added the ChangeTrend_Bars parameter to the settings (default = 10). It limits the search depth of the Change trend signals. For example, if set to 1, only the preliminary signals and signals generated on the last closed bars will be displayed.
1. The panel is now optimized to work with the latest versions of the MetaTrader 5 trading platform
2. Modified algorithms of "The beginning of the green (red) zone" trading signal. Namely, the buy condition is not only a "bullish" status of a bar, but also its close price above High of the previous bar. For sell signals, the bar should be "bearish", and its close price should be below the Low of the previous bar.
1. Modified the "Channel breakout" trade signal. Now, it is not based on the MultiRange_PCH indicator, but on the values of the Bollinger Bands and Standard Deviation (StdDev) indicators.
2. Modified the search algorithm for the "Change Trend" trade signal. In the updated version, the trade signal indicated an earlier broken fractal, which will be a key support or resistance level for the panel to place pending orders until the trend direction changes.
3. Improved the algorithm for determining the display duration of the trade signals in the "General mode" and "Autoactivation" modes. In the updated version of the panel, the specified modes show only the trading instruments, which have an impulse price movement before the start of its exhaustion.
Enhanced the search algorithm for trade signals about formation of a local extremum. Improved the reliability of the trade signal by using an additional filter.
Optimized the EA code.
Improved the "Change Trend" signal. Integrated an additional reliable filter, which allows to eliminate the occurrence of false signals about change of the market trend, that are not confirmed by the price momentum.
Two alerts have been added to the panel`s properties:
- about the need to change the maximum bars on chart (no more than 5000);
- about the inadmissibility of work with the panel on the accounts with the possibility of hedging;
Improved 1st Wise Man signals. (Pin-bars)
Improved Local Extremum Push-signals. Similar to fractal signals, the trader can now enter the market on the latest and pre-latest signal.
The Gator signal has been replaced by the Fractals signal, the icon has been changed to the right arrow icon.
The “Gator mode” has been changed to "Fractals mode", it displays all instruments which have a non-broken fractal.
The signal itself is the last up or down fractal. The fractals, that have been subsequently broken by the price, are not displayed.
Working with the signal is similar to working with the Gator signal or manual signal, but slightly improved:
- clicking it immediately draws the last of the available signals;
- clicking its name in the trading panel alternates between the upper and lower fractals if they are both present on the chart. Which is a certain kind of the fractal analysis.
1. Added three functions to the EA's parameters:
- Default StopLoss
- Default TakeProfit
- Default TrailingStop
You can manage them in trading with autoactivation mode. Custom settings have priority over the default ones.
2. Fixed periodically recurring error that occurred when setting a stop loss level for positions opened by push notifications.
3. Fixed a grammar error in the panel's interface.
Improved search of price deviation limits on the chart. Changes in models library of local minimums and maximums, called "Push-signals" in Trading Panel.
Improved search of the previous fractal breakdown levels which are considered as support or resistance levels after a trend change.
Improvements in local lows and highs search. Extension of push-signals library.
1. Improvements in local lows and highs search. Extension of push-signals library.
2. Improvements in search of divergent bars.
1. Improved algorithm of determining the moment of a trend change.
2. Improved algorithm of determining the breakеркщгпр of a fractal which indicates a possible change of trend.
3. Enhanced algorithm of Push-signals functioning and determining the levels of effective entry into the market after change of a trend
4. New function has been added which displays potential profit (based on account currency) on the lines with the parameters when you place your pending orders.
5. Overall optimization of the expert.
- Increased the speed of the panel performance.
- Improved the function of detecting divergent bars (bdb).
Fixed a bug panel relationship with Fractal breakout level and Qautoactivation indicators.
1. Optimized the EA.
2. Added "Change trend" signal to the panel. The signal is based on a breakdown of fractal level and setting a limit order on it.
3. From now on, there is a possibility to choose "favorite signals" in the settings to be displayed in the panel.
The expert is refined. From now on any signal (including "hand") can be used in limit-order type.
To set a limit-order, you need to drag the buy-order line below the current price (sell-order above the price level), after pressing Apply button the expert will set a limit-order.
There will be a line in the journal informing that you have activated the limit-order.
With manual limit entry the trailing will stop working. It will also be mentioned in the journal.
All the other signals with limit entry will have trailing working as usual.
1. Specified stop loss setup level for Push-signals.
2. Specified the lot size calculation for Push-signals.
3. Improved algorithm of fractals with autoactivation selection.
4. New function has been implemented - a possibility to trade a random timeframe with any trading instrument from Current Chart mode. From now on, a trader can activate a signal in Current Chart mode on any timeframe to activate a trading algorithm in General Mode.
5. Optimized the panel operation to the new MT5 releases.
The new release provides a configuration library of divergent bars. Also, the push-signals filtration has been improved within autoactivation zone. The Expert Advisor`s work has been optimized considering the new versions of MT5 program.
1. Divergence signal is changed improving the algorithm of waiting for entry or order cancellation.
2. 1 WM signal algorithm is improved, improving the algorithm of waiting for entry or order cancellation.
3. Added new function of closing all trades in case of increased deposit on specified rate. ( 10% by default)
4. Stop-loss algorithm is changed. Now stop-loss is set on the touch of the price , but not on the closure of the bar. Double click on SL-line will change SL into a closure-bar mode.
5. The algorithm of "Autoactivation" signals is improved. By clicking on the timeframe button and then pressing "Apply" the EA will set pending order on breakdown of filtered fractal level.
Then, if the Push-signal arrives in "autoactivation" zone, the EA will set a pending order on this signal bar. In case of entering the market, the EA will set TP, SL and then make a breakeven. Afterwards, there will be an add-on trade on the breakdown of the fractal and a double trade trailing on every profitable bar.
6. The main improvement is the possibility to trade in the multitimeframe mode.
1. Third Wise Man's (blue highlight) signal is canceled by the line having another color rather than by qNew line's disappearance.
2. Changed autoactivation signal: timeframe is highlighted only if the Third Wise Man's active signal in the appropriate direction is present (not passed and not canceled fractal).
3. ChangeTrend signal replaced by Push signal: it is LocalExtremums indicator arrow matching the autoactivation signal by color.
The signal is canceled if the signal bar's Low is breached or qNew line is broken.
The signal is quite rare, so it is difficult to check it thoroughly. Caution is advised when trading on a real account.
4. Added ability to specify the custom list of working symbols - "Custom symbols list" (comma separated).
每个正在犹豫要不要购买Trading Chaos Expert的人，都强烈建议可以先尝试Lite版本。 除了不支持多symbol列表之外，核心交易功能与完整版本完全相同。混沌交易法学习曲线比较陡峭，Lite版本有助于熟悉交易哲学的所有细节。为了更便捷的操作，我使用了lite几个月之后升级到了完整版。