The VR Calculate Martingale indicator is a powerful tool for calculating orders' profit and loss.

The VR Calculate Martingale indicator is a powerful tool for calculating orders' profit and loss.

14 October 2019, 16:59
Vladimir Pastushak
1
1 305

Today, I want to share my experience in network trading, because I believe that almost everyone has the experience of opening multiple positions in their trading account once in their life.

I often find myself in a situation where 20-50 market orders accumulate. What do you do to all these people? Is there a way to calculate the appropriate price so that all or part of the trades can be closed without losing trades at the same time? What is the current margin and what is the cost of a point?

What will you do when you accumulate between 10 and 30 orders following the trend? You never know when the trend will end! How do you find out the level at which profitable orders turn into losses?

I tried to manually calculate the numbers in various third party programs (like Excel), but promised not to open more than 2-3 orders over and over again, but all of this seems to be to no avail.

I also use the order grid often, not only to collect trend profit, but also to complete unprofitable transactions with little profit. For this reason, I had to place a standard batch order based on the trend. However, calculating zero prices has always been a problem.

Over time, I gained more experience and learned how to set indicators and calculate average consulting prices. For a while, I thought about the idea of writing a real order calculator, which is risk-free. With the help of the Mql language, everything can be calculated in advance through virtual orders. This idea was introduced in an indicator called VR Calculate Martingale.

The first edition was written in 2015. Interestingly, it was only after some calculations that I realized the versatility and value of the indicator. It can be assumed that there is nothing special, just the average price. However, it is unique: no one has created such an indicator.

With it, I can calculate literally any trading strategy, like:

  • swing
  • place
  • Continuous trade
  • Grid trading
  • Network trading is developing in different directions.

Let's take a closer look at the user interface to understand how to use the indicators.

Start the VR Calcting Martingale indicator:

After placing the indicator on the chart, the "Open Orders" panel will appear. By grabbing the large mark in the upper left with the mouse, you can easily move it around on the chart. Also, you will see signals that mimic price movements. Move it to see profit and loss for orders. In fact, the logo is an imitation of the price.

The "Open Virtual Order" panel allows traders to open virtual buy and sell orders. It will also display the number of open orders, the number of orders, your margin, the order type profit and the total profit. The dashboard will only calculate data for open orders and statements, and will not consider data for deleted orders.

How to open a virtual order

VR Calculyate Martingale

After pressing the "Buy" button, the first virtual order will be displayed on the chart. It will contain the following information:

  • 1 is the order number.
  • V is a menu used to open and enter data on take profit and stop loss.
  • ~ This is the menu used to specify a unique symbol for the order grid.
  • The "Buy / Sell" button can help traders change the buy order in the blink of an eye.
  • The open status is the current status indicator, which indicates that the order has been opened. Clicking on it will open other menus that allow you to choose the method of closing the order.
  • 0.01 is the order quantity. It can be modified by setting another value directly in the order. It is worth mentioning that you can enter the volume using semicolons at the same time; the indicator will always perform the correct calculation.
  • 1.09917 is the current order price. It can be modified directly in the order, similar to the volume of transactions. The order will be moved to the new number immediately. If you use the mouse to move the order, the price will change accordingly.
  • $ 6.36 is your current profit or loss. The color will change to green or red depending on the order status, which indicates the profit and loss status.
  • ◾ is a mark used to move orders. Double clicking will fix the order in the current position. Do it again to see the brand again.

Menu "Stop Loss and Profit"

VR Calculate Martingale

This indicator allows you to set stop loss and take profit levels. To do this, you need to click on the menu button V and then select the "Profit" button to see the value. The profit level can be set with the mouse or manually. You can also set points. The order indicator will immediately show potential gains and losses.

Average symbol menu

VR Calculate Martingale

This menu allows you to select the group of orders to be averaged. A person can create up to eight grids and apply a unique symbol to each grid.

For example, a person can combine three buy and two sell orders on a grid. The indicator will perform calculations and display the closing price of all prices without causing profit or loss. If you close all these positions at the current price, you will also see the amount of profit.

Menu "Close order"

VR Calculate Martingale

Menu "Average symbol"

"Close order menu" can help traders close or completely remove orders from the chart.

The Open button will leave the order as is.

The CL button will close the order as if the order had been closed at the current price that mimicked the price change flag.

The SL button will close the order as if the order was closed by a stop loss. Note that in this case the order must have a stop loss.

The TP button will close the order as if it had been closed by Take Profit. Please note that the order should be profitable in this case.

The delete button will remove the order from the chart; it will not be considered in future calculations.

Closed orders will not disappear. All of these will be moved to the upper left corner so you can easily open them and use them in your diagram.

In the image, you can see two orders to close the position by stop loss with a loss of -5.22. The other is to take profit to close the position with a profit of 5.41.

Let's build the order grid

VR Calculate Martingale

VR Calculate Martingale

In the first image, you can see the stages of creating the order grid. The Mar system has increased a lot. There is one line of each order at the average price. Note that for each order, the average red C symbol is selected; therefore the price will also be shown in red. This will help distinguish groups of orders with different symbols. Also note that there is a loss figure in the median price. It is calculated on the basis of the price imitation mark. If we close all orders from this mark at the current price, we will insure a loss of -60.10 USD. People can move orders on the grid or change the number of batches in the order right away.

Different networks have different average prices

VR Calculate Martingale

In the picture you can see two grids averaged by two orders, each grid has its own average symbol-C and B. Each group of orders has its own profit, if we close the position at the current price, we will get that profit.

VR Calculate Martingale

In the image, you can see examples of how to process different types of orders. The indicator has calculated the average price and the profit obtained at the close of the current price.

The VR Calculate Martingale indicator is indeed my current professional tool for day trading. When I discover something new, I can always calculate the result. I can calculate all available trading strategies almost immediately; helps me understand if it makes sense.

Thanks for your attention and good luck!

Video in English showing how the indicator works.

Link to other materials:

MetaTrader 4 version MetaTrader 5 version

Blog link

Share it with friends: