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

Re: [amibroker] Off topic : Offline Browser



PureBytes Links

Trading Reference Links





What am I doing wrong?  This scan is supposed to 
give a buy arrow only when the value of  EMA(RSI(2),10)  
that happened to exist when Cross(EMA(RSI(2),10),EMA(EMA(RSI(2),10),2)) 
occurred, is GREATER  than the value of EMA(RSI(2),10), that 
existed  during the FIRST most recent  occurrance 
of  Cross(EMA(RSI(2),10),EMA(EMA(RSI(2),10),2)). For clairity, lets 
refer to this most recent occurrance as the FIRST last time that this cross 
occurred.  Additionally, this scan has a second requirement regarding 
 the value of EMA(RSI(2),10) that happened to exist when 
Cross(EMA(RSI(2),10),EMA(EMA(RSI(2),10),2)) occurred at the  SECOND 
most recent occurrance 
of Cross(EMA(RSI(2),10),EMA(EMA(RSI(2),10),2)) .    
This second requirement is that the value of EMA(RSI(2),10) that 
accompanied the SECOND most recent occurrance 
of Cross(EMA(RSI(2),10),EMA(EMA(RSI(2),10),2))  must be lower than 
the  value of  EMA(RSI(2),10)  that accompanied the THIRD 
most recent occurance of 
Cross(EMA(RSI(2),10),EMA(EMA(RSI(2),10),2)) .  The idea was to 
eliminate, or at least reduce, the buy arrows that appear during a 
downtrend.   All advice on  how to achieve this goal will be 
appreciated.  Ron D
RSI10seq2to8= EMA<FONT 
size=1>(RSI(<FONT 
color=#ff00ff size=1>2),<FONT color=#ff00ff 
size=1>10)<<FONT color=#0000ff 
size=1>EMA(RSI<FONT 
size=1>(3),<FONT 
color=#ff00ff size=1>10) AND <FONT 
color=#0000ff size=1>EMA(<FONT color=#0000ff 
size=1>RSI(3<FONT 
size=1>),10<FONT 
size=1>)<EMA<FONT 
size=1>(RSI(<FONT 
color=#ff00ff size=1>4),<FONT color=#ff00ff 
size=1>10) AND <FONT color=#0000ff 
size=1>EMA(RSI<FONT 
size=1>(4),<FONT 
color=#ff00ff size=1>10)<<FONT color=#0000ff 
size=1>EMA(RSI<FONT 
size=1>(5),<FONT 
color=#ff00ff size=1>10) AND <FONT 
color=#0000ff size=1>EMA(<FONT color=#0000ff 
size=1>RSI(5<FONT 
size=1>),10<FONT 
size=1>)<EMA<FONT 
size=1>(RSI(<FONT 
color=#ff00ff size=1>6),<FONT color=#ff00ff 
size=1>10) AND <FONT color=#0000ff 
size=1>EMA(RSI<FONT 
size=1>(6),<FONT 
color=#ff00ff size=1>10)<<FONT color=#0000ff 
size=1>EMA(RSI<FONT 
size=1>(7),<FONT 
color=#ff00ff size=1>10)AND <FONT 
color=#0000ff>EMA(<FONT color=#0000ff 
size=1>RSI(7),<FONT color=#ff00ff 
size=1>10)<<FONT color=#0000ff 
size=1>EMA(RSI<FONT 
size=1>(8),10<FONT 
size=1>);
RSI50=<FONT 
color=#0000ff size=1>EMA(<FONT color=#0000ff 
size=1>RSI(50<FONT 
size=1>),10<FONT 
size=1>);
RSI45=<FONT color=#0000ff 
size=1>EMA(RSI<FONT 
size=1>(<FONT face="Courier New" color=#ff00ff 
size=1>45),<FONT 
color=#ff00ff size=1>10<FONT face="Courier New" 
size=1>);
RSIcross<FONT 
face="Times New Roman">=<FONT color=#0000ff 
size=1>Cross(<FONT color=#0000ff 
size=1>EMA(RSI<FONT 
size=1>(2),<FONT 
color=#ff00ff size=1>10),<FONT color=#0000ff 
size=1>EMA(EMA<FONT 
size=1>(RSI(<FONT 
color=#ff00ff size=1>2),<FONT color=#ff00ff 
size=1>10),2<FONT 
size=1>))<FONT 
face="Times New Roman">;
RSI2=<FONT color=#0000ff 
size=1>EMA(RSI<FONT 
size=1>(2),<FONT 
color=#ff00ff size=1>10)<FONT 
face="Courier New" size=1>;
RSI2<FONT 
face="Courier New" size=1>2<FONT 
size=1>=ValueWhen(rsicross 
AND Ref<FONT 
size=1>(RSI10<FONT 
face="Times New Roman">seq2to8,-<FONT color=#ff00ff 
size=1>1),EMA<FONT 
size=1>(RSI(<FONT 
color=#ff00ff size=1>2),<FONT color=#ff00ff 
size=1>10),<FONT color=#ff00ff 
size=1>2); 
RSI23=<FONT 
color=#0000ff size=1>ValueWhen(rsicross AND 
Ref(RSI1<FONT 
face="Courier New" size=1>0seq2to8,-<FONT 
color=#ff00ff size=1>1),<FONT color=#0000ff 
size=1>EMA(RSI<FONT 
size=1>(2),<FONT 
color=#ff00ff size=1>10),<FONT color=#ff00ff 
size=1>3); 
RSI23belowRSI22belowRSI2= RSI23<RSI22 AND RSI22<RSI2;
Buy= MA<FONT 
size=1>(V,50<FONT 
size=1>)>=100000 
AND RSI10seq2to8 AND 
RSI45>RSI50 AND(RSIcross AND 
RSI23belowRSI22belowRSI2);<FONT 
face="Courier New" size=1>


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.