PureBytes Links
Trading Reference Links
|
Actually the Nth in that function is for the Nth *event* (Expression or
condition) in the past, where:
Nth = 1: last event
Nth = 2: second-last event
Nth = 3: third-last event
etc...
Note that Nth event/condition/expression is not the same as Nth bars/days,
as the event may not have been triggered on every bar.
Examples:
event:=Cross(C,Mov(C,21,S));
HighestSince(1,event,High);
Here the function is looking for the highest High since the *last*
occurrence of the cross of Close over its SMA.
event:=Cross(C,Mov(C,21,S));
HighestSince(2,event,High);
Here the function is looking for the highest High since the *2nd-last*
occurrence of the cross of Close over its SMA.
jose '-)
http://www.metastocktools.com
--- In equismetastock@xxxxxxxxxxxxxxx, "Joe Carter" <joe@xxx> wrote:
>
> the "Nth" is a variable for, in this case, some day in the past.
>
> if you are looking for the highest day of the last 9 then N=9 (9th day
ago)
>
> if you are looking for the highest day of the last 21 then N=21 (21st
day ago)
>
>
> Good trading
>
> Joe
>
>
> ----- Original Message -----
> From: Lucas Aguiar
> To: equismetastock@xxxxxxxxxxxxxxx
> Sent: Tuesday, May 01, 2007 12:23 PM
> Subject: [EquisMetaStock Group] Simple Question
>
> HighestSince(Nth, Expression, Data Array)
>
> Sorry. I know that is na stupid question but What is Nth?
> And what is this Expression should be!?
>
> Thank's
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|