Download MetaTrader 5

how to make combo box in custom indicator

To add comments, please log in or register
maniac1984
85
maniac1984  

Hello all.

can any body help me how to make a combo box in my custom indicator for choose parameters?

like moving average in this pic:


thanks



maniac1984
85
maniac1984  
is anybody there help me, please?
Simon Gniadkowski
Moderator
18003
Simon Gniadkowski  
I'd help if I could, but I can't . . . . I'm not even sure if what you are asking for has been done before. It would need some very knowledgeable work by someone who knows the intricacies of windows combo boxes to hack into it . . . I think. It's certainly beyond the scope of mql4 and this Forum.
whroeder1
14779
whroeder1  
What you show is the build in parameter box. Right click on the indicator line and select parameters.
maniac1984
85
maniac1984  
RaptorUK:
I'd help if I could, but I can't . . . . I'm not even sure if what you are asking for has been done before. It would need some very knowledgeable work by someone who knows the intricacies of windows combo boxes to hack into it . . . I think. It's certainly beyond the scope of mql4 and this Forum.

at first i excuse for my english...

thanks for answer dear RaptorUK

i think it can be possible in mql4.

maybe by using dll or ...

if it can't so how standard indicators in metatrader have it?

i want to my custom indicator has a combo box like picture,

i dont want write manual parameters i want select them from drop down menu...

maniac1984
85
maniac1984  
WHRoeder:
What you show is the build in parameter box. Right click on the indicator line and select parameters.

Dear WHReader!

thanks for answer.

i want smth like that for my custom indicator...

is that possible in your mind?

Simon Gniadkowski
Moderator
18003
Simon Gniadkowski  
maniac1984:

if it can't so how standard indicators in metatrader have it?

Metaquotes have access to the MT4 source code, they can code what they want for their own Indicators, Scripts and even drawing tools . . .
whroeder1
14779
whroeder1  
maniac1984:

Dear WHReader!

thanks for answer.

i want smth like that for my custom indicator...

is that possible in your mind?

All the indicators have that. Does your's have any external variables?
maniac1984
85
maniac1984  
RaptorUK:
Metaquotes have access to the MT4 source code, they can code what they want for their own Indicators, Scripts and even drawing tools . . .

ok i see.

thanks for reply but i've seen some pictures about it...

maniac1984
85
maniac1984  
WHRoeder:
All the indicators have that. Does your's have any external variables?

yes it does.

if i want to change parameteres i must write them manual.

this is my problrm.

for example i have to write (1) for ema mode in moving average or (0) for sma.

i want to select this options from a combo box :(

i'm not sure that i can say what i mean...

excuse me for my english my friend

Simon Gniadkowski
Moderator
18003
Simon Gniadkowski  
maniac1984:

ok i see.

thanks for reply but i've seen some pictures about it...

Please provide a link . . . or a copy of the picture.
12
To add comments, please log in or register