I Am Trying To Create EA For MT5. Need Help!
-
Hey Guys, I Am Trying To Create EA For The First Time In MQ5.
On my time frame command there is a error while compiling
Error is: TF - cannot convert enum
Note: Error is on custom commandWhat's the issue can some please help me?
Thanks -
@muneeb00 In the type it needs to be the correct for the value, I assume you had int which worked in mt4, would think it would work but if you change to, ENUM_TIMEFRAMES and value PERIOD_CURRENT it should work.
-
@jstap
Sir can you please check and tell me where to paste which code? -
@muneeb00 If you go back through the ZZ post you'l find the information to use on MT5.