RoboForex – Professional services on Forex market

VR Locker – Smart Lock Manager

VR Locker – Smart Lock Manager

VR Locker – Smart Lock Manager

Icon version of the program Version: 26.091

Icon program update date Updated: 03.09.2026

Icon date of adding the program Added: 30.08.2017

Program license icon License: Paid-Free

The icon of the test period of the program Test period: 30 days

Tester Icon/Demo programs Tester / Demo: Free

10 purchases in 60 days

Free Demo
Buy ?
Purchase is an opportunity to obtain the product without restrictions on time, number of trading accounts, or brokers. You pay for the MetaTrader 5 version, and the MetaTrader 4 version (if available) is provided free of charge. Payment is made through the Trading-Go website in accordance with the user agreement (offer). To pay for the selected product, log in to your account or register if you don't have one yet (Registration). After payment, open the MetaTrader terminal, go to the program activation menu, and click the 'Update' button (Help).
Buy
149$ 89$
Rent ?
Rental is an opportunity to obtain the product for a specified period. You pay for the MetaTrader 5 version, and the MetaTrader 4 version (if available) is provided free of charge. Upon expiration of the rental period, you can either purchase the full version or extend the rental. Payment is made through the Trading-Go website in accordance with the user agreement (offer). To pay for the selected product, log in to your account or register if you don't have one yet (Registration). After payment, open the MetaTrader terminal, go to the program activation menu, and click the 'Update' button (Help).
1 month
15$ 21$
3 months
30$ 30$
6 months
49$ 40$
12 months
79$ 50$
MQL 5 Market ?
Purchase or rental in the MQL5 Market is an opportunity to purchase the product at our official representative office on mql5.com. Prices in the Trading-Go market and the mql5.com market may differ. Purchasing a product on the mql5.com market means that you have read and accepted the Marketplace mql5.com Terms of Use and the Marketplace mql5.com Service Agreement.
Instruction
Recommended
VPS-servers
More →
How to get a license

for free!

More →
Crypto exchange
Crypto Wallets
More →

VR Close All - Close all orders if ...
VR Close All - Close all orders if ...

Icon of the program version Version: 17.100

Icon program update date Updated: 12.08.2015

Icon date the program was added Added: 04.08.2015

Program license icon License: Free

The icon of the test period of the program Test period: Free

Tester Icon/Demo programs Tester / Demo: Free

Program purchase icon Purchase: 0$
Program rental icon Rent: from 0$

Designed for closing/deleting all orders in the terminal. It helps to fix profit or loss on the entire trading account.

VR Watch list and Linker – Screener for MetaTrader
VR Watch list and Linker – Screener for MetaTrader

Icon of the program version Version: 25.070

Icon program update date Updated: 27.07.2025

Icon date the program was added Added: 01.07.2015

Program license icon License: Paid-Free

The icon of the test period of the program Test period: 30 days

Tester Icon/Demo programs Tester / Demo: Free

Program purchase icon Purchase:
50$30$
Program rental icon Rent: from 30$

Financial instruments screener for manual search and selection of the most interesting and liquid financial instruments. Designed for MetaTrader 4 and MetaTrader 5 terminals. The best solution for trading stocks.

VR Smart Grid - Smart Trading Robot
VR Smart Grid - Smart Trading Robot

Icon of the program version Version: 26.086

Icon program update date Updated: 19.08.2026

Icon date the program was added Added: 27.03.2018

Program license icon License: Paid-Free

The icon of the test period of the program Test period: 30 days

Tester Icon/Demo programs Tester / Demo: Free

Program purchase icon Purchase:
149$79$
Program rental icon Rent:
from 15$from 15$

VR Smart Grid is not just a grid Expert Advisor, but a multifunctional position management system that gradually closes large grids of orders in small parts with a pre—planned profit of the trader.

Review

VR Locker is an Expert Advisor (EA) for MetaTrader 4 and MetaTrader 5 that helps manage drawdown through hedging.

The EA opens Buy and Sell positions simultaneously and then adds new positions as the price moves. This allows it to create positive locks — situations where a reserve of unrealized profit can build up between open positions.

This reserve can be used to reduce drawdown and provide more flexibility when managing trades. The EA does not need to constantly predict where the market will move. Instead, it works with the price movement itself and gradually builds a protective reserve.

VR Locker can be used for both manual trading and fully automated operation. The EA includes 9 lot calculation methods, 13 distance calculation methods, 4 averaging modes, and support for a real TakeProfit.

You can configure the strategy to match your own trading style or use the provided settings. The EA also supports working with multiple locks and sends notifications via Telegram, Push, Email, and Alert.

How VR Locker Works

The basic principle is quite simple.

1. The EA opens Buy and Sell positions.
Two opposite positions are opened simultaneously.

2. The price starts moving.
VR Locker adds new positions according to the specified rules.

3. A positive lock is formed.
When Buy and Sell positions are arranged in a certain way, a positive balance can build up between them.

4. The lock becomes a reserve.
The accumulated result can help offset drawdown and provide more options for managing open positions.

Why VR Locker?

You don't have to constantly predict the market direction. The strategy is based on working with price movements rather than relying solely on market direction forecasts.

Flexible configuration. You can adjust the lot calculation, distance between orders, averaging mode, and other parameters.

Suitable for different trading styles. The settings allow you to use either a more conservative or a more aggressive approach.

Automated operation. Once configured, the EA automatically opens and manages positions according to the specified rules.

Notifications and control. Important events can be received via Telegram, Push, Email, or standard Alert notifications.

VR Locker is not just another grid trading robot. Its main idea is to use hedging not only to manage risk, but also to build a positive reserve that can be used when managing positions later.

Configure the strategy to suit your needs and let VR Locker handle the routine work of managing your positions.


VR Locker Positive Locks

Purchase and Usage Conditions


Trading-Go Marketplace:

  • Supplied as an archive containing versions for both MetaTrader 4 and MetaTrader 5;
  • When purchased from the Trading-Go Marketplace, the second version for MetaTrader 4 or MetaTrader 5 is included free of charge;
  • Can be used on live accounts for free by following the instructions;
  • Can be used on demo accounts free of charge without restrictions;
  • EA settings are included in the EA archive;
  • Works in the Strategy Tester;
  • Free technical support;
  • Free updates;
  • Installation instructions;

MQL5 Marketplace:


Advantages

VR Locker is different from conventional grid and martingale Expert Advisors. Its core technology is based on positive locks. The EA uses Buy and Sell positions simultaneously and gradually adds new positions as the price moves. As a result, a reserve of unrealized profit can build up between positions, helping to manage drawdown.

The main idea behind VR Locker is not simply to wait for a market reversal, but to use price movement as part of the trading strategy. This approach provides a different way to manage a series of positions and gives traders additional tools for controlling risk.

Flexible Settings

VR Locker can be configured for different market conditions and trading styles.

9 lot calculation methods allow you to choose how position size is managed — from a simple fixed lot to more dynamic approaches, including martingale, Fibonacci, square-root, and logarithmic growth.

13 distance calculation methods allow you to choose the distance between orders based on the trading instrument and market volatility. The EA can be used with Forex, gold, cryptocurrencies, indices, and other financial instruments.

4 averaging modes provide different ways to manage a series of positions using a real TakeProfit. The calculation can take into account not only price movement but also trading costs such as commissions and swaps.

This range of settings allows you to configure the EA for a specific trading task instead of relying on one universal setup for every market.

Full Control Over Your Trading

VR Locker is not a “black box.” The information panel displays the current status of open locks and allows you to manage positions directly from the chart.

Separate commands are available to close Buy positions, Sell positions, old positions, or all trades at once: Close Buy, Close Sell, Close OLD, and Close ALL.

The notification system keeps you informed about important events via Alert, Email, Push, and Telegram. You can receive notifications when new positions are opened, when the volume or Stop Loss/TakeProfit levels change, and when a trading series is completed.

Telegram notifications can also include chart screenshots. Events are displayed using clear indicators and emojis, while built-in anti-spam protection helps prevent unnecessary repeated notifications.


VR Locker Positive Locks

How Is VR Locker Different from Conventional Trading Robots?

Many grid Expert Advisors use a simple approach: when the price moves against an open position, the EA increases the volume of the next order and waits for a reversal. A strong and prolonged market movement can significantly increase the load on the trading account.

VR Locker takes a different approach. Instead of simply increasing the position size and waiting for a reversal, the EA works with Buy and Sell positions simultaneously and creates locks. When the positions are arranged in a certain way, a positive result can develop between them, which can then be used to manage the trading series.

Another advantage is versatility. VR Locker is not limited to a single instrument or trading setup. With multiple options for calculating lot size, distance, and averaging, the EA can be adapted to different markets and trading conditions.

A Strategy You Can Understand and Configure

The positive locking technology has been developed and tested by the author for more than 20 years. The development process takes into account real trading conditions, including spread, commissions, swaps, tick activity, and other market factors.

At the same time, VR Locker does not require you to blindly rely on one “perfect” setup. Traders can study how the strategy works, select appropriate parameters, and maintain control over their trading.

VR Locker is a tool for traders who want to automate the management of locks and gain greater control over their open positions. Beginners can start with the provided settings, while experienced traders can adapt the EA to their own trading strategy.

The EA works with a wide range of financial instruments, runs on MetaTrader 4 and MetaTrader 5, and comes with both written and video instructions.


VR Locker Positive Locks

Algorithm of operation

Locking is a form of hedging in which Buy and Sell positions of the same volume are opened simultaneously on the same trading instrument.

VR Locker can manage these positions fully automatically. The trader only needs to choose the settings and monitor the EA. The robot then opens, adds, and manages positions according to the specified algorithm.

How Does VR Locker Work?

1. The EA opens Buy and Sell positions.

At the beginning, the EA simultaneously opens two positions of the same volume: Buy and Sell. These positions form the basis of the future lock.

The EA then monitors price movement. If the price rises, it adds Buy positions. If the price falls, it adds Sell positions. This gradually creates the required distance between the two sides.

2. A lock is formed.

When the distance between the positions reaches the value specified in the settings, the EA records the lock and starts building the next one.

Multiple locks can accumulate at the same time. Depending on market movement, unrealized profit can build up between the positions — that is, profit on trades that have not yet been closed.

3. The EA monitors each lock.

VR Locker automatically tracks the status of open positions and determines which trades belong to each lock. This is managed using the MagicNumber.

The EA also takes profit, swaps, and commissions into account. This makes it possible to evaluate the actual result of each lock rather than simply looking at the difference between opening prices.

When the number of locks reaches the configured limit, the EA follows the selected setting. It can leave the locks open, close the oldest lock, or close all locks and continue trading.

4. Locks can be managed and closed.

Once a sufficient number of locks has been accumulated, the trader can manage them according to their own strategy. For example, positions can be moved to breakeven, a trailing stop can be activated, or locks can be gradually closed.

Positions can also be managed manually from the EA panel. With a single click, you can close a specific lock, all Buy positions, all Sell positions, the oldest lock, or all positions.

The main idea behind VR Locker is not simply to open positions in opposite directions, but to gradually build a reserve of unrealized profit. While the trades remain open, this result is not locked-in profit. However, it can help offset part of the drawdown and give the trader more flexibility when managing open positions.

Additional Protection

VR Locker monitors not only open positions but also the market conditions under which new trades are opened.

Trading on a new bar. The EA can open new positions only when a new bar appears on the selected timeframe. This helps reduce unnecessary activity within the same bar.

Spread control. If the spread becomes too wide, the EA can stop opening new positions. This is particularly useful during sharp market movements and other situations when trading conditions become less favorable.

All these features work together to automate the main position management tasks while keeping the trader in control of the settings and overall strategy.


VR Locker Positive Locks

Profitability

VR Locker is not designed to generate maximum profit at any cost. Its purpose is to give traders greater control over open positions and drawdown.

The strategy’s results come from two components: unrealized profit within positive locks and the result generated after the locks are released. As locks accumulate, an additional reserve may build up, which the trader can later use to manage positions or lock in according to their own strategy.

What Determines Profitability?

First of all, profitability depends on the EA settings and current market conditions.

More aggressive settings, such as those that increase lot size, can build position volume and potential results faster. At the same time, they require a larger free margin buffer and increase risk.

More conservative settings increase position volume more gradually. This approach typically requires less margin, but the reserve also builds more slowly.

The selected timeframe also affects the results. On higher timeframes, locks may form less frequently and at greater distances. On lower timeframes, locks may form more often, but their size is usually smaller.

Therefore, there is no single setup that works equally well for every instrument and every account size. Parameters should be selected based on market volatility, account size, and the acceptable level of risk.

The Priority Is Control, Not Profit Promises

VR Locker is not designed for quick profits and does not guarantee profitability. Like any trading strategy, the EA depends on market conditions, selected parameters, and money management.

The main idea behind the strategy is different: use price movement to build positive locks and provide more options for managing open positions.

The accumulated result is not guaranteed profit until the trades are closed. That is why it is important to choose position sizes carefully, monitor free margin, and define your rules for managing locks in advance.

Before running VR Locker on a live account, make sure to test it on a demo account. Test the strategy on your chosen instrument, evaluate maximum drawdown and margin usage, and then select an appropriate risk level.


VR Locker Positive Locks

Recommendations

To use VR Locker effectively, start by configuring the strategy for the specific instrument and risk level. As a basic starting point, we recommend using the H1 timeframe or higher. Higher timeframes usually contain less short-term market noise, which can make grid-based trading more stable.

VR Locker was originally developed and tested on currency pairs, but the EA can also be used with other financial instruments, including CFDs, cryptocurrencies, metals, and futures. However, settings should be selected separately for each instrument.

Test the Strategy First

Before running the EA on a live account, make sure to test it on a demo account. Ideally, use the same broker, account type, and trading conditions that you plan to use for live trading.

Pay particular attention to the spread, commission, swap, deposit size, lot size, and available free margin. These factors can directly affect how the strategy performs.

Don't Rush to Close the Locks

One of the key features of VR Locker is the ability to accumulate multiple locks and use their results for further position management.

The number of locks should not be the same for every account. It depends on the account balance, settings, trading instrument, and available margin. Once a sufficient reserve has been built, the trader can use breakeven, a trailing stop, or their own strategy for releasing the locks.

The key is to define your position management rules in advance and avoid increasing trade volume without considering available margin and acceptable risk.

Testing in MetaTrader 5

For analyzing VR Locker, we recommend using MetaTrader 5. Its Strategy Tester provides more options for testing the EA and optimizing its parameters.

During testing, you can disable additional information and interface elements displayed on the chart. This reduces the load on the terminal and may speed up the testing process. The main information about the EA's operation will still be available in the tester.

The first test run may take longer. The terminal needs to download and synchronize historical data for the selected financial instrument.

And Most Importantly — Manage Your Risk

VR Locker does not eliminate the risks of trading financial markets. Before running it live, evaluate potential drawdown, margin usage, and how the strategy behaves under different market conditions.

Start with a demo account, test the settings, and only then move to live trading.


VR Locker Positive Locks

Settings

VR Locker is designed so that both beginners and experienced traders can quickly understand the settings and configure the EA for their trading style. All parameters are grouped into logical sections: trading settings, lot calculation, averaging, position steps, locks, time settings, and other options. Below is a detailed description of each parameter using the exact names displayed in the EA, with explanations in English.

[ * ] — settings that depend on the number of decimal places used in the price of the financial instrument. The descriptions and default values are intended for brokers using 3–5 decimal places. For brokers using 2–4 decimal places, values marked with [ * ] should be set 10 times lower.

Trading Settings

  • * Maximum spread (0 - Disabled) — the maximum allowed spread for opening new trades. If the current spread exceeds the specified value, the EA will not open new positions but will continue to monitor and manage existing ones. A value of 0 completely disables spread control.

Lot Calculation Settings

  • The type of lot calculation — determines how the initial lot size is calculated:
    • Fixed lot (Example: 0.01) — a standard fixed lot size that remains the same for all trades;
    • Percentage lot (Example: 3) — the lot size is calculated as a percentage of the account balance;
    • The balance for the minimum lot — the lot size is calculated based on the account balance assigned to the minimum lot. Example: with a balance of 2000 and a setting of 500: 2000 / 500 = 4, and 4 × 0.01 = 0.04, resulting in an initial lot of 0.04.
  • Value (Lot, Percentage, Balance) — the value used by the selected lot calculation method: lot size, percentage, or balance.
  • Manual sequence of lots, through ( ; ) — a manually specified sequence of lot sizes. It has the highest priority and overrides automatic lot calculation. Example: 0.01; 0.02; 0.04; 0.08.
  • Type of automatic lot calculation — determines how lot sizes are calculated for new positions opened against the trend:
    • The starting lot (1, 1, 1, 1, 1) — the same volume for each position; the most conservative option;
    • Martingale lot (1, 2, 4, 8, 16) — aggressive growth designed to increase recovery potential quickly;
    • Fibo lot (1, 1, 2, 3, 5, 8) — a classic Fibonacci-based progression;
    • The sum of the maximum and starting lot (1, 2, 3, 4, 5) — linear lot growth;
    • The sum of lots of extreme positions (3+, 4, 7, 10) — based on the combined lot sizes of the extreme positions;
    • Soft Martingale (1, 1.5, 2.25, 3.4) — a softer martingale approach with gradual x1.5 growth;
    • Step lot (1, 1.5, 2, 2.5, 3) — predictable step-by-step growth;
    • Root lot (1, 1.4, 1.7, 2, 2.2) — growth based on the square-root function;
    • Logarithmic lot (1, 1.7, 2.1, 2.4) — the smoothest logarithmic growth option.
  • Additional lot multiplier (0 - Disabled) — an additional multiplier applied to the calculated lot size. Example: a Fibonacci sequence of 1, 1, 2, 3, 5, 8 with a multiplier of 2 produces 2, 3, 6, 9, 15, 24. A multiplier of 0.5 produces 0.5, 0.75, 1.125, and so on.
  • Maximum Buy lot — maximum allowed lot size for Buy positions.
  • Maximum Sell lot — maximum allowed lot size for Sell positions.

Averaging Settings

  • Averaging type — determines how the average price is calculated:
    • [ ALL ] All positions, Real TakeProfit — all positions are taken into account;
    • [ Max Min ] Two extreme positions, Real TakeProfit — the two extreme positions are taken into account;
    • [ Max Max ] The last two positions, Real TakeProfit — the two most recent positions with larger lot sizes are taken into account;
    • [ SMART ] Smart choice, Real TakeProfit — automatically selects the most appropriate closing level.
    Buy and Sell positions are averaged symmetrically, while the breakeven level takes both round-trip commission costs and accumulated swap into account.
  • * Minimum profit for closing positions (Example: 25) — the additional profit in points required when closing a series of positions.
  • Manual sequence of profit, via ( ; ) — a manually specified sequence of profit targets in points. It has the highest priority. Example: 25; 20; 30; 38.

Position Step Settings

  • Distance calculation type — determines the distance between new positions opened against the trend:
    • Points — distance calculated in points;
    • Modified ATR — modified ATR-based calculation;
    • Percentages — distance calculated as a percentage;
    • Bollinger band difference — based on the difference between Bollinger Bands;
    • Donchian band difference — based on the difference between Donchian Channel boundaries;
    • Average value of bars — based on the average bar value;
    • ATR classic — classic ATR indicator;
    • Smoothed ATR — smoothed ATR using EMA of ATR values;
    • Median bar range — based on the median bar range;
    • EMA of bar range — EMA of the bar range;
    • ATR multiplied by coefficient — ATR multiplied by a configurable coefficient;
    • Smooth step growth — gradual increase in the position step;
    • Fixed distance + ATR hybrid — a hybrid calculation combining fixed distance and ATR.
  • * Value (Points, Percentage, Indicator Period) — the value used by the selected distance calculation method: points, percentage, or indicator period.
  • * Increase the step between positions (0 - Disabled) — increases the distance between positions depending on the number of open positions.
  • Manual sequence of distance, through ( ; ) — a manually specified sequence of distances. It has the highest priority. Example: 50; 100; 80; 30.

Lock Settings

  • * Lock Size — the size of the locks in points.
  • Limit Lock — the maximum number of locks that can be created. The limit is 50.
  • Type of lock closure — determines how locks are closed:
    • Don't close anything — locks remain open after the specified limit is reached, allowing the trader to decide what to do next;
    • Close the oldest lock — closes the oldest lock by opening time;
    • Close all locks — closes all locks and continues trading.

Uptime Settings

  • New Bar trading — limits the opening of new positions to the appearance of a new bar on the selected timeframe. This setting does not affect indicator calculations and supports timeframes from M1 up to Monthly.

Other Settings

  • Info panel Size (0 - Disabled) — controls the size of the information panel displayed on the chart.
  • Smartphone notifications — MetaTrader Push notifications sent to a mobile device.
  • Notifications in the terminal — standard terminal Alert notifications.
  • Email notifications — notifications sent by email.
  • Telegram notifications — notifications sent to a Telegram channel.
  • Telegram Channel Name — the name of the Telegram channel.
  • Secret Telegram Bot token — the secret token of the Telegram bot.
  • Serial number of items (MagicNumber) — the unique identifier assigned to the EA's positions. Numbers 1–50 are reserved for internal program operations.
  • Slippage (Points) — the maximum allowed price deviation during order execution.
  • Comment on the positions — a comment or comment mask assigned to positions.

The unified Alert, Mail, Push, and Telegram notification system works on an event-based model. Notifications can be triggered when a new position is opened, the volume changes, Stop Loss or Take Profit is modified, or a position is closed with the final result. Telegram notifications can include chart screenshots, events are displayed with clear emojis, and anti-spam protection prevents unnecessary repeated messages. All notification settings are available in the Other Settings section.

Settings marked with [ * ] depend significantly on the number of decimal places used in the instrument's price. For brokers using 5 decimal places, values should be entered at their full size. For brokers using 4 decimal places, the values should be 10 times smaller. Pay close attention to this rule to ensure that position distances and lock sizes are calculated correctly.

Practical Configuration Tips

For the first launch, we recommend using conservative settings: a fixed lot of 0.01, The starting lot or Logarithmic lot calculation method, a distance of around 150 points, minimum profit of 25 points, a lock size of 100 points, and a lock limit of 5. Once you have confirmed that the EA operates correctly on a demo account, gradually adapt the settings to your trading style: increase the lock limit, select an appropriate lot calculation method and distance calculation type, enable spread control, and use New Bar trading for additional protection.

What Does Artificial Intelligence Say About VR Locker?

When analyzing VR Locker, one of the first things an AI system can identify is the combination of structured logic, transparency, and extensive configuration options. Unlike many conventional grid EAs that rely primarily on averaging and waiting for a market reversal, VR Locker uses positive locks as part of its position management approach. Price movement can create unrealized profit between positions, which may provide additional flexibility when managing drawdown.

What makes VR Locker different from other trading robots?

  • Positive locks instead of simply increasing exposure. Traditional grid systems may continue opening positions as the market moves against them, increasing exposure and margin requirements. VR Locker uses Buy and Sell positions together to build positive locks as part of its strategy.
  • Nine lot calculation methods. From a fixed or starting lot to various progressive methods, giving traders control over position sizing and risk exposure.
  • Thirteen distance calculation methods. The EA can use fixed values, volatility-based calculations, percentage-based distances, and several indicator-based methods to adapt the position spacing to different market conditions.
  • Averaging with real TakeProfit. The selected averaging method calculates the closing level while taking trading costs such as commission and accumulated swap into account.
  • Spread control and New Bar trading. The EA can prevent new positions from being opened when the spread becomes too wide or until a new bar appears on the selected timeframe.
  • Transparency and control. The information panel, multi-lock management, and Telegram, Push, Email, and Alert notifications allow traders to monitor the strategy and intervene when necessary.

The key takeaway is that VR Locker is not a “casino robot”. It is a configurable position-management system whose trading logic can be tested, analyzed, and adjusted to suit different trading approaches. It can be used by beginners who want to start with predefined settings as well as experienced traders who want to adapt the EA to their own strategy.

Frequently Asked Questions

What Is a Positive Lock?

A positive lock is a combination of opposite positions (Buy and Sell) on the same instrument where the price difference between the positions creates unrealized profit. VR Locker can create and manage such locks automatically as part of its trading algorithm.

How Is VR Locker Different from Conventional Hedging?

In conventional hedging, opposite positions are often used primarily to offset exposure. VR Locker takes the concept further by arranging Buy and Sell positions at different price levels. When Sell positions are opened above Buy positions, the price difference can create unrealized profit between them.

Which Instruments Can the EA Trade?

VR Locker was developed and tested primarily for currency pairs, but it can also be used with other financial instruments supported by the trading platform and broker, including Forex, CFDs, cryptocurrencies, metals, and futures. Recommended timeframes are H1 and higher.

How Many Locks Can Be Created?

The number of locks is controlled by the Limit Lock setting, with a maximum of 50. The appropriate number of locks depends on the account size, available margin, instrument, and selected settings. Once a sufficient number of locks has been accumulated, traders can consider using breakeven, a trailing stop, or their own lock-management strategy.

Does the EA Work in the Strategy Tester?

Yes. VR Locker can be tested in the Strategy Tester of both MetaTrader 4 and MetaTrader 5. For faster testing, it is recommended to disable unnecessary chart information and interface elements. For more advanced testing and optimization, MetaTrader 5 is generally the preferred choice because of its more powerful Strategy Tester.

About the Author

Hello! My name is Vladimir, and I have been programming trading strategies and developing trading robots for more than 20 years. I work with my own ideas and strategies, and developing automated trading tools is my passion. Every day, I test new ideas and turn them into new features and trading solutions. My goal is to create professional trading tools that can be tested openly in the Strategy Tester, on demo accounts, and, if the trader chooses, in live market conditions. I show the results as they are and do not make promises or guarantees of profit.

VR Locker is the result of many years of work on the positive locking technique. Each new version has been extensively tested on practice and demo accounts because simulators cannot fully reproduce every aspect of live trading, including spread, commissions, latency, requotes, and real-time tick delivery. More than 20 years of development experience have been used to refine the technique and account for the practical details of automated trading. Updates and technical support are provided free of charge through the Trading-Go marketplace and the MQL5 blog.

Risk Warning

Important! When testing the EA in the Strategy Tester, keep in mind that historical testing cannot fully reproduce live trading conditions. Factors such as actual spread, commissions, latency, requotes, execution speed, and real-time tick delivery can affect live results. Therefore, historical profitability or loss figures should not be treated as a guarantee of future performance.

Any EA, even an advanced one, requires trader supervision and an understanding of basic risk-management principles. Before running VR Locker on a live account, test it on a demo account under conditions as close to live trading as possible: the same broker, account type, spread, deposit size, and lot size. A testing period of at least 2–4 working weeks is recommended. Always limit your risk and avoid allocating your entire account balance to one automated strategy without an adequate margin buffer.

Trading financial markets involves significant risk. Grid strategies with averaging can result in substantial drawdowns during prolonged market trends. The author makes no promises or guarantees of profit. Past performance does not guarantee future results. All information published on this website is provided for informational and educational purposes only and does not constitute individual investment advice, an offer, or a solicitation to enter into transactions.

How to Get Started with VR Locker

Getting started with VR Locker is straightforward, even if you are completely new to Expert Advisors. The EA is available for both MetaTrader 4 and MetaTrader 5, so the basic setup process is similar in both platforms. Follow these steps to get the EA running.

1. Installation. Download the EA archive and extract its contents. The archive contains executable files (ex5 for MetaTrader 5 and ex4 for MetaTrader 4), preset files, and instructions. Copy the appropriate executable file to the MQL5/Experts (or MQL4/Experts) folder of your terminal and restart the platform so that the EA appears in the Navigator. Detailed installation instructions are available on the website.

2. Configuration and Testing. Before running the EA on a live account, test it in the Strategy Tester and on a demo account. Load one of the provided preset files from the archive or enter the parameters manually. We recommend starting with conservative settings: a fixed lot, the starting lot calculation method, a distance measured in points, and a lock limit of 5. In the Strategy Tester, disable unnecessary chart information and interface elements to speed up testing.

3. Demo and Live Trading. Once you are satisfied with the testing results, run the EA on a demo account under conditions as close to live trading as possible. Make sure that locks are being created correctly and that the information panel and notifications are working as expected. Only after a successful demo period should you consider moving to a live account, starting with a small position size and following your money-management rules.

4. Building and Releasing Locks. As the EA operates, it can build multiple locks. Once you have accumulated a sufficient number of locks, you can move positions to breakeven or activate a trailing stop, depending on your strategy. You can then release the locks according to your trading plan or continue managing the positions while monitoring the associated risk.

Key Terms Glossary

To make VR Locker easier to understand, here are simple explanations of the key terms used by the EA.

  • Lock — holding opposite positions (Buy and Sell) on the same instrument at the same time. In VR Locker, locks are structured so that the price difference between positions can create unrealized profit.
  • Positive Lock — a lock where the Sell position is opened at a higher price than the Buy position, creating a positive price difference between the positions.
  • Safety Reserve — a reserve of unrealized profit that may help offset part of the account drawdown and provide additional flexibility when managing positions.
  • Averaging — adding positions to a losing series in order to change the average entry price. In VR Locker, averaging is performed symmetrically and uses a real TakeProfit calculation.
  • Martingale — a position-sizing method in which the lot size is increased after losing trades, often by multiplying the previous volume.
  • ATR — Average True Range, a volatility indicator that measures the typical range of price movement.
  • TakeProfit — a predefined price level at which a position is closed to realize a profit.
  • MagicNumber — a unique numerical identifier used by an EA to distinguish its positions from positions opened by other EAs or manually.
  • Spread — the difference between the Ask and Bid prices. VR Locker can limit trading when the spread exceeds a specified value.
  • Swap — a financing or rollover charge applied by the broker when a position is held overnight.
  • Breakeven — a price level at which a position can be closed without a trading loss or profit, excluding applicable trading costs unless they are included in the calculation.
  • Grid — a series of orders opened at predefined or dynamically calculated distances from each other.

Philosophy and Development History

VR Locker is the result of many years of focused development around one of the more challenging problems in automated trading: how to manage drawdown while retaining flexibility in position management. With more than 20 years of experience programming trading strategies, the author explored the limitations of conventional averaging and hedging approaches. Traditional hedging can lock capital into offsetting positions, while conventional averaging can increase exposure while waiting for a market reversal. VR Locker was developed around a different concept: using positive locks as a structured part of the trading process.

Each version of VR Locker has been extensively tested on practice and demo accounts under conditions designed to be as close to real trading as possible. Simulators cannot reproduce every detail of live execution, including spreads, commissions, latency, and real-time tick delivery. This is why testing under real market conditions has always been an important part of the development process.

Artificial intelligence has also become an important tool in modern software development. VR Locker has been additionally reviewed with modern AI-based development tools as part of the development and testing process. This can help identify potential issues and improve code quality, but no automated code review can guarantee that software contains no errors under every possible market condition.

The philosophy behind VR Locker is straightforward: do not promise the impossible, but provide traders with a configurable tool for managing positions and risk. The product can be tested in the Strategy Tester, on demo accounts, and, at the trader's own discretion, under live market conditions. The final decision about how and where to use the EA always remains with the trader.

Conclusion

VR Locker is a flexible trading tool developed through more than 20 years of experience with automated trading strategies. It uses positive locking to create a price difference between opposite positions, which can result in unrealized profit and provide additional options for managing drawdown and open positions. Nine lot calculation methods, thirteen distance calculation methods, four averaging modes with real TakeProfit, multi-lock management, an information panel, and multiple notification options make the EA highly configurable for different trading approaches.

The EA can be used with Forex, CFDs, cryptocurrencies, metals, futures, and other instruments supported by the broker and trading platform, provided that the settings are properly adapted to the specific market. VR Locker is available for MetaTrader 4 and MetaTrader 5 and comes with written and video instructions.

Remember: successful automated trading depends on three key factors — a suitable trading tool, appropriate configuration, and disciplined risk management. VR Locker provides the first two; the responsibility for risk management always remains with the trader. Start with a demo account, test the settings, evaluate drawdown and margin requirements, and only then consider moving to live trading.

Video

Updates

Version 26.091 - 03.09.2026

Update from version 26.010 (January 2026) to version 26.091 (August 2026). The Expert Advisor has been significantly redesigned: more lot and distance calculation methods have been added, lock management has been improved, the panel and notifications have been redesigned, and the Expert Advisor itself has become noticeably more stable and faster. The trading concept remains unchanged — an order grid with positive locks (hedges) — but everything now works more reliably and transparently.

What has been improved

New, more stable foundation. The internal part of the Expert Advisor has been completely rewritten and simplified: unnecessary elements have been removed, the code is cleaner, and the overall behavior is more predictable.

Safe launch. If something goes wrong during initialization, the Expert Advisor reports the error and does not start trading in a "broken" state instead of silently operating incorrectly.

Multiple locks on the same instrument. The Expert Advisor can now determine which lock it is working with: it identifies the current lock by its positions, tracks profit, swap and commission for each lock, and distinguishes between full, partial and missing locks.

Trading from the last position. Lot calculation, the distance between positions and averaging are now calculated from the same reference point — the last position added to the grid. Previously, different parts of the algorithm could use different reference points.

New Bar trading and spread control. A new position is opened only on a new bar and only if the spread is within the acceptable range — preventing duplicate openings and trading under poor market conditions.

More control in your hands. The panel has been redesigned: lock-management buttons have been added, the panel is cleaner and automatically adapts to the screen resolution.


Block 1. Lot Calculation Methods

There are now 9 methods to choose from instead of 5. The selection of lot growth methods during averaging has been expanded with four additional smooth-growth options. All examples use a starting lot of 0.01.

  • Starting Lot (No. 0): 0.01, 0.01, 0.01, 0.01, 0.01 — no growth, the most conservative option.
  • Martingale (No. 1): 0.01, 0.02, 0.04, 0.08, 0.16 — aggressive growth, designed to recover losses quickly.
  • Fibonacci (No. 2): 0.01, 0.01, 0.02, 0.03, 0.05, 0.08 — moderate growth based on the sum of the two previous values.
  • Sum (No. 3): 0.01, 0.02, 0.03, 0.04, 0.05 — linear growth, with the starting lot added to each subsequent lot.
  • Top/Bottom (No. 4): 0.03, 0.04, 0.07, 0.10 — the sum of the lots of the extreme positions, designed for mirrored grids.
  • Soft Martingale (No. 5, new): 0.01, 0.015, 0.0225, 0.0338, 0.0506 — each subsequent position is 1.5 times larger than the previous one.
  • Step-by-Step (No. 6, new): 0.01, 0.015, 0.02, 0.025, 0.03 — half of the starting lot is added to each subsequent lot.
  • Root (No. 7, new): 0.01, 0.014, 0.017, 0.02, 0.022 — smooth growth based on a square-root progression.
  • Logarithmic (No. 8, new): 0.01, 0.017, 0.021, 0.024, 0.026 — the smoothest growth, gradually approaching saturation.

How to choose the method

  • Conservative trading, small deposit: Logarithmic, Root or Step-by-Step.
  • Balanced approach: Soft Martingale, Sum or Fibonacci.
  • Fast recovery and higher risk tolerance: Martingale or Top/Bottom.

Additional lot settings

  • Manual lot sequence — a custom list of volumes separated by semicolons: 0.01; 0.02; 0.04; 0.08.
  • Lot Multiplier — additionally multiplies the calculated volume. A value of 0 disables the multiplier.
  • Maximum Buy and Sell Lot — limits the volume of positions.
  • Automatic volume protection — if the calculated lot is below the minimum or above the maximum allowed for the instrument, the Expert Advisor automatically adjusts it to an acceptable value and reports the adjustment in the log.

Block 2. Distance Between Positions

There are now 13 methods for calculating the distance between positions instead of 7.

New methods

  • Smoothed ATR — a distance without sudden changes, smoothed using a moving average.
  • Median Range — uses the median bar range and ignores outliers.
  • Range EMA — a smoothed average of bar ranges with greater emphasis on recent bars.
  • ATR Coefficient — the distance equals ATR multiplied by the specified coefficient.
  • Smooth Step Growth — the distance increases with grid depth while the rate of growth gradually decreases.
  • Hybrid — a combination of fixed distance and ATR.

Previous methods

  • Points
  • Percentages
  • Modified ATR
  • Bollinger Band Difference
  • Donchian Difference
  • Average Bar Value
  • Classic ATR

What has been fixed

Reference from the last position. Previously, the reference price could become "stuck", and after the first condition was triggered, the Expert Advisor could open positions on every tick. Now each subsequent position is opened only after the full distance has been reached from the last grid position.

Manual distance sequence. You can specify a custom list of distances separated by semicolons: 50; 100; 80; 30. The sequence is validated in the same way as the manual lot sequence.

Protection against incorrect settings. A zero distance, an incorrect indicator period or an invalid calculation type no longer causes failures — a fallback value is used instead.

How to choose the distance method

  • Stable distance without market dependency: "Points" or "Smooth Step Growth".
  • Volatility adaptation without sudden changes: "Smoothed ATR", "Median Range", "Range EMA".
  • Following market volatility: "Classic ATR", "ATR Coefficient", "Hybrid".
  • Market structure analysis: "Bollinger Band Difference", "Donchian Difference".

Block 3. Averaging and Partial Closure

Buy and Sell calculations are now fully mirrored. The Sell block has been rewritten to match the Buy structure one-to-one.

An error has been fixed where Take Profit in the "Two Extreme" and "First Two" modes could be assigned to middle positions while the extreme positions were reset.

Break-even including all costs. The average averaging price now takes into account the commission ("round trip") and accumulated swap. For Buy positions, the break-even level is above the entry price; for Sell positions, it is below the entry price, exactly by the amount of the accumulated costs.

Positions are closed at break-even without hidden losses, and the calculation is correct for any instrument, using points rather than ticks.

Single reference point. Averaging, distance and lot calculation all use the same reference point — the last position in the grid.

Protection against unnecessary trading requests. Take Profit is modified only when the level has actually changed. Previously, modification requests could be sent on every tick; now the load on the terminal and server is minimized.

Position memory. Values are stored in an in-memory cache and persist after a terminal restart. Data is written only when values change, avoiding unnecessary load.

The operating modes — Real Take Profit and Virtual Partial Closure — remain available. The level calculation types are also preserved: All, Two Extreme, First Two and Smart.


Block 4. Locks

Multiple lock management. The Expert Advisor identifies the current lock from its positions. For each lock, it tracks total profit, swap, commission and Buy/Sell volumes.

Lock status detection. The Expert Advisor distinguishes between:

  • Full Lock — equal Buy and Sell volumes with sufficient distance between the prices.
  • Partial Lock.
  • No Lock.

Lock settings remain available: lock size, maximum number of locks from 1 to 50, and the closure mode:

  • Do Not Close
  • Close Oldest Lock
  • Close All Locks

Position comments. The lock number is now added to the position comment in the format mg:, making it easier to distinguish individual locks.


Block 5. Panel — Graphical Interface

The panel has been completely redesigned.

  • Header with the program version.
  • "?" button — information and protection.
  • "X" button — hide the panel.
  • Close Buy — close all Buy positions.
  • Close Sell — close all Sell positions.
  • Close OLD — close the oldest lock.
  • Close ALL — close all locks.
  • Separate rows for each lock.
  • Information about each active lock.

The panel automatically adapts to the screen resolution, taking pixel density and monitor height into account.

Safe removal during unloading. The panel is removed only if it was actually created by the Expert Advisor. Other graphical objects on the chart are not affected. The reason for stopping the Expert Advisor is recorded in the log.


Block 6. Notifications

A unified notification system has been introduced. All channels work through a single module and can be enabled independently:

  • Alert — terminal window.
  • Mail — email.
  • Push — smartphone.
  • Telegram — bot.

Event-based notifications

Notifications are sent only when actual events occur:

  • New position.
  • Position closed.
  • Profit.
  • Commission.
  • Swap.
  • Total result.
  • Volume changed.
  • Stop Loss changed.
  • Take Profit changed.

The first pass is used as a baseline, so there is no notification spam when the Expert Advisor starts.

Event emojis

Buy and Sell operations are marked with visual indicators

Update history — latest 5 versions

Version 26.010 - 23.01.2026

The program has been completely updated

The entire algorithm has been redesigned

Improved stability

Added methods for managing accumulated locks:

  • Type of lock closure Type of lock closure
    • Don't close anything Don't close the locks, after creating a set number of locks, the trader decides what to do with them.
    • Close the oldest lock. Close the oldest lock.
    • Close all locks Close all locks and continue trading.

Version 22.040 - 11.04.2022

The program has been completely redesigned:

  • Changed and improved program code
  • Redesigned visual part of the program

Version 17.090 - 14.09.2017

Added the ability to use the Expert Advisor on different trading instruments.

To hide the update history

Comments

To write a comment, log in Enter
All
Feedback
Offer
Comment
Mistake
M
Maria Elisa
Комментарий 08.06.2022 14:30:33 #linck
https://trading-go.net/advisors/vr-locker/#reviews237

Hello

Please consider adding an equity stop and pause for the EA. This way we can run at Prop Firms

For example, when there is an equity drawdown of $500 close all positions and stop EA.

 

Thanks

1 0 To answer
To write a comment, log in login
Thanks. Your comment has been received. After verification, we will pub
Something went wrong, log in, fill out all the fields and try again!
А
Администратор сайта
15.06.2022 12:17:54 #linck
https://trading-go.net/advisors/vr-locker/#reviews238

Your proposal will be considered

1 0 To answer
To write a comment, log in login
Thanks. Your comment has been received. After verification, we will pub
Something went wrong, log in, fill out all the fields and try again!
L
Les Jensen
Комментарий 08.06.2022 01:27:22 #linck
https://trading-go.net/advisors/vr-locker/#reviews236

Hi Vladimir, I made a request for an equity close function in VR Locker to protect the account from large DD that often can happen. Here is a repeat of the message I wrote in the Telegram group.

"Regarding VR Locker EA - Would it be possible for you to add an equity stop parameter that automatically activates the "Close All and Stop" function at a predetermined level of floating loss?

It is difficult to close all when I use an external EA because VR Locker opens trades quickly at the same time the equity stop EA is closing them, and I can end up with odd open positions that aren't locked.

Sometimes a large grid can open causing large DD, and we need some protection from it overwhelming our account equity. This would also be advantageous for backtesting.

I am trying to find sets that will work for prop firm evaluations, which have strict rules for daily maximum floating loss. It is looking very promising with some very high earning sets already achieved and an equity close function will be very useful to limit potential losses."

1 0 To answer
To write a comment, log in login
Thanks. Your comment has been received. After verification, we will pub
Something went wrong, log in, fill out all the fields and try again!
А
Администратор сайта
15.06.2022 12:18:38 #linck
https://trading-go.net/advisors/vr-locker/#reviews239

Your proposal will be considered

1 0 To answer
To write a comment, log in login
Thanks. Your comment has been received. After verification, we will pub
Something went wrong, log in, fill out all the fields and try again!
Registration

Login

Password recovery Registration
Login

Password recovery Registration
Password request

If you forgot your password, enter your e-mail. The control line for changing the password will be sent to you by e-mail.

A link has been sent to your email address to confirm the E-mail address. To complete the registration, follow this link.

If you have not received an email to your email, check the Spam folder. If there is no letter there either, then contact us.

Registration completed successfully!

You have successfully logged in to the site!

We use both our own cookies and third-party cookies for the purpose of analysis, as well as to display ads based on your preferences, in accordance with your browsing habits and your profile. For more information, please see our Privacy Policy.
Telegram community
Discussions, settings, results,
communication with the author
GO