Correction in the operation of signals from indicators
Fixed lot calculations for manual input.
Fixed the behavior of price tags when changing the settings of an adviser.
Correction of the trailing stop for sell positions.
Corrections are made according to user reports.
Correction of the trailing stop for sell positions.
Corrections are made according to user reports.
Bug fixes and improvements:
Improved text on graphics
Adjustments have been made to the calculation of the compensation for the commission and for the swap.
Optimization of trailing stop, now compensation for swap and commission is taken into account.
Correcting grammatical errors
Correction in the work of the information panel
Correction in the calculation of lots for the method of adding the starting lot
Correction of information display on the profit panel
Correction in the display of profit
Correction of lot calculations
By popular demand, the (Lot Multiplier) parameter was returned to the program settings.
- The program code has been rewritten and optimized. The Expert Advisor was written from the very beginning, which has optimized the trading strategy much better.
- The information panel has been modified. Now the panel shows the next lot, next step, current profit and other information.
- A full graphical panel is displayed only in live trading mode on demo and real accounts.
- For the strategy tester, only the line with the current balance size is displayed. This has increased the testing speed by times.
- The ability to set the sequence of lots manually has been added, use the separator (;) to record lots. Example 0.01;0.02;0.04;0.05
- The ability to set the sequence of steps manually has been added, use the separator (;) to record lots. Example 100;200;200;150;75;300
- The opening lines of the following positions, the opening price texts, and the lot size of the next position have been added to the chart in the trading mode.
- The information on the text marks Closing price, Total lots to close, Approximate expected profit has been added.
- The ability to manage the positions of another Expert Advisor in order to close all positions has been added. To do this, switch the Expert Advisor to the "Smooth stop of Buy + Sell" trading mode Give an opportunity to work with other people's positions for modification and closing, without opening new positions. Even if you open positions from your phone or another computer, the Expert Advisor can pick up and control them.
- Color selection settings for graphic elements have been added.
- Now the Expert Advisor writes logs of its work, the log files are stored for 5 days. The logs contain all the information about the actions performed by the Expert Advisor. The folder with logs is located at files/App Data Trading Go/VR Smart Grid
- The setting to enable and disable Push messages has been added.
- Push messages have been added to the Expert Advisor, now it is possible to receive up-to-date information about the work of the Expert Advisor directly to your smartphone.
- Push messages can also notify the trader about the disconnection with the broker, and the size of the ping to the broker's server.
- The speed of testing and optimization of the Expert Advisor, code optimization has increased the performance significantly.
- The Lot Multiplier parameter has been replaced with the ability to add a sequence of lots manually.
- Improvements and optimization of swap and commission, previously, when the swap or commission was changed, the average closing price of positions was not recalculated, now the commission and swap are recalculated when a new trading period begins.
- Now the Expert Advisor checks the account type. The Expert Advisor is designed for hedge accounts and cannot work on nettig accounts.
- A restriction has been introduced - graphic objects, as well as information about the current profit or loss in the testing and optimization processes are not calculated.
- Deletion of tester arrows and lines now occurs in the last 7 days, deletion works both in the tester and in real/demo accounts.
- The work of the MagicNumber parameter has been fixed and optimized earlier in some cases, when trading with hands and tracking positions by an Expert Advisor, problems could arise.
- Trailing stop has been corrected, a more reliable and stable method has been chosen.
- An error occured when closing a part of the network, previously the level of partial closing under certain conditions could not be recalculated.
- An error occured when using trading on a new bar, previously, in the case when 2 buy + sell positions were to be opened, only one position was opened.
Mass improvements and optimization of the program code according to messages and crash logs of program users.
Simultaneous opening of two oppositely directed orders when using signals from custom indicators.
The custom signals function is now working correctly!
Additional checks have been added to the CCI indicator signal. Earlier, at the start, with this signal, several orders could be opened simultaneously.
Signals from third-party indicators now work correctly.
Due to market restrictions, the PTP indicators and other market indicators have been removed from the EA.
To connect an indicator, use global variables or a special indicator repeater.
Correction in the names of global variables for signal transmission:
Now variable names are formed as follows
Variable transmitting signals for
Buy deals GlobalVariableSet(Symbol () + "_SignalBuy"); if the variable has a value of 1, the advisor will buy, another value will wait
Sell deals GlobalVariableSet(Symbol () + "_SignalSell"); if the variable has a value of -1 the advisor will sell, a different value will wait
Optimized order closing, previously, in some cases, the largest order was closed last. Now, when partially closed, the largest orders are closed first and then only the smaller orders.
Added a parameter for custom signals, this parameter allows you to transfer a signal from a custom indicator to an Expert Advisor.
The program has been compiled for the new terminal build.
All updates are free for you!
We strongly recommend that you update your version of the program!
Display and calculation of profit in the information panel.
Grammatical errors in the description of the settings.
Calculation of average prices for partial closing of positions, now all calculations are done more accurately.
Smartphone notification, to receive messages from the advisor, you need to enable the option in the MetaTrader terminal settings.
Turn off the notification about trade and trade operations.
Optimized work of the advisor when changing settings. Previously, new settings might not have been applied or only partially applied.
Optimized work with commission and swap, now the algorithm calculates the correct commission for a position when opening and closing it.
Optimized the operation of the advisor in different modes, stopping buy and sell trading.
Trailing stop operation has been optimized, this function has been completely rewritten and now works correctly.
The eighth type of averaging has been added, this type works by partial closure and selects the most suitable way to reduce the position by a partial method.
Added a lot multiplier, now the lot calculated by the formulas can be increased or decreased due to the multiplier, if the multiplier is less than 1 and more than zero, the lot decreases, if the multiplier is greater than 1, then there is an increase
Added check for account type, netting or hedging. The Expert Advisor does not work and does not run on a netting account, use only account hedging.
Built-in check for netting accounts, now the advisor will not be able to work on netting accounts, the advisor's algorithm is created for hedge accounts.
Restored manual trading mode, in this mode the advisor is automatically set MagicNumber equal to 0, the first order is opened manually by a trader,
if the price goes against the trader, then the advisor itself will sort out the situation until the positions are closed completely.
If the price moves in the direction of the trader, the EA performs other functions, does not open new orders, controls and modifies the positions opened manually.
A lot of work has been done to optimize the code and improve the trading logic.
This control only works in the real trading in the strategy tester is not running, the testing speed increased
A strict check of stops and takes was made. Now a stop loss of 1.00000 type should not appear on GBPUSD and similar pairs.
Optimization of distance calculation for sell orders
Optimization of distance calculation for a network of orders against a trend
in some cases, a stop loss appeared in the negative zone, now the stop loss is set strictly according to the EA's logic.
In rare cases, the adviser stopped, now the adviser has a control check that restarts the adviser.
calculating distance increase for the entire order network.
Fixed balance display on the chart
Fixed magic number -1
Fixed description of settings
General code optimization
Optimized trailing stop for trend
Improvements in working with trailing stop and partial closing of orders.
1 - Trailing stop along the trend, previously there could be a situation in which only two orders were opened according to the trend and the EA did not open new orders. Now trailing stop following the trend works correctly.
2 - Display of price labels with partial averaging, now labels are displayed correctly.
Correction of working with trailing stop following a trend
The program is completely rewritten
Mass fixes and improvements
Added several new types of averaging
Revised calculation of compensation for swap and Commission
Optimized and accelerated algorithm of the program
Optimized calculation of the percentage of the lot
Fixed-message and maxlotchek lot calculation
Fixed-Trading at the intersection of moving averages
Working with the averaging type Maximum and minimum orders with partial closure, fixed a situation where a large network of orders accumulated.
Closing positions in case of partial averaging
Improved closing when using maximum + minimum averaging
Connecting custom indicators
Compensation for the swap and commission
The settings are applied to all orders signal network
On order the entire network open to signals from strategies
Off the signals open only the first starting order
Added support for PTP indicator
Comments on orders.
Close all orders when the specified profit or loss
Conclusion comments on the positions and properties of warrants
Optimized insertion check adviser trade time
Fixes when dealing with the general take profit
Fixed and optimized to work with a trailing stop on indicators Donchian
Fixed take profit if there was one order.
Calculation of lots
Fixed calculation of the lot, before increasing the bid could stop at 0, 28.
Minor improvements and optimization of the virtual network algorithm
What was done:
1 - Reworked calculation of the lot, fixed lot and the lot on the percentage. Previously, some brokers might have problems.
2 - The types of averaging, averaging two types have been added. This partial closure of the maximum orders. To understand how they work, run the program in the strategy tester.
3 - restored and brought into operation manual trading mode!
4 - Changed the function with the balance, you specify the allowable amount now for the loss or the amount of profit at which the adviser has yet to close and stop its work
5 - Added calculation of compensation for the swaps, the Commission is now the sum of losses from the commissions and swaps accounted advisor.
6 - Improved trailing stop earlier, some brokers have been identified problems with trailing
7 - Improved built-in trading strategies, signals are adjusted.
8 - Added the ability to manually change the overall take profit, adjustment is included in the EA, and draws a line that can be moved.
9 - Improved work in manual mode with virtual levels. Earlier levels could be shifted.
10 Added virtual trade regime, a separate unique mode, this mode uses a stop loss and take profit.
11 Added to import signals or any other indicator systems. Advisor can read signals from the global variables with SignalBuy names, where 1 is to buy, and 0 to do nothing and SignalSell where -1 is to sell, and 0 to do nothing.
Much has been done to optimize the code, it is considered a large number of features of different brokers. . . .
Optimized trailing stop, previously some brokers had problems with a large number of modifications
Optimized lot calculation for interest
Optimized lot calculation for sell orders
Improved behavior of the trading strategy on the new bar
Optimized trailing stop code
Improved and optimized the work of the profit distribution function on the balance sheet
Fixed grammatical errors.
Improved behavior on the main trading strategy
Optimized code for strategy tester
Several tests were conducted on real and demo accounts.
Optimized the work of additional embedded trading strategies
The program code is optimized and made universally for different brokers.
Updated instructions for settings in Russian and English (read blog)
Code rewritten from scratch, added additional checks.
Much work has been done to optimize the algorithm.
Much preparatory work has been done for the following improvements.
Optimization of the profit distribution function.
Test the new version on a demo account.
Trading strategies included
The trading strategy is installed from the advisor version 18. 120
The code is fully optimized and accelerated.
Improved work with the balance of the adviser and the distribution of profits.
Added low margin margin setting (Margin Alert)
Advisor Balance - added a warning about the negative balance of the adviser.
Global update advisor!
The program is completely rewritten from scratch!
Before updating, be sure to test the program on a demo account!
Maximal Orders buy-Maximum number of BUY orders (0-off)
Maximal Orders Sell-Maximum number of SELL orders (0-off)
Maximal Lots buy-Maximum volume of BUY order (0-off)
Maxi Mal Lots Sell-Maximum volume of SELL order (0-off)
Time to stop trading, the expert does not open new orders, but at the same time controls and modifies previously opened orders. The setting is useful for situations when a broker at night can raise security requirements.
- Dont Trade Hour Start - Start a pause in trade
- Dont Trade Hour Stop - End of a pause in trade
In some cases, the EA did not correctly calculate the profit and closed one order with a loss.
Fixed the issue with Magic numbers.
Earlier, changing the magic number during in the process of operation could lead to opening numerous orders.
The issue has been resolved!
Description of the program in the dialog box.
Added information about the program to a special window.
Speed of operation with a large number of orders.