Forum

Market Replay

If I have a .csv file with information about every tick during a trading day, there's any way I can generate a replay of that day by importing this data to MT5? Thanks

check last profit - MQL5

I'm trying to use the following function to "see" if the last trade resulted in porfit or loss. The problem is: the function is returning "true" whether the profit is positive or not, that is, always returns true. I don't know if i'm using the wrong "get" functions or misunderstood how they work