Download MetaTrader 5

indicator parameter modification from MQL5 code

To add comments, please log in or register
Why to sell products in MetaTrader AppStore? Find that out from the article!
Pawel Wojnarowski
685
Pawel Wojnarowski 2012.06.14 18:25 

Hi,

This actually might be a silly question, but anyway - how to modify parameters of an existing indicator straight from MQL5 code? In the MQL5 reference, I only see IndicatorCreate and IndicatorRelease functions

I started wondering because obviously a user can change  the indicator parameters manually in the terminal (but is it really modification of the parameters? Or is it releasing and creating the same indicator with different parameters?)

Rashid Umarov
Admin
11826
Rashid Umarov 2012.06.15 11:08  
Enigma71fx:

I started wondering because obviously a user can change  the indicator parameters manually in the terminal (but is it really modification of the parameters? Or is it releasing and creating the same indicator with different parameters?)

You answered yourself. See also IndicatorParameters()
onewithzachy
2271
onewithzachy 2012.06.15 11:20  
Rosh:
You answered yourself. See also IndicatorParameters()

Dear Rosh.

Fortunately, my Google Chrome immediately translate that to English from Russian.

:D 

Pawel Wojnarowski
685
Pawel Wojnarowski 2012.06.15 11:30  
Rosh:
You answered yourself. See also IndicatorParameters()

Hmm, that's strange - it seems that my terminal didn't update the MQL5 Reference, because I can only see IndicatorCreate and IndicatorRelease in the index. Unless it hasn't been described in the reference file yet (as it has been introduced with the last released terminal build). 

Nevertheless, thanks Rosh -  you're helpful as always :)

 

EDIT:

It has now notified me that there is a new file version, but I had to close the opened MQL5 reference file and try to reopen it first. Rosh - could MT5 terminal force closing the help files as well during terminal update?

onewithzachy
2271
onewithzachy 2012.06.15 11:40  
Enigma71fx:

Hmm, that's strange - it seems that my terminal didn't update the MQ5 Reference, because I can only see IndicatorCreate and IndicatorRelease in the index. Unless it hasn't been described in the reference file yet (as it has been introduced with the last released terminal build). 

Nevertheless, thanks Rosh -  you're helpful as always :)

You're not alone, lately :)

https://www.mql5.com/en/forum/6417#comment_210095 

To add comments, please log in or register