PureBytes Links
Trading Reference Links
|
Hi there,
I struggled with this one also, but with help from this Group and Amibroker
Support, I got it sorted.
// FIND HIGH VALUE, DATE AND BARS SINCE HHV IN LAST N PERIODS
HHV_Bars = HHVBars(H,20);
HHV_High = HHV(H,20);
HHBars = HighestSinceBars(BarIndex()==BarCount-1-20,H);
HHV20_date = ValueWhen(HHBars==0,DateTime(),1)+1;
Filter = 1;
AddColumn(HHV_Bars,"HHV_Bars",1.0,colorGreen,50);
AddColumn(HHV_High,"HHV_High",1.4,colorBlue,50);
AddColumn(HHV20_date,"HHV_date",formatDateTime,32,50);
You can scrub the last two arguments in the "AddColumn.." lines above if you
don't want your Exploration in Technicolor!
Regards,
Gordon Sutherland
-----Original Message-----
From: Eugene [mailto:eugenecpinto@xxxxxxxxxxx]
Sent: Sunday, 12 September 2004 1:53 a.m.
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Date time function
How can I get a date to print in my exploration
eg. I want the date when h==hhv(h,20)
How can I identify the date and then get it to be in the exploration
column
TIA
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
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=129l3bgtm/M=295196.4901138.6071305.3001176/D=gr
oups/S=1705632198:HM/EXP=1094997201/A=2128215/R=0/SIG=10se96mf6/*http:/compa
nion.yahoo.com> click here
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
:HM/A=2128215/rand=345064151>
_____
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
<http://docs.yahoo.com/info/terms/> Service.
[Non-text portions of this message have been removed]
------------------------ 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/
|