Hello. Is it possible to use another indicator (or several indicators) in a custom indicator? I can't find something like that in the indicators API docs, but it seems strange that you should have to reimplement for example SMA if it's needed in an indicator.
Would like to see a code example.
I'm using FT2.
Indicator inside indicator
-
- Posts: 1479
- Joined: Mon Apr 01, 2013 3:55 am
Re: Indicator inside indicator
Hello,
Sorry, but the indicator doens't have an access to other indicator's data.
The only way is to create it as an EA.
Sorry, but the indicator doens't have an access to other indicator's data.
The only way is to create it as an EA.
-
- Posts: 8
- Joined: Sun Feb 09, 2014 2:23 am
Re: Indicator inside indicator
OK.
But now I saw that there is a function GetMA() in TechnicalFunctions.h that can generate various kinds of MAs, which solves my problem.
Why isn't it documented?
But now I saw that there is a function GetMA() in TechnicalFunctions.h that can generate various kinds of MAs, which solves my problem.
Why isn't it documented?
Who is online
Users browsing this forum: No registered users and 14 guests