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