Opened positions indicator – expert

Home Forums Expert Advisors Opened positions indicator – expert

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #450
    Charlie Jones
    Participant

    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.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.