Experts: Simple Profit By Periods Panel 2 Extended - page 2

 

For some reason, it incorrectly calculates the profit for the month.

 
Marco Nicholas # :

Почему-то неправильно считает прибыль за месяц.

Turn on the display of transactions in the history tab, something like this:

Don't hide history. Show your settings and all history. Read the help about the difference between a trade and a position.

 

Added: Everything works correctly.

Example:


 

Yes that's right. Counts all transactions(in/out). Ok. 

Thanks. Expert great.

 
Marco Nicholas # :

Yes that's right. Counts all transactions(in/out). Ok. 

Thanks. Expert great.

I want to clarify: the EA counts ALL deals

DEAL_ENTRY_IN

Entry in

DEAL_ENTRY_OUT

Entry out

DEAL_ENTRY_INOUT

reverse

DEAL_ENTRY_OUT_BY

Close a position by an opposite one


to take into account all commissions and fees (often commissions and fees are taken for both entry and exit).

 
Great contribution!! It's surely a good start for any other developer who wants to add this to his project.
Reason: