[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Foreign Help - 2



PureBytes Links

Trading Reference Links




What 
error Larry? it just ran for me
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Larry M Powell 
[mailto:larypowell@xxxxxxxxxxxxx]Sent: Saturday, September 13, 2003 
11:20 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
Foreign Help - 2

<SPAN 
>Ken, Jayson & Dave,  I 
appreciate the help.  I am trying all the ideas and condensed the AFL to 
the following &#8211;
<SPAN 
> 
<SPAN 
>// VGY test by 
LMP 
<SPAN 
> 
<SPAN 
>Pds1 = 
<SPAN 
>13<FONT 
face="Courier New" color=black size=1><SPAN 
> ; 
<SPAN 
>//Optimize("pds1",6,2,21,1);
<SPAN 
> 
<SPAN 
>SetForeign(<FONT 
face="Courier New" color=fuchsia size=1><SPAN 
>"VGY"<FONT 
face="Courier New" color=black size=1><SPAN 
>);        
<SPAN 
>// swap out all 
the price arrays
<SPAN 
>Cond7 = 
<SPAN 
>PDI<FONT 
face="Courier New" color=black size=1><SPAN 
>(Pds1) > 
<SPAN 
>MDI<FONT 
face="Courier New" color=black size=1><SPAN 
>(Pds1); 
<SPAN 
>// +DI is above 
-DI 
<SPAN 
>Cond8 = 
<SPAN 
>MDI<FONT 
face="Courier New" color=black size=1><SPAN 
>(Pds1) > 
<SPAN 
>PDI<FONT 
face="Courier New" color=black size=1><SPAN 
>(Pds1); 
<SPAN 
>// -DI is above 
+DI
<SPAN 
>RestorePriceArrays();    
<SPAN 
>// restore the 
original price arrays
<SPAN 
> 
<SPAN 
>Buy<FONT 
face="Courier New" color=black size=1><SPAN 
> = Cond7 
;
<SPAN 
>Sell<FONT 
face="Courier New" color=black size=1><SPAN 
> = Cond8 
;
<SPAN 
> 
<SPAN 
>Buy<FONT 
face="Courier New" color=black size=1><SPAN 
> = 
<SPAN 
>ExRem<FONT 
face="Courier New" color=black size=1><SPAN 
>(<SPAN 
>Buy,<SPAN 
>Sell);
<SPAN 
>Sell<FONT 
face="Courier New" color=black size=1><SPAN 
> = 
<SPAN 
>ExRem<FONT 
face="Courier New" color=black size=1><SPAN 
>(<SPAN 
>Sell,<SPAN 
>Buy);
<SPAN 
> 
<SPAN 
>Short<FONT 
face="Courier New" color=black size=1><SPAN 
> = <SPAN 
>Sell ;
<SPAN 
>Cover<FONT 
face="Courier New" color=black size=1><SPAN 
> = <SPAN 
>Buy ; 
<SPAN 
> 
<SPAN 
>When I &#8220;check&#8221; the formula or try to 
run it I get a Syntax Error message.
<SPAN 
>Thanks for any continued 
help.
<SPAN 
> 

<SPAN 
>Larry M. 
Powell
<FONT face="Times New Roman" 
size=3><SPAN 
>---------------------------------------------------------------------Eliminate 
annoying spam!My mailbox is protected by iHateSpam, the #1-rated spam 
buster.<A href="" 
target=_blank>http://www.ihatespam.net
<SPAN 
> Send 
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 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT











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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.