PureBytes Links
Trading Reference Links
|
try adding the last line to get the array alligned to your base timeframe
SetForeign("SPH5");
bull=TimeFrameGetPrice( "O", inDaily, 0)<TimeFrameGetPrice( "C",
inDaily, 0);
RestorePriceArrays();
allbull = TimeFrameExpand(bull,inDaily);
On Fri, 04 Mar 2005 20:54:48 -0000, dkourganov <kourganov@xxxxxxxxxx> wrote:
>
>
> Hello,
> can anyone explain please why this code doesn't work?
>
> SetForeign("SPH5");
> bull=TimeFrameGetPrice( "O", inDaily, 0)<TimeFrameGetPrice( "C",
> inDaily, 0);
> RestorePriceArrays();
>
> (I tried to find out if today's day is up or down)
> seems variable bull doesn't look at "SPH5" prices at all! Maybe
> setforeign and timeframegetprice functions are incompatible?
>
> thanks in advance, Dmitri
>
>
> 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
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/
|