PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>hhvbars comes to mind.....
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: ssingh_01803
[mailto:ssingh_01803@xxxxxxxxx]Sent: Sunday, March 21, 2004 8:35
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re:
Period beteween two given dates in AFLHi
John, Thanks! I would like to calculate HHV from a
given date to the current date and hence I need to know the "period"
parameter to be supplied to HHV function. Specifically, I need to know HHV
for a fund since I purchased. I would not like to go a range-mark on
Charet each day to get this period.Is there any way to set the initial
and current date in the code instead of range-markin in the UI
?Thanks,Singh--- In amibroker@xxxxxxxxxxxxxxx, "john gibb"
<jgibb1@xxxx> wrote:> Hi Singh,> > One way:
range-mark the two dates of interest and put this code in the>
Analysis | Commentary Formula Window; then click on the Commentary
tab> there.> > Period =
EndValue( BarIndex() ) - BeginValue( BarIndex()
);> "the number of bars between range markers is:
"+> WriteVal(LastValue(period),1.0);> > -john> -----
Original Message ----- > From: "ssingh_01803"
<ssingh_01803@xxxx>> To: <amibroker@xxxxxxxxxxxxxxx>>
Sent: Sunday, March 21, 2004 11:08 AM> Subject: [amibroker] Period
beteween two given dates in AFL> > >
Hi,> How can I get the number of bars or period between
two given> dates in AFL ?> > Thanks,> Singh>
> > > > > 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 LinksSend 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
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.
|