Adding Custom Indicator with drop down menus
-
Does anyone know how can we add custom indicator which has drop down menus like True and false or some which has even more options than just true and false. Example;

-
@dinho You can simply import them as explained in the instructions page. However, I guess you want to do something else. Right? Do you mean maybe modifying those input parameters with constants? If so, please notice that those are 'integer' variables while the are shown as true/false text. This measn they are adopting 0 and 1 values.
-
@l-andorrà hey I don't have the mq4 file of the indicator so I have to manually add all the parameters, but could you please tell me what to do when a single parameter has drop down menu? How can I add that parameter? For example if a parameter has two options which has some custom text not Boolean, so am I supposed to write that parameter name twice, one for first text and second one for second option? or should I just write the parameter once and give the default value? For example look at the pic below. It has several text inputs like 1 month, 2 month, 3 month, etc.

-
@dinho
ab = string
123 = int
On your inputs count down list to get number for example,
int Limit Displayed Data (something like) 3
Make sure the list is in the correct order and spelt the same. -
@jstap Hey, I wrote the parameters, from the drop down menu I counted there were 6 options (counting from 1) so I wrote like this;

Is everything correct for both the Input Parameters? -
@dinho That looks correct, once all inputs are done add buffers, name as you want, put buffers into a comment block and watch on back test. Objects that appear will have a number that go's to 0, other parameters will have the relevant information.
-
@jstap okay and what if I want to use 4 months of data which is fourth in the drop down list. So should I write "4" here;

-
@dinho You can do and will probably work, I set as standard and then select in the block I'm using in my project.
-
@jstap okay but by default it was set as 1 month which should be 1 in the default value, but here while adding the parameters I wrote 6, so would it affect in anyway? or is everything okay? And are you sure the counting starts from 1 or does it start with 0?