VR Smart Grid MT5
⭐VR Smart Grid is a multi-functional Expert Advisor for MetaTrader terminals that allows you to trade using an order grid.
The Expert Advisor algorithm makes it possible to build smart grida both with the trend and against the trend.
Trading with the trend is structured in such a way that each new order is opened only if the previous order has a Stop Loss in the profit zone.
Trading against the trend is conducted in order to close unprofitable positions with a profit.
The advisor has a large number of settings that allow you to conduct conservative, aggressive or scalping trading of financial instruments.
The first version of the expert advisor was written in 2009. the program is constantly being improved and upgraded.
⚡ Advantages of the VR Smart Grid Expert Advisor
- Easy to configure
- Suitable for beginners and professionals
- The expert advisor automatically takes fees and swaps into account
- It can work with any financial instruments (Forex, Crypto, CFD, Futures, Metals)
- It can be optimized in the strategy tester
- It can trade on any time frame
- It has multiple modes of trading: with the trend and against the trend
- It has multiple averaging modes, including smart and partial averaging
🧬 The Expert Advisor algorithm
Depending on the chosen trading strategy, the Expert Advisor can trade continuously without waiting for signals from the trading strategy, or it can wait for a signal from the trading strategy.
The signal can be applied both to the beginning of trading and to subsequent orders in the grid. The EA trades using the orders grid method.
If the price moves in a profitable direction after the order is opened, the VR Smart Grid Expert Advisor will use the break-even trading method using a Trailing Stop.
(Moving of the Stop Loss to the profitable zone following the price). When the profit condition is met for the order in the passing direction, another order will be opened with the same lot as the previous one.
In this way, the expert advisor will try to use trend trading as efficiently as possible.
If the price goes in a losing direction after opening an order, the Expert Advisor will automatically open averaging orders in order to close the entire orders grid as quickly and profitably as possible.
Averaging orders, depending on the Expert Advisor settings, can be opened with a fixed lot or with an ever-increasing lot.
The Expert Advisor is programmed with unique methods for calculating prices, in which the trading algorithm can quickly reduce a losing position and increase profits on profitable positions.
Partial closing takes place in virtual mode, which means that your broker will never see the price at which the EA will close positions.
- Perform testing in conditions as close to reality as possible. Use demo accounts for tests.
- Test for at least 2-4 business weeks
- For high-quality and reliable testing, if possible, use VPS servers
- The program settings allow you to run multiple copies of the Expert Advisor in one terminal, use this feature
- Don't take too many risks
- Check any .set files on tests (.set files do not take into account the spread, the chart period, the features of the broker's quotes, fees, etc.).)
- Testing the Expert Advisor in the strategy tester will not give you any guarantees and reliable good results
- Do not leave the Expert Advisor on 24/7, always monitor the work of the Expert Advisor and adjust the settings if necessary
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 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.
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.
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 magic number -1
Fixed description of settings
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.
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
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
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.
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 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)
Much work has been done to optimize the algorithm.
Much preparatory work has been done for the following improvements.
Test the new version on a demo account.