Enum Problems*
-
Hi All* - I have searched the forum but cannot find this particular issue:
How do I code an enum to display '15min, 30min, 1hr, etc...' in the drop down menu...?
Also it won't compile the 'Off' option because 'Off' has already been used in a previous enum... *



Just can NOT figure it out...

-
Add a shared link to look at, you can add a mixture of these words so I don't know why it's not working, I might see why in the shared link. You cannot use the same word in more than 1 enum in the same project, you either need to use the same enum for different constants, or slightly change the word. ENUM_TIMEFRAMES is a pre-determined enum so only works with the set MT list.
This https://fxdreema.com/shared/uDxrfFQ5e is something I did recently working on a very similar process
-
Thanks J* - I have PM'd you....*