Modification help...

Back to topics list To post a new topic, please log in or register
avatar
26
qgmql 2015.03.04 12:43
 

I have a Pivot Point Indicator, which has parameters,

input string comment2 = "Typical=0, Weighted=1"; // Just a help string for second input.
input int Model = 0; // Will be 0 or 1 only.

Can this thing be changed into a drop down (or combo??) box? where users have to select from "Typical" or "Weighted" instead of typing 0 or 1. ???

avatar
Moderator
3406
GumRai 2015.03.04 12:58 #
 

Yes.

Use enum 

avatar
26
qgmql 2015.03.05 17:27 #
 
Any example please?
avatar
10
barando 2015.03.05 17:31 #
 
https://docs.mql4.com/basis/variables/inputvariables
Back to topics list  

To add comments, please log in or register