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

[amibroker] Error with SCAN



PureBytes Links

Trading Reference Links





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.  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(key,<FONT 
color=#ff00ff size=1>3)<= <FONT color=#0000ff 
size=1>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 ) 
);






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.