PureBytes Links
Trading Reference Links
|
John,
A general method is to replace price arrays:
close = yourarray;
graph0 = FunctionThatUsesCloseIndirectly();
the problem is that ADX uses High, Low and Close arrays
(internally ADX uses "true range" indicator that requires HLC arrays)
so you would need to do this:
High = yourarray;
Low = yourarray;
Close = yourarray;
graph0 = ADX();
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "John Nelson" <trader@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, July 22, 2002 7:54 AM
Subject: [amibroker] How to apply functions to other than tickers?
>
> Is it possible to apply functions (which do not take arrays for
> parameters) to my own arrays of data? For example I would like to
> calculate the ADX of the OBV indicator... but ADX only looks at the
> current ticker symbol, not an input array.
>
> So is there a way to do this, or do I have to duplicate the code for ADX
> in some way?
>
> The intent is to discover when OBV turns over but without the delay of
> MA and without the ambiguity of Zig.
>
> -- John
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
|