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 [email protected], jim fenster <[EMAIL PROTECTED]> 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
>


Reply via email to