Easy way to make ENUM
-
Good day everyone,
I have tried this out in a bit of a different method and I'm either missing something or I'm unsuccessful somehow. Are you able to Spot what I've done incorrect?;


Thanks for any and all help in advanced!
-
@BBMess MA method is always an enumeration by itself, that might cause problems.
https://www.mql5.com/en/docs/constants/indicatorconstants/enum_ma_methodPlease send a shared link of your example
-
Yep, wasn't thinking this through correctly. I changed it to this and used the correct values and it obviously worked. Thank you for the nudge. I needed that!

-
@BBMess dont made you life complicated. for MA just write down what it suggest on the box. dont need to create manual enum

-
@Paihdt That is telling you, if you want to adjust in inputs, you need to create a MA enum in your costants.
-
thanks a lot
-
would u please help me out to make enum for timeframe thanks
-
would u please help me out to make enum for timeframe thanks
-
@faisalfiaz2002
ENUM_TIMEFRAMES <-- data type