Download MetaTrader 5

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

2016.02.01 09:01

Calc Profit Loss on LinePrice - expert for MetaTrader 4

| English Español Русский Deutsch 日本語 Português

Published by:
Mikhail Maloyarov
votes: 19

Real author:

Based on the code by Igor V. Kim aka KimIV. Improved the code at the request of many traders.

This Expert Advisor calculates the profit or loss in the deposit currency of all the market orders opened on the current chart, at the desired price of the symbol. The calculations are performed using the horizontal line placed by the trader, with the "LP" name specified in the parameters.

Create a line and rename it to "LP". When the line is moved, the profit/loss is recalculated, the profit/loss is shown for the price where the line is placed.

If MagicNumber is specified, then only the orders with this magic will be considered in the calculation. At MagicNumber -1 any orders of the current symbol will be used for the calculation.

Translated from Russian by MetaQuotes Software Corp.
Original code:

ClockAnalog ClockAnalog

24-hour analog GMT(UTC) market clock displaying in background. The clock displays the Greenwich Mean Time and shows the status of all main stock exchanges according to their schedule.

ID Lite Info MA ID Lite Info MA

The indicator displays the values of the Moving Averages (MA), deltas between the values and deltas between МАs.

Ultra Oscillator Ultra Oscillator

Another interpretation of the moving averages indicators.

Rate Of Change (ROC) Rate Of Change (ROC)

The indicator displays the percentage of the price change for the specified period of the specified pairs.