Alireza Zamani / Publications
Forum
TesterStatistics(STAT_GROSS_PROFIT) return incorrect value during of the testing an EA
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