enum constant
-
hi guys. I want to creating drop menu for different kind of exit from trade. for this goal i used enum constant based on attached picture. when i import mql code to mt4 i cant use this EA and cant open expert properties. can you help me for solving this problem?!!
project link: https://fxdreema.com/shared/9JKVUZFqd -
Just from looking at this you have the enum set up wrong:

Top of constants list = enum "name" {list,of,required,names} under in type = "name" "name2" and the value from the list of required names
-
This has been arnswered well in this post already. You should be able to make progress by studying that some more, simple enough when you get the hang of it.
https://fxdreema.com/forum/topic/16167/easy-way-to-make-enum
Looks like your constant is set wrong, your conditions are requesting 0 and 1 as identifiers so change your "exit_mode" from "fixed" to a "0" or "1".
Also no spaces in your "exit_mode_list" make it so it is like this "{fixed,break_even,trailing_stop}
