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

Re: [amibroker] AB vers 5.29



PureBytes Links

Trading Reference Links



Sorry, I miss-quoted my own code...
 
What I have is
 
Issue = "!COMP";      // or "!NYA"  or  "!DJ30"       (Using "!SPX" works OK)
 
Not this
Issue = Foreign("!COMP");      // or "!NYA"  or  "!DJ30"       (Using "!SPX" works OK)
 
 
SetForeign(Issue);
PlotOHLC(....)
----- Original Message -----
 
Sent: Saturday, October 03, 2009 3:24 PM
Subject: Re: [amibroker] AB vers 5.29

Hello,
 
Is that:
 
Issue = Foreign("!COMP");      // or "!NYA"  or  "!DJ30"       (Using "!SPX" works OK)
SetForeign(Issue);
PlotOHLC(....)
 
actual code that you are using ???
 
If so, it is incorrect (syntax error).
 
SetForeign takes SYMBOL, not array of prices !
 
Correct code is included in AmiBroker, called "Price (foreign).afl")
 
Ticker = ParamStr("Symbol", Name() );
PlotForeign( Ticker, Ticker, ParamColor("Color", colorCycle ), ParamStyle("Style") | GetPriceStyle() );
 
 
And it DOES plot candles JUST FINE.
 
 

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
To: AB-Main
Sent: Saturday, October 03, 2009 11:16 PM
Subject: [amibroker] AB vers 5.29

I switched from vers 5.26 to 5.29 had some unique issues not previously mentioned on board
 
Two issues:
 
1. using  QP data:
Issue = Foreign("!COMP");      // or "!NYA"  or  "!DJ30"       (Using "!SPX" works OK)
SetForeign(Issue);
PlotOHLC(....)
 
The plot had the correct values but only closing prices (no candles)
 
 
2. Inwatchlist(num)  seemed like could not find the issues from CommonStocks list
 
Re-installing backups to vers 5.26 brough back normal operation
 
Ara


__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___