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

[amibroker] The N100 directionality



PureBytes Links

Trading Reference Links




is still great.
4 days ago a symmetric triangle breakout took place in 
MeanRelSlope trendlines.
90% of the market agreed and 28% gave the opportunity for more 
than +7% profit.
These statistical confirmations strongly suggest the extended 
use of composite tickers for N100.
Amibroker users are more than lucky to study these fine 
tools in less than 1min, with the superfast AddToComposite() 
function.
Dimitris Tsokakis
 
Reference:
Run first in AA for all stocks, all quotations 
the
/*mean Relative slope 
constuction*/K=EMA((H+L+C)/3,10);S1=2*(K-Ref(K,-1))/(K+Ref(K,-1));RS=100*EMA(S1,3);AddToComposite(RS,"~meanRS","C");
AddToComposite(1,"~count","V");
Buy=0;
 
Then, in your IB paste the
 
<FONT 
size=2>K=EMA((H+L+C)/3,10);S1=2*(K-Ref(K,-1))/(K+Ref(K,-1));RS=100*EMA(S1,3);f1=Foreign("~MEANRS","C");pop=Foreign("~count","v");G1=10+F1/POP;MaxGraph=10;Graph0=g1;Graph0BarColor=7;Graph0Style=8;Graph3=10;x 
= Cum(1);per = 3;s1=g1;s11=g1;pS = TroughBars( s1, per, 1 ) == 
0;endt= LastValue(ValueWhen( pS, x, 1 ));startt=LastValue(ValueWhen( pS, 
x, 2 ));dtS =endt-startt;endS = LastValue(ValueWhen( pS, s1, 1 ) 
);startS = LastValue( ValueWhen( pS, s1, 2  ));aS = 
(endS-startS)/dtS;bS = endS;trendlineS = aS * ( x  -endt ) + bS; 
Graph6 = IIf(x>startt-10,trendlineS,-1e10);Graph6Style = 
1;Graph6BarColor =11;// IIf(as>0,5,4);pR = PeakBars( s11, per, 1 ) == 
0;endt1= LastValue(ValueWhen( pR, x, 1 ));startt1=LastValue(ValueWhen( 
pR, x, 2 ));dtR =endt1-startt1;endR = LastValue(ValueWhen( pR, s11, 1 ) 
);startR = LastValue( ValueWhen( pR, s11, 2  ));aR = 
(endR-startR)/dtR;bR = endR;trendlineR = aR * ( x  -endt1 ) + bR; 
Graph7 = IIf(x>startT1-10,trendlineR,-1e10);Graph7Style = 
1;Graph7BarColor = 
11;//IIf(Ar>0,5,4);Graph9=10+RS;Graph9Color=15;Plot(9,"",1,1);Plot(11,"",1,1);Title="MEAN 
RELATIVE SLOPE TRENDLINES";GraphXSpace=2;
 
to plor the individual RelSlope, the MeanRelSlope and the 
recent trendlines.






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.



Attachment:
relslope.gif

Attachment: Description: "Description: GIF image"