Forum

ObjectCreate mq5

seems about once every 10 or so years i have a gee whiz type question..... ObjectCreate is pretty straight forward and can never recall a problem..... till i noticed on currency futures the objectcreate will not create the buttons in the code below..... i have googled and mq5 booked it to death

EnumToString((ENUM_TIMEFRAMES)Period()) problem

this is more of a gee whiz type question, but not knowing the answer tends to annoy me..... does anyone know why "EnumToString((ENUM_TIMEFRAMES)Period())" will not work in stop or limit orders.... it will work in market orders..... yes it's a seemingly minor issue especially when just using