Forum

SYMBOL_SPREAD different between MT4 and MT5 ?

Hi, Does anyone know the logic behind the SYMBOL_SPREAD in MT4 and MT5? When checking its return value in MT4 and MT5 its different results on exact same symbol in the same period. In MT4 it seems like its a fixed value but in MT5 it seems to be the the "real" spread which is changing accordingly

Help with MQL code - not open a new trade until spesific number of seconds from last trade is reached

Hi, anyone can help with this? I wish to select datetime from the last closed order from history with my magic number and compare its closetime with currenttime and not allow ea to open a new trade until the seconds between them reaches for example 3600 seconds. appreciate any help! thanks