Download MetaTrader 5

external input with a dorp down list

To add comments, please log in or register
tanwt
77
tanwt  

hi all

is it possible have user input by having a drop down list to choose?

i have googled around, can't seem to find a solution

 thanks 

tanwt
77
tanwt  

Thanks Stuart

when i use #property strict some of the variables (eg Li_44) has error when compile but doesn't have issue without the strict

 any idea why? 

Stuart Browne
6095
Stuart Browne  
tanwt:

Thanks Stuart

when i use #property strict some of the variables (eg Li_44) has error when compile but doesn't have issue without the strict

 any idea why? 

For a start, any variables in your code that look like "Li_44" means you're working with decompiled (stolen) code. As such, I'll remove the help I provided above and not answer any further questions.
Alain Verleyen
Moderator
32410
Alain Verleyen  
tanwt:

Thanks Stuart

when i use #property strict some of the variables (eg Li_44) has error when compile but doesn't have issue without the strict

 any idea why? 

An other one which is using decompiled code innocently ?

What is the meaning of variable Li_44 ?

Stuart Browne
6095
Stuart Browne  
Alain Verleyen:

An other one which is using decompiled code innocently ?

What is the meaning of variable Li_44 ?

Yes, seems to be a common theme recently. See my answer above
tanwt
77
tanwt  
Stuart Browne:
For a start, any variables in your code that look like "Li_44" means you're working with decompiled (stolen) code. As such, I'll remove the help I provided above and not answer any further questions.

actually this code was shared to me by my friend. I didn't know where he got it, he just said someone gave it to him. I originally just need a template EA for me to get started because it is difficult to start from a blank sheet especially my experience is limited

if i know the code was stolen, isn't it stupid of me to expose myself by declaring i use stolen codes?

anyway, i want to thank you for your help so far

really appreciate it 

Khurram Mustafa
35330
Khurram Mustafa  
Stuart Browne:

Yes, totally possible. You first need to define

 

Then setup an enumerator for your options such as 

 

Whatever you put in the comments will be the options that are shown in the input drop down. If you don't put in comments, whatever are the variable options will show in the drop down.

Then you just need to setup the input like:

 

 Hope that helps

Thanks for update.. :)
Alain Verleyen
Moderator
32410
Alain Verleyen  
Stuart Browne:
Yes, seems to be a common theme recently. See my answer above
I didn't see it, was not there when I posted :-)
Alain Verleyen
Moderator
32410
Alain Verleyen  
tanwt:

actually this code was shared to me by my friend. I didn't know where he got it, he just said someone gave it to him. I originally just need a template EA for me to get started because it is difficult to start from a blank sheet especially my experience is limited

if i know the code was stolen, isn't it stupid of me to expose myself by declaring i use stolen codes?

anyway, i want to thank you for your help so far

really appreciate it 

Sorry but ignorance is not an argument.

If you are using false paper currency without knowing it, you are still in illegality

tanwt
77
tanwt  
Alain Verleyen:

Sorry but ignorance is not an argument.

If you are using false paper currency without knowing it, you are still in illegality

yes you are right in your argument

but at least you need to first know how to differentiate between fake and real paper currency isn't it? 

Alain Verleyen
Moderator
32410
Alain Verleyen  
tanwt:

yes you are right in your argument

but at least you need to first know how to differentiate between fake and real paper currency isn't it? 

It's always better to be well informed.

Decompiled code is using senseless (for a human) variable names, that's the main point to recognize such code.

12
To add comments, please log in or register