• Overview
  • Reviews (5)
  • Comments (79)
  • What's new

VR Smart Grid MT5

VR Smart Grid is a multifunctional Expert Advisor for MetaTrader 4 and MetaTrader 5 terminals, which allows trading with order networks. The algorithm of the adviser allows you to trade with the trend and against the trend. Trading according to the trend is constructed in such a way that each new order is opened only if the previous order has Stop Loss in the profit zone. Trade against the trend is conducted in order to close losing positions with a profit. The Expert Advisor has a large number of settings that allow you to conduct a conservative, aggressive or scalping trading of financial instruments.

Advantages of VR Smart Grid Advisor

  • Easy to set up
  • Suitable for beginners and professionals
  • Can work with any financial instruments. (Forex, Crypto, CFD, Futures, Metals)
  • Can be optimized in the strategy tester
  • It can trade on any time periods.
  • It has several trading modes.
  • It has several averaging modes, including smart averaging.
  • It has several types of trailing stop
  • Two versions of Expert Advisor for MetaTrader 4 and MetaTrader 5 have been developed.

The algorithm of the advisor depends on the selected settings. The standard algorithm of the advisor - the adviser is waiting for a signal from the CCI indicator. If the indicator is in the oversold zone, the adviser opens a buy position, if the indicator is in the overbought zone, the adviser opens a sell position. If the price rises, the adviser will be added to the position according to the trend with the lot specified in the settings, provided that the last order has a stop loss in the profitable zone, and against the trend, the adviser opens orders according to the type of lot calculation selected in the settings, in order to close the network of orders profit. The network of orders against the trend is closed by one of the averaging options. All orders, the lowest and the highest orders, the last two orders can participate in averaging, and “Smart Averaging” can be used, which selects the most optimal variant from other averages.

It is important to note how orders are closed. The advisor algorithm allows you to close a network of orders with the minimum profit specified in the program settings. Also, the most risky orders can be closed with previously accumulated profits. When trailing a stop with orders against a trend, the situation can often occur when a trailing works on large orders with a large lot, having worn a large order several times, the adviser accumulates profit and, if this profit is greater than the profit specified in the settings, the adviser closes the far-off distant order.


  • Conduct testing in conditions as close to real. Use demo accounts for tests.
  • Test at least 2-4 business weeks
  • For quality and reliable testing, use VPS servers whenever possible.
  • The program settings allow you to run several copies of the adviser in one terminal, use this feature
  • Do not allow yourself big risks
  • Any. set files check on tests (. set files do not take into account the spread, chart period, broker quotes, commissions, etc.)
  • Testing the adviser in the strategy tester will not give you guarantees and reliable good results.
  • Do not leave the advisor on 24/7, always monitor the work of the adviser and, if necessary, adjust the setting

The program is distributed on an “as is” basis.

All modifications and updates are made at the discretion of the author.

Additional material:

wildflower29 2019.06.10 04:41 

I have been respect author's effort for creating this EA, however, the MT5 version is dangerous. It will automatically close the first order after you revise the setting. I have been communicated with VP for several times, and he still doesn't think it's a bug of this version. This error will make you lose money! We shall have chance to revise our strategy during the trading due to market changes. I'm very disappointed for such error and author's attitude. I have already lost hundrens dollors. Please stay away with MT5 version unless it's fixed.

icaroantunes 2019.05.22 15:45 

User didn't leave any comment to the rating

Lucian 2019.05.20 19:51 

User didn't leave any comment to the rating

Wan Ping Fei
Wan Ping Fei 2019.05.19 15:28 


Ting Wei Wu
Ting Wei Wu 2019.05.17 16:22 

User didn't leave any comment to the rating

Version 20.27 2020.02.13
Revised calculation of compensation for swap and Commission
Optimized and accelerated algorithm of the program
Version 20.26 2020.02.01
Optimized calculation of the percentage of the lot
Version 20.25 2020.01.30
Fixed-message and maxlotchek lot calculation
Fixed-Trading at the intersection of moving averages
Version 20.24 2020.01.25
Working with the averaging type Maximum and minimum orders with partial closure, fixed a situation where a large network of orders accumulated.
Version 20.22 2020.01.22
Closing positions in case of partial averaging
Improved closing when using maximum + minimum averaging
Version 20.21 2020.01.22
Version 20.20 2020.01.20
Connecting custom indicators
Version 20.19 2020.01.20
Compensation for the swap and commission
Version 20.18 2020.01.10
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
Version 20.17 2020.01.09
Comments on orders.
Version 20.16 2020.01.09
Close all orders when the specified profit or loss
Version 20.15 2020.01.08
Conclusion comments on the positions and properties of warrants
Version 20.14 2020.01.07
Optimized insertion check adviser trade time
Version 20.13 2020.01.07
Fixes when dealing with the general take profit
Fixed and optimized to work with a trailing stop on indicators Donchian
Version 20.12 2020.01.06
Fixed take profit if there was one order.
Version 20.11 2020.01.06
Calculation of lots
Version 20.10 2020.01.05
Fixed calculation of the lot, before increasing the bid could stop at 0, 28.
Version 19.121 2019.12.27
Minor improvements and optimization of the virtual network algorithm
Version 19.120 2019.12.24
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. . . .
Version 19.72 2019.07.24
Optimized trailing stop, previously some brokers had problems with a large number of modifications
Version 19.71 2019.07.22
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)
Version 19.60 2019.07.04
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.
Version 19.54 2019.05.16
Optimization of trading strategies
Version 19.53 2019.05.16
Correction with Donchian's trading strategy
Version 19.52 2019.05.16
Correction of work with the MA indicator
Version 19.51 2019.05.15
Optimization of the profit distribution function.
Code optimization
Test the new version on a demo account.