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

[amibroker] using TimeFrameGetPrice with SetForeign()


  • To: "AmiBroker YahooGroups" <amibroker@xxxxxxxxxxxxxxx>
  • Subject: [amibroker] using TimeFrameGetPrice with SetForeign()
  • From: "Herman van den Bergen" <psytek@xxxxxxxx>
  • Date: Wed, 23 Feb 2005 17:27:54 -0500

PureBytes Links

Trading Reference Links

Would anybody know if it is possible to ue TimeFrameGetPrice() to access arrays set by SetForeign()? Like so:

SetForeign
(Ticker);
YesterdaysClose = TimeFrameGetPrice("C",inDaily,-1); // need close for "Ticker"
 
I am looping through a small watchlist and want to read yesterday's closing price (lastvalue) for each ticker but i get EMPTYs
 
TIA,
herman

 

 
 
 
 
 
 


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
click here


Yahoo! Groups Links