[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Valid code for SAR?



PureBytes Links

Trading Reference Links

HI : Keith B few days ago Tomasz answer

--- In amibroker@xxxx, "Tomasz Janeczko" <amibroker@xxxx> wrote:
> Hello,
>
> Please note that the notation = 0.02 means default values
> of parameters (used if no arguments are supplied) so
>
> SAR() is equivalent to SAR( 0.02, 0.2 )
>
> If you want to pass the parameters use the following
>
> accel = 0.02;
> maxaccel = 0.2;
>
> buy = cross( close, sar( accel, maxaccel ) );
>
>
> Best regards,
> Tomasz Janeczko
> ===============

----- Original Message -----
From: <kbennett@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, November 13, 2001 2:43 AM
Subject: [amibroker] Valid code for SAR?


>
> Please could someone confirm that this sample of code is valid:
>
> Buy=Exrem(C>SAR(),C<SAR());
> Sell=Exrem(C<SAR(),C>SAR());
>
> How do I change acceleration and maximum accelaration in code?
>
> Keith B
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>