Download MetaTrader 5

syntax to start a script out of an indi

To add comments, please log in or register
C. Trungs
10
C. Trungs  

Hi !

I have the following problem:

I would like to start a script out of an indi.

If i doubleclick the script in the navigator it funktions perfect.


I want to start the script from the indie by

if ( id == CHARTEVENT_OBJECT_CLICK && ........)  { "script should be executed at this point once" }

but I do not know the correct syntax.


It should not be the FileOpen command, because as far as I know, it cannot start scripts.

Is there anybody who knows how to handle that?


thank you for any support


C. Trungs




whroeder1
15019
whroeder1  
no such function.
To add comments, please log in or register