Dear Zoheb01 & AliStair, Thank you very much for sharing such a useful EA and I appreciate your contributions. I just realized that the commission of the order is not calculated in the TP. I looked at the codes and found the "tradeCost" variable ...