Ok, then assuming that a and y are both scalers, just do something 
along the lines of zig(Close, x); Or, is your problem that x is 
ending up being an array?

Mike

--- In [email protected], Doji Star <[EMAIL PROTECTED]> 
wrote:
>
> Actually, x is my percentage of zig.
> 
> 
> ----- Original Message ----
> From: Mike <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Sunday, June 1, 2008 12:41:36 PM
> Subject: [amibroker] Re: Zig %
> 
> 
> What exactly doesn't work about it? Is your problem simply the fact 
> that you're missing an argument to the zig() function (e.g. zig(x, 
5) 
> for 5% zig zag swings of x)?
> 
> Mike
> 
> --- In [EMAIL PROTECTED] ps.com, Doji Star <dojistarbullish@ ...> 
> wrote:
> >
> > Hi guys,
> > I have x = a - 2y.
> > I want to zig(x). it does not work. One solution is to manually 
put 
> the value of x in the formula. Is there any other solution?
> > Thank you,
> > Doji
> > 
> > 
> > ----- Original Message ----
> > From: Klaus <kmunnecke@ ..>
> > To: [EMAIL PROTECTED] ps.com
> > Sent: Sunday, June 1, 2008 11:36:49 AM
> > Subject: Re: [amibroker] my trades
> > 
> > 
> > does not understand my question? 
> > Thank you 
> > Klaus
> >
>


Reply via email to