using ENUM as input New comment Route206 2015.11.19 14:57 Having problems with customer set inputs.i read: https://docs.mql4.com/basis/variables/inputvariables but i cannot get it to work.this is what i want to do: simply create long/short as part of drop down box during input...#property strict //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit() { enum position { Long=1, Short=-1 }; input position direction=1; //--- return(INIT_SUCCEEDED); } Long Only or Short Only User input based on input selection in Drop down window Problem changing input parameter in code stanislass 2015.11.19 15:37 #1 To be paced before "OnInit()", for example extern section. Route206 2015.11.19 15:41 #2 Thanks... of course!have been sitting behind this desk for too long ;-) New comment
Having problems with customer set inputs.
i read: https://docs.mql4.com/basis/variables/inputvariables but i cannot get it to work.
this is what i want to do: simply create long/short as part of drop down box during input...