[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: offtopic: Searching for yahoo ticker for gold



PureBytes Links

Trading Reference Links

Folks,

Can anyone suggest a solution to this problem?

I'm trying to write this to either the Guru Commentary or the 
Interpretation windows, but it will only print a date when the 5 
year high is hit on the current day. I'd like to find out how when 
in the past a 5 year high was hit if today isn't that high.

"5 Year High: "+WriteVal(HHV(H,p5),8.2)+" Occured on "+WriteIf(H==HHV
(H,p5),Date(),"NA");

Like Isaid I get "NA" most of the time if the current day isn't the 
day of the 5y High.

Thanks,

-ace



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/