
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hey guys
i write this code to stop continue of testing an EA in optimization procedure.
when i debug it line by line i understand that "dd" is correctly calculated,
but both of "pt" and "ls" is 0.0 although i have some positions which close with profit or loss.
how can i calculate "GROSS_PROFIT" or "GROSS_LOSS" during of the testing procedure of an EA ???
thnx
best regards