Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


VR Smart Grid Lite MT5 - expert for MetaTrader 5

Vladimir Pastushak

votes: 9
2019.12.24 12:29
VR Smart Grid Lite Advisor is a simplified demo version of VR Smart Grid Advisor. The EA is presented in order to demonstrate a part of the source code, and to demonstrate an example of its work with partial closing of orders by take profit and closing of orders by fractional lot. The EA uses large volume orders to partially close other orders, with this approach, the breakeven and profit price is much closer to the current price than if you use all orders in the terminal or their full volumes. As a result, the probability of closing orders or reducing lots in the market increases by several times. Run the EA in the strategy tester in the visualization mode, and you will see how the EA works on the chart. VR Smart Grid Lite Advisor will be useful for both beginners and professionals in trading and programming.

VR Smart Grid Lite is a Lite version of the VR Smart Grid EA published in the market, it demonstrates a small part of the source code and a small part of one of the principles of reducing the position of orders against the trend.

Work logic

If the last candle was bullish, the EA will enter the market with a buy order. If the last candle is bearish, then the EA will enter the market with a sell order. In this case, the signal acts not only on the first order in the network, but also on all subsequent ones. This approach eliminates the opening of the network only after a specified distance. It turns out that the EA takes into account not only the distance set by the trader, but also the signal from the candles. In the case of a sharp price movement without a signal from the candles, no trade will be made. It is important to note that if there is a strong movement on the instrument (all candles are bearish), then the trade will be made on a bullish candle.


  • Do not use on real account without a clear understanding of the risks and consequences
  • Integrate your strategy into the code
  • Before using the EA in real conditions, test on demo accounts for at least 4 working weeks.


  • EA works on any timeframe
  • EA works with any instruments (Forex, Metalls, Stock, Cryptocurrencies, etc)
  • Simple open source code
  • EA has is able to integrate any trading strategy
  • Detailed description of the code is provided in the video material
  • EA works in the strategy tester, on demo and in real life (observe and take the risks into account)
  • Automatically picks up your orders when you restart.


  • Take Profit (in pips) - take profit in pips;
  • Start lot - start lot size;
  • Type close orders - Closing orders by total take profit (Average) or Partial closing of orders (Part Close)
  • Point order step (in pips) - step between orders;
  • Minimum profit for close grid (in pips) - minimum profit when closing a series of orders;
  • Magic Number - serial number of orders by which the EA distinguishes its orders;
  • Slippage (in pips) - slippage size.
Version 19.120
  • Setting that allows you to choose to Close orders by total take profit (Average) or select Partial closing of orders (Part Close) was added
  • Maximum lot limiting setting is optimized. Now to disable the use of the maximum lot limit it is enough to set the value of Maximum Lots to 0

WmiFor 3.5 for MT5 (with DTW engine) WmiFor 3.5 for MT5 (with DTW engine)

This indicator predicts future price movements by searching for similar candle patterns in the rate history.

BPNN MQL Predictor Demo with library BPNN MQL Predictor Demo with library

This is a demo indicator with BPNN neural network library ported from C++ to MQL.


iWPR+ is an iWPR %Range function with a positive value.

stdlib.mq5 stdlib.mq5

converted stdlib library for MQL5 from the MQL4