Download MetaTrader 5

Call function from an existing indicator.

To add comments, please log in or register
Share your knowledge. Become a well-known developer!
pastecopy
130
pastecopy 2014.07.28 18:02 

When calling a return value from an existing indicator by other indicator, does the indicator has to be in .mq4? How about if the indicator to be called is a .ex4?

 For example,

 1st indicator (A) function is to collect 2 conditions from two independent (B & C) indicators before executing a trade. Thus, the indicators (B & C) to be called have to be in .mq4 or .ex4 or either one will do?

 

Thank you, 

Umar Ismail
10426
Umar Ismail 2014.07.28 18:58  
pastecopy:

When calling a return value from an existing indicator by other indicator, does the indicator has to be in .mq4? How about if the indicator to be called is a .ex4?

 For example,

 1st indicator (A) function is to collect 2 conditions from two independent (B & C) indicators before executing a trade. Thus, the indicators (B & C) to be called have to be in .mq4 or .ex4 or either one will do?

 

Thank you, 

when the indicator (B and C) gives the output value, it can be used without mq4. 
but if the indicator does not show the value, just the words on the chart, then the need mq4 to determine the cause of the words that appear
Alain Verleyen
Moderator
30707
Alain Verleyen 2014.07.28 19:44  
ismail77:
when the indicator (B and C) gives the output value, it can be used without mq4. 
but if the indicator does not show the value, just the words on the chart, then the need mq4 to determine the cause of the words that appear
"Words on the chart" ?
Alain Verleyen
Moderator
30707
Alain Verleyen 2014.07.28 19:44  
pastecopy:

When calling a return value from an existing indicator by other indicator, does the indicator has to be in .mq4? How about if the indicator to be called is a .ex4?

 For example,

 1st indicator (A) function is to collect 2 conditions from two independent (B & C) indicators before executing a trade. Thus, the indicators (B & C) to be called have to be in .mq4 or .ex4 or either one will do?

 

Thank you, 

.ex4 is enough, in all cases.
pastecopy
130
pastecopy 2014.07.28 20:55  

Thank you for your reply, angevoyageur and ismail77.

 The reason was due to in the near future I might need to write a program that call function from other indicators, some of them are in .ex4. 

 Thank you again. 

To add comments, please log in or register