Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Opened positions indicator - expert for MetaTrader 4

Views:
17562
Rating:
(20)
Published:
2009.11.23 13:41
Updated:
2016.11.22 07:32
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

It shows a brief information about all of the positions opened.

It can be useful, if yours expert advisor trades many positions simultaneously.

During the debug of my expert advisor I have found that there is a problem to analyse all of the positions opened. It can be solved in the following way:

1) Positions should be grouped by direction

2) Profit and Loss positions should be separated visually.

3) The total profit/loss values of several positions should be grouped by direction

So, I have developed a function that solves this problem.

Image:



The header contain: direction, number of positions with same direction, total volume, total profit. The same is for the positions.

You can find the function in the file attached, maybe it can be useful.


Editor's remark:

Note that it's a mirror translation of the original Russian version.

If you have any questions to the author, suggestions or comments, it's better to post them there.

If you have found this code useful for trading or educational purposes, don't forget to thank author.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/9283

Stochastic with Noise Reduction Stochastic with Noise Reduction

It reduces a lot of false signals using sensitivity tuning.

SAR Oscillator SAR Oscillator

Just Close - Parabolic SAR

Open and Close positions using the lines Open and Close positions using the lines

It opens and closes positions using the crossing of the movable lines.

Fine Fractal Channel Fine Fractal Channel

A finer resolution channel made of three bar fractals.