PureBytes Links
Trading Reference Links
|
Ken, Jayson & Dave, I appreciate the help. I
am trying all the ideas and condensed the AFL to the following –
VGY is the symbol for Value Line Geometric in the TC2000
Data Base, so it is a valid symbol. I want a signal in VGY test against other
stocks.
Thanks,
<span
>
<span
>
<span
>// VGY test by
LMP
<span
>
<span
>Pds1 = <font
size=1 color=fuchsia face="Courier New">13<font size=1
color=black face="Courier New"> ; <span
>//Optimize("pds1",6,2,21,1);
<span
>
<span
>SetForeign(<font
size=1 color=fuchsia face="Courier New">"VGY"<font
size=1 color=black face="Courier New">); <font
size=1 color=green face="Courier New">// swap out all the price arrays
<span
>Cond7 = <font
size=1 color=blue face="Courier New">PDI<font size=1 color=black
face="Courier New">(Pds1) > <font size=1 color=blue
face="Courier New">MDI<span
>(Pds1); <font
size=1 color=green face="Courier New">// +DI is above -DI
<span
>Cond8 = <font
size=1 color=blue face="Courier New">MDI<font size=1 color=black
face="Courier New">(Pds1) > <font size=1 color=blue
face="Courier New">PDI<span
>(Pds1); <font
size=1 color=green face="Courier New">// -DI is above +DI
<span
>RestorePriceArrays();
<span
>// restore the
original price arrays
<span
>
<span
>Buy<font
size=1 color=black face="Courier New"> = Cond7 ;
<span
>Sell<font
size=1 color=black face="Courier New"> = Cond8 ;
<span
>
<span
>Buy<font
size=1 color=black face="Courier New"> = <font size=1 color=blue
face="Courier New">ExRem<span
>(<span
>Buy,Sell);
<span
>Sell<font
size=1 color=black face="Courier New"> = <font size=1 color=blue
face="Courier New">ExRem<span
>(<span
>Sell,Buy);
<span
>
<span
>Short<font
size=1 color=black face="Courier New"> = Sell
;
<span
>Cover<font
size=1 color=black face="Courier New"> = Buy
;
When I “check” the formula or try to run it I
get a Syntax Error message.
Thanks for any continued help.
Larry M. Powell
<font size=3
face="Times New Roman">
---------------------------------------------------------------------
Eliminate annoying spam!
My mailbox is protected by iHateSpam, the #1-rated spam buster.
http://www.ihatespam.net
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.
|