@roar I thought the same. But the profit shown in the graph always has a late candle. This only happens in Metatrader 5. I have tried the order loop and it keeps giving the same error. Thanks for trying to help.
Well, there are MQL4 functions for that, but not in MQL5, and because of that I didn't added them in fxDreema. I think in the past we wrote with someone about this problem. I don't exactly remember how it was done, but I know it's possible... you only need to write some MQL4 functions in some "Custom MQL4 code" blocks.