How Can I call an Indicator through another Indicator?

Indicators coded by community members
Message
Author
athan00
Posts: 1
Joined: Fri Feb 18, 2011 3:50 am

How Can I call an Indicator through another Indicator?

#1 Postby athan00 » Fri Feb 18, 2011 3:52 am

Hi,

How Can I call an Indicator through another Indicator? For example I need a function like iBands in MT4. But I can't find something similar in FT2. So is it possible to call the bollinger dll in order to do my job?

If so how? Or any other solutions/advices?

Thanks

User avatar
Tantalus
Posts: 302
Joined: Fri Mar 23, 2007 3:51 pm
Contact:

#2 Postby Tantalus » Fri Feb 18, 2011 10:56 am

No, there is no way to apply an indicator to another indicator, and there is no direct way to write an indicator which calls another indicator. The only way is to write an indicator which contains the code for both indicators.

The exception is a moving average. There is a moving average function (GetMA()) built into the API. You can call that function from within the code of another indicator.
Tantalus Research - Developing 21st Century Trading Systems.


Return to “Indicators”

Who is online

Users browsing this forum: Google [Bot] and 46 guests