MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading and Strategy Testing Forum

Bezier Indicator
Bezier
Author: GODZILLA
Subscribe to signal
Sunny21034
20.59%, 18 005.12 USD
Averaging Price Series for Intermediate Calculations Without Using Additional Buffers Averaging Price Series for Intermediate Calculations Without... SwingSwing Try product
Swing
Author: johnnypasado
Screenshot
EURUSDmicro, D1
Real
To add comments, please log in or register
Pawel W.
566
Enigma71fx 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?)

Statistical Carry Trade Strategy
An algorithm of statistical protection of open positive swap positions from unwanted price movements. This article features a variant of the carry trade protection strategy that allows to compensate for potential risk of the price movement in the direction opposite to that of the open position.
Rosh
Admin
4534
Rosh 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
961
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 W.
566
Enigma71fx 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
961
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 :)

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

/
To add comments, please log in or register