PureBytes Links
Trading Reference Links
|
Hi N,
I had the same problem. you can see my post on it.
At indicator level it works (plot the buy for example) but not in
backtesting.
What active symbol are you using?I think if you have to disable price
bound checking or it will compare the price to the current symbol,
which is what I do, but I still get the wrong entry price or signal
generation even if I Use buyprice=foreign("..") and buy=
Logic(foreign" ..")) etc
Let me know .. I need to solve the same problem
Ly
--- In amibroker@xxxxxxxxxxxxxxx, jim fenster <normanjade@xxx> wrote:
>
> I am trying to make trading decisions based on a
> second symbol and its not working at all. I do the
> setforeign function, set the trading rules and then
> restorepricearrays and it doesnt come out right. I
> tried to start simple using the the foreign function.
> Stuff like, Buy= Foreign("SPY","close")>137;
> But I test it on various symbols and they are close,
> but different for each one. If the buy is based on the
> SPY, shouldnt the buy dates be all the same even if I
> am testing on various symbols? Is there someting I am
> not doing right? Id love to get somehelp on this.
>
> Thanks,
>
> N
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
------------------------------------
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|