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

[amibroker] Re: using TimeFrameGetPrice with SetForeign()



PureBytes Links

Trading Reference Links


Hermann,

no problems,
it works for me intraday

stepahne
Plot( C, "", colorBlack ,64);
SetForeign("FI0009000681");
Plot(TimeFrameGetPrice( "c", inDaily, -1 ),"",colorRed,1);





<psytek@xxxx> wrote:
> 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





------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/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/