PureBytes Links
Trading Reference Links
|
--- In amibroker@xxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx> wrote:
> endt1 is the number bars (counted from the beginning of your data)
> assigned to
> the last peak.
> startt1 is the number for the previous peak.
> dtR is the time interval between the peaks.
> dH is the vertical difference between peaks(last-previous)
> So,
> if you want the last peak more than 15 days ago, then
>
> endt1<=Lastvalue(x)-15
>
> if you want the first peak whithin the last 40 trading days, then
>
> startt1>=Lastvalue(x)-40
>
> if you want the interval between peaks less than 25 days, then
>
> dtr<=25
>
> and if you want vertical diff less than 1$, then
>
> abs(dH)<=1
>
> Is it more clear now?
Yes, thank you.
Email
|