
04-13-2006, 11:53 PM
|
 |
Senior Member
|
|
Join Date: Mar 2006
Posts: 119
|
|
|
iCustom function!
Quote:
|
Originally Posted by Chewbaca
I have been using the indicators that come with Metatrader 4.
I have been able to call them simply by for example using the following statement for Stochastic.
Stoch=iStochastic(NULL,0,30,5,12,MODE_SMA,0,MODE_M AIN,0);
However, I acquired an indicator(ADXdon) that does not come with MT4 and want to add it to my expert. I cannot call it the same way I call the Stochastic indicator.
This indicator in essence tells me when not to trade because the market is flat. When it is below 20 I don't trade. It works well manually.
How can I call this indicator from the expert if it doesn't come with Metatrader?
|
Salam Chewbaca,
In this case you have to use the iCustom function.
For more information about it please review this:
http://www.forex-tsd.com/questions/3...m-function.htm
__________________
There is a fine line between freedom of expression and hate literature.
|