PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Fborriel,
<FONT face=Arial color=#0000ff
size=2>
I am
not sure exactly what you are after but this should get you
started....
<FONT face=Arial color=#0000ff
size=2>
<FONT
color=#282828>
x=<FONT
face=Arial>HHV(C,20<FONT
color=#0000ff>);
y=<FONT
face=Arial>BarsSince(C==LastValue<FONT
color=#282828>(x));
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial
color=#0000ff size=2>you could plot this to check it
out......
<FONT face=Arial
color=#0000ff size=2>
<FONT color=#282828
size=2>
x=<FONT
color=#0000ff>HHV(<FONT
size=2>C<FONT
size=2>,20<FONT color=#282828
size=2>);<FONT color=#282828
size=2>
y=<FONT
color=#0000ff>BarsSince(<FONT
size=2>C<FONT
size=2>==LastValue<FONT color=#282828
size=2>(x));<FONT
color=#282828 size=2>
Plot(<FONT
face=Arial size=2>C<FONT face=Arial
color=#282828 size=2>,<FONT face=Arial color=#ff00ff
size=2>"",<FONT face=Arial
color=#ff00ff size=2>4,<FONT
face=Arial color=#ff00ff size=2>64<FONT face=Arial color=#282828
size=2>);
Plot(<FONT
face=Arial size=2>C<FONT face=Arial
color=#282828 size=2>==<FONT face=Arial color=#0000ff
size=2>LastValue(x),<FONT
face=Arial color=#ff00ff size=2>"High "<FONT face=Arial color=#282828
size=2>,4<FONT face=Arial
color=#282828 size=2>,2<FONT
face=Arial color=#282828 size=2>|<FONT
color=#000000>styleOwnScale<FONT face=Arial color=#282828
size=2>);
//Title="hhv "+x+" bars since high
"+y;<FONT face=Arial
color=#0000ff size=2>
Plot(x,<FONT face=Arial
color=#ff00ff size=2>""<FONT face=Arial color=#282828
size=2>,5<FONT face=Arial
color=#282828 size=2>,1<FONT
face=Arial color=#282828 size=2>);<FONT color=#282828
size=2>
Title<FONT face=Arial
size=2>="hhv"<FONT face=Arial
size=2>+x+" Price "<FONT face=Arial
size=2>+C+
" Barssince high "<FONT face=Arial
color=#282828 size=2> +y;
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: fborriel
[mailto:f.borriello@xxxxxx]Sent: Thursday, March 04, 2004 10:31
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re:
What is the number of a specific array's cell ?Thanks,
for sure you must be right but..1)I'm not very "easy" with Barssince
and..2) Eventually I think I MUST get the bar number because I intend to
program a loop between two bars Is there a way
?TIA--- In amibroker@xxxxxxxxxxxxxxx, "Jayson"
<jcasavant@xxxx> wrote:> sounds like barssince()> >
Regards,> Jayson> -----Original Message-----> From:
fborriel [mailto:f.borriello@xxxx]> Sent: Wednesday, March 03, 2004 11:52
AM> To: amibroker@xxxxxxxxxxxxxxx> Subject: [amibroker] What is
the number of a specific array's cell ?> > > I'm sure
it must be quite easy but I didn't get the answer going> through the Help
book.> In fact my real problem is : I look for the HHV for instance and
I> want to Know tne number of bar elapsed till NOW and this sort
of> things. TIA> > > > Send BUG REPORTS to
bugs@xxxx> Send SUGGESTIONS to suggest@xxxx>
-----------------------------------------> Post AmiQuote-related messages
ONLY to: amiquote@xxxxxxxxxxxxxxx> (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
--------------------------------------------> Check group FAQ at:>
<A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html>
> > >
---------------------------------------------------------------------------->
----> Yahoo! Groups Links> > a.. To visit your
group on the web, go to:> <A
href="">http://groups.yahoo.com/group/amibroker/>
> b.. To unsubscribe from this group, send an email
to:> amibroker-unsubscribe@xxxxxxxxxxxxxxx>
> c.. Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service.Send BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
Click Here
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 the Yahoo! Terms of Service.
|