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

RE: [amibroker] Question on Automatic Analyser



PureBytes Links

Trading Reference Links

Thank you for sharing this with us.

Dennis



--- In amibroker@xxxxxxxxxxxxxxx, "Dimitris Tsokakis" <TSOKAKIS@xxxx> 
wrote:
> One of the best periods of this LongTermRSI composite was the AB.
[midMarch-endJuly 2003]
> At A the [black] BullRSI passed its lowest point and started the 
ascending path.
> At B the [red] AscRSI crossed downwards the black line.
> After 5 months the population of the ascending RSI became for the 
first time less than the BullRSI.[ie LongTermRSI>50]
> This "loop" is a rare opportunity to go Long and make some safe 
profits.
> The index ^NDX made +26%, but the market as a whole was at +37%.
> The majority of the database was profitable [96winners/5losers]
> The worse PTEN was at -12%, the best SNDK was at +225%.
> Some interesting performances for popular stocks
> CSCO +47%, INTC +48%, AAPL +40%.
> Any Long systems would be effectively profitable this period.
> Another smaller loop A1-B1 was formatted back in Oct2001-Feb2002.
> It was a weak attempt for the market to change the bearish 
situation : The black line could not go above 50, the decline of the 
red line was sharp and did not leave enough room for dreams.
> The loop A2-B2 was more interesting and prepared the main market 
movement A-B.
> Now, the black line is higher than ever, it is not possible to see 
similar black/red loops [and it will take long to see that again...]
> 
> ----- Original Message ----- 
> From: Dimitris Tsokakis 
> To: amibroker@xxxxxxxxxxxxxxx 
> Sent: Wednesday, February 11, 2004 2:57 PM
> Subject: The long term RSI categories
> 
> 
> Explore the database for the n=1 last quotations with
> 
> // Long term RSI categories
> n=200;
> r1=MA(RSI(n/4),n);
> r2=LinearReg(r1,n/2);Filter=1;
> CategoryRemoveSymbol( "", categoryWatchlist, 21 ); 
> CategoryRemoveSymbol( "", categoryWatchlist, 22 ); 
> CategoryRemoveSymbol( "", categoryWatchlist, 23 ); 
> CategoryRemoveSymbol( "", categoryWatchlist, 24 ); 
> Cond1=LastValue(ROC(r1,1)>=0 AND r1<50); //bullish
> Cond2=LastValue(ROC(r1,1)>=0 AND r1>=50); //extra bullish
> Cond3=LastValue(ROC(r1,1)<0 AND r1>=50);//bearish
> Cond4=LastValue(ROC(r1,1)<0 AND r1<50); //extra bearish
> if( Cond1 ) 
> { 
> CategoryAddSymbol( "", categoryWatchlist, 21 ); 
> } 
> if( Cond2 ) 
> { 
> CategoryAddSymbol( "", categoryWatchlist, 22 ); 
> } 
> if( Cond3 ) 
> { 
> CategoryAddSymbol( "", categoryWatchlist, 23 ); 
> } 
> if( Cond4 ) 
> { 
> CategoryAddSymbol( "", categoryWatchlist, 24 ); 
> } 
> AddColumn(r1,"r1");
> AddColumn(Cond1,"cond1",1.0);
> AddColumn(Cond2,"cond2",1.0);
> AddColumn(Cond3,"cond3",1.0);
> AddColumn(Cond4,"cond4",1.0);
> 
> Hit View->Refresh All  and the stocks will automatically be placed 
in 
> WL21:Bullish
> WL22:Extra bullish
> WL23:Bearish
> WL24:Extra bearish.
> The use of the separation is mainly protective :
> Avoid, for example, to go Long with stocks belonging to the WL24.
> [See MEDI and FHCC the last 3-4 months. Long trades, from any 
system, would probably cause damages]
> You may ignore Short signals for stocks in the first categories.
> CSCO, for example, would not give important Short profits from 
midMarch 2003 till the end of Jan2004.
> The 4 phases are easily recognized in Indicator builder with
> 
> n=200;
> r1=MA(RSI(n/4),n);
> r2=LinearReg(r1,n/2);
> Plot(r1,"["+WriteVal(n,1.0)+"]",1,1);
> Plot(r2,"r2",4,1);GraphXSpace=5;
> Plot( 5,"Ribbon",IIf( ROC(r1,1)>=0 AND r1<50, colorTurquoise,IIf(ROC
(r1,1)>=0 AND r1>=50,colorBrightGreen,IIf(ROC(r1,1)<0 AND 
r1>=50,colorPink,colorDarkRed))),styleOwnScale|styleArea|styleNoLabel,
 -0.5, 100 );
> 
> THE N100 MARKET BEHAVIOR
> Scan all N100 stocks, all quotations with
> 
> // LONGTERM RSI COMPOSITES
> n=200;
> r1=MA(RSI(n/4),n);
> r2=LinearReg(r1,n/2);
> AddToComposite(r1>50,"~bullRSI","v");
> AddToComposite(r1>50 AND r1>Ref(r1,-1),"~bullRSIa","v");
> AddToComposite(r1>Ref(r1,-1),"~bullRSIb","v");
> AddToComposite(1,"~count","v");
> Buy=0;
> 
> and then, in Indicator builder paste the
> 
> // LONGTERM RSI COMPOSITES GRAPHS
> x=100*Foreign("~bullRSI","v")/Foreign("~count","v");
> xa=100*Foreign("~bullRSIa","v")/Foreign("~count","v");
> xb=100*Foreign("~bullRSIb","v")/Foreign("~count","v");
> Plot(x,"BullRSI",1,1+4);Plot(xb,"Asc RSI",4,1+4);
> Plot(xa,"Bull+Asc RSI",2,2+4);
> 
> The real party was from A [the lowest BullRSI] till B [when the 
ascending RSIs became less than the RSI>50]
> The market is obviously o/b the last 5 moths and retracements are 
expected. 
> The sharp troughs of the [red] ascending RSI population give nice 
re-entry points.
> Dimitris Tsokakis



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:
     http://docs.yahoo.com/info/terms/