PureBytes Links
Trading Reference Links
|
Hello, herman, hope it can help you
function HHVal (array,Val)
{
result=maxval=thisval=H[0];
for( i = Val; i < BarCount; i++ )
{
Maxval=H[i];
Maxval=array[i];
for(j=1;j<Val && j<=i;j++)
{
thisval=array[i-j];
if(thisval>Maxval)
Maxval=thisval;
result[i]=maxval;
}
}
return result;
}
Plot(HHVal(H,10),"",colorWhite,1);
Plot(C,"",1,64);
Plot(HHV(H,10),"",colorBlue,1);Herman van den Bergen a écrit :
> Hello,
>
> would anybody have a low level afl looping implementation for the HHV()
> and/or LLV() functions?
>
> Many thanks for any code you may have!!
>
> herman
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
> *Yahoo! Groups Sponsor*
> <http://us.ard.yahoo.com/SIG=1298t676k/M=296572.5585671.6651487.3001176/D=groups/S=1705632198:HM/EXP=1100998980/A=2343726/R=0/SIG=12if4vnqi/*http://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/&time=1100912580883226>
>
>
> Get unlimited calls to
>
> U.S./Canada
>
> <http://us.ard.yahoo.com/SIG=1298t676k/M=296572.5585671.6651487.3001176/D=groups/S=1705632198:HM/EXP=1100998980/A=2343726/R=1/SIG=12if4vnqi/*http://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/&time=1100912580883226>
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>
> * To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
>
>
> __________ Information NOD32 1.876 (20040924) __________
>
> Ce message a ete verifie par NOD32 Antivirus System.
> http://www.nod32.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|