PureBytes Links
Trading Reference Links
|
Just
count your parenthesis, Ron....
<FONT face=Arial color=#0000ff
size=2>
The
following will get you going.
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>
key=<FONT
color=#0000ff>RSIa(C,14<FONT
face=Arial>);
Buy =
MA(key,<FONT
color=#ff00ff>2)<=MA(key,<FONT
color=#ff00ff>3) AND MA(key,<FONT
color=#ff00ff>3)<= MA(key,<FONT
color=#ff00ff>4) AND MA(key,<FONT
color=#ff00ff>4)<= MA(key,<FONT
color=#ff00ff>5) AND
<SPAN
class=60103008-28062003>
MA(key,5)<= <FONT
color=#0000ff>MA(key,6) AND <FONT
color=#0000ff>MA(key,6)<= <FONT
color=#0000ff>MA(key,7)AND <FONT
color=#0000ff>MA(key,7)<=<FONT
color=#0000ff>MA(key,9) AND
<SPAN
class=60103008-28062003>
MA(key,9) <= <FONT
color=#0000ff>MA(key,11) AND <FONT
color=#0000ff>MA(key,11)<= <FONT
color=#0000ff>MA(key,14) AND <FONT
color=#0000ff>MA(key,14)<=<FONT
color=#0000ff>MA(key,16) <SPAN
class=60103008-28062003> AND
<SPAN
class=60103008-28062003>
C*V >=
200000;
Sell<FONT
face=Arial>=(<FONT
color=#ff00ff>0);
PlotShapes<FONT
size=2>( shapeUpArrow * Buy + shapeDownArrow * Sell,
IIf<FONT face=Arial
size=2>( Buy, colorGreen, colorRed )
);
<BLOCKQUOTE
>
<FONT face="Times New Roman"
size=2>-----Original Message-----From: mrdavis9
[mailto:mrdavis9@xxxxxxxxxx]Sent: Saturday, June 28, 2003 3:57
AMTo: amibrokeryahoogroupsSubject: [amibroker] Error
with SCAN
The AFL code posted below is an
attempt find those instances where the various MA's of
RSIa(C,14) are sequentially lower than the next longer MA of RSI(C,14).
I keep getting an error message, and when I click ok, I see that the
semicolon directly behind (AND
C*V>=2000000;) is highlighted in a dark tone. I am
AFL deficient, so I just copied the PlotShapes from another SCAN that I
saw. I learn best by attempting something, rather than trying to
study that same something. I rarely never find what I am
looking for in the help section. <FONT
color=#000000 size=3>I don't want to see any sell signals. All assistance will
be appreciated. Ron D
/*C*V>=200000 AND all of the EMA's of RSIa are sequentially <=
the next longer EMA.*/
key=RSIa<FONT
size=1>(C,14);
Buy = MA<FONT
size=1>(key,2<FONT
size=1>)<=MA<FONT
size=1>(key,3)
AND MA<FONT
size=1>(key,3)<=
MA(key,<FONT
color=#ff00ff size=1>4) AND <FONT
color=#0000ff size=1>MA(key,<FONT color=#ff00ff
size=1>4)<= <FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>5) AND <FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>5)<= <FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>6) AND <FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>6)<= <FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>7)AND <FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>7)<=<FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>9) AND <FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>9) <= <FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>11) AND (<FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>11)<= <FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>14) AND <FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>14)<=<FONT color=#0000ff
size=1>MA(key,<FONT color=#ff00ff
size=1>16) AND C*V >= <FONT
color=#ff00ff size=1>200000;
Sell=(<FONT
size=1>C.0)<FONT
size=1>;
PlotShapes( shapeUpArrow * Buy +
shapeDownArrow * Sell, <FONT color=#0000ff
size=1>IIf( Buy, colorGreen, colorRed
) );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
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.
|