see:
#include
neil.wrightson wrote:
> Hi,
>
> As per above, I just bought Amibroker and it looks good so far.
> I want to create a Pivot point price (may already exist in Amibroker but I
> have not found it yet) that I can use in other indicators I develop.
>
> The function is
>
> function PPrice ()
> {
> return (High+Low+Close)/3;
> };
>
> I then save this as PPrice.afl but if I then create another function and
> attempt to use it from within this function I get a syntax error.
>
> i.e.
> Plot( PPrice(), "Fast", ParamColor( "Fast Color", colorBlue ),
> ParamStyle("Fast") );
>
> I know I can put the above function text into the same indicator as the plot
> but this does not make for easily usable code (units).
> I'm also a Pascal (Delphi) programmer :-)
>
> Neil.
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
>