PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Perhaps you have to add a ! to the foreign index:
<FONT face=Arial color=#0000ff
size=2>
MyNdx
= Foreign("!Ndx", "C");Buy = MyNdx > Ref(MyNdx,-1);Sell = C <
Ref(C,-1);
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>herman
<FONT face=Tahoma
size=2>-----Original Message-----From: chassis_73
[mailto:tessaglia@xxxxxxxxxxx]Sent: Saturday, May 08, 2004 2:47
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
Foreign SyntaxHi,I've got this simple
AFL.MyNdx = Foreign("Ndx", "C");Buy = MyNdx >
Ref(MyNdx,-1);Sell = C < Ref(C,-1);I think I'm saying "Buy when
Nasdaq > than yesterday.Sell when my stock is < than
yesterday."I cannot get any buy signal when I do the scan,but only
Sell signal.Where's my mistake?Best
RegardsSend BUG REPORTS to bugs@xxxxxxxxxxxxxSend
SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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 the Yahoo! Terms of Service.
|