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

The MeanRSIt group...



PureBytes Links

Trading Reference Links

/*MEAN RSIT 10,20,30,40 composites creation*/
Var=MACD();
Up=IIf(Var>Ref(Var,-1),abs(Var-Ref(Var,-1)),0);
Dn=IIf(Var<Ref(Var,-1),abs(Var-Ref(Var,-1)),0);
Ut=Wilders(Up,30);
Dt=Wilders(Dn,30);
RSIt=100*(Ut/(Ut+Dt));
RSIt10=MA(RSIt,10);
RSIt20=MA(RSIt,20);
RSIt30=MA(RSIt,30);
RSIt40=MA(RSIt,40);
s1=IIf(RSIt>=0 AND RSIt<=100,RSIt,0);values3 = s1;
s10=IIf(RSIt10>=0 AND RSIt10<=100,RSIt10,0);values4 = s10;
s20=IIf(RSIt20>=0 AND RSIt20<=100,RSIt20,0);values5 = s20;
s30=IIf(RSIt30>=0 AND RSIt30<=100,RSIt30,0);values6 = s30;
s40=IIf(RSIt40>=0 AND RSIt40<=100,RSIt40,0);values7 = s40;
AddToComposite(Values3,"~meanrsit","V");
AddToComposite(Values4,"~meanrsit10","V");
AddToComposite(Values5,"~meanrsit20","V");
AddToComposite(Values6,"~meanrsit30","V");
AddToComposite(Values7,"~meanrsit40","V");
AddToComposite(1,"~count","V");
Buy=0;

and for indicator builder the

/*MEAN RSIT 10, 20, 30, 40 graph */
F10=Foreign("~meanRSIt10","V");F20=Foreign("~meanRSIt20","V");
F30=Foreign("~meanRSIt30","V");F40=Foreign("~meanRSIt40","V");
C1= Foreign("~count","V");
T10=F10/C1;T20=F20/C1;
T30=F30/C1;T40=F40/C1;
t10=IIf(t10>0,t10,-1e10);T20=IIf(T20>0,t20,-1e10);
t30=IIf(t30>0,t30,-1e10);t40=IIf(t40>0,t40,-1e10);
Plot(T10,"T10",5,1);Plot(T20,"T20",1,1);
Plot(T30,"T30",4,1);Plot(T40,"T40",2,1);
  

------=_NextPart_001_0010_01C266E6.EFB198A0
Content-Type: text/html;
charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-7" http-equiv=Content-Type>
<META content="MSHTML 5.00.3013.2600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#00ffff>
<DIV><FONT size=2>gives a clear picture of the main N100 trends.</FONT></DIV>
<DIV><FONT size=2>There is no bullish reaction above 50 line.</FONT></DIV>
<DIV><FONT size=2>It is better to wait prices below 50 and then search for the 
first cross of the green and black line.</FONT></DIV>
<DIV><FONT size=2>This is the result of the historical study. </FONT></DIV>
<DIV><FONT size=2>We have not excellent fundamental news and we should not wait 
for a bullish surprise.</FONT></DIV>
<DIV><FONT size=2>[I could claim the opposite...]</FONT></DIV>
<DIV><FONT size=2>Dimitris Tsokakis</FONT></DIV>
<DIV><FONT size=2>PS Extended examples at</FONT></DIV>
<DIV><FONT size=2><A 
href="http://www.amibroker.com/library/detail.php?id=173";>http://www.amibroker.com/library/detail.php?id=173</A></FONT></DIV>
<DIV><FONT size=2>For this graph I used the following group of 
curves</FONT></DIV>
<DIV><FONT size=2><BR>/*MEAN RSIT 10,20,30,40 composites 
creation*/<BR>Var=MACD();<BR>Up=IIf(Var&gt;Ref(Var,-1),abs(Var-Ref(Var,-1)),0);<BR>Dn=IIf(Var&lt;Ref(Var,-1),abs(Var-Ref(Var,-1)),0);<BR>Ut=Wilders(Up,30);<BR>Dt=Wilders(Dn,30);<BR>RSIt=100*(Ut/(Ut+Dt));<BR>RSIt10=MA(RSIt,10);<BR>RSIt20=MA(RSIt,20);<BR>RSIt30=MA(RSIt,30);<BR>RSIt40=MA(RSIt,40);<BR>s1=IIf(RSIt&gt;=0 
AND RSIt&lt;=100,RSIt,0);values3 = s1;<BR>s10=IIf(RSIt10&gt;=0 AND 
RSIt10&lt;=100,RSIt10,0);values4 = s10;<BR>s20=IIf(RSIt20&gt;=0 AND 
RSIt20&lt;=100,RSIt20,0);values5 = s20;<BR>s30=IIf(RSIt30&gt;=0 AND 
RSIt30&lt;=100,RSIt30,0);values6 = s30;<BR>s40=IIf(RSIt40&gt;=0 AND 
RSIt40&lt;=100,RSIt40,0);values7 = 
s40;<BR>AddToComposite(Values3,"~meanrsit","V");<BR>AddToComposite(Values4,"~meanrsit10","V");<BR>AddToComposite(Values5,"~meanrsit20","V");<BR>AddToComposite(Values6,"~meanrsit30","V");<BR>AddToComposite(Values7,"~meanrsit40","V");<BR>AddToComposite(1,"~count","V");</FONT></DIV>
<DIV><FONT size=2>Buy=0;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>and for indicator builder the</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>/*MEAN RSIT 10, 20, 30, 40 graph 
*/<BR>F10=Foreign("~meanRSIt10","V");F20=Foreign("~meanRSIt20","V");<BR>F30=Foreign("~meanRSIt30","V");F40=Foreign("~meanRSIt40","V");<BR>C1= 
Foreign("~count","V");<BR>T10=F10/C1;T20=F20/C1;<BR>T30=F30/C1;T40=F40/C1;<BR>t10=IIf(t10&gt;0,t10,-1e10);T20=IIf(T20&gt;0,t20,-1e10);<BR>t30=IIf(t30&gt;0,t30,-1e10);t40=IIf(t40&gt;0,t40,-1e10);<BR>Plot(T10,"T10",5,1);Plot(T20,"T20",1,1);<BR>Plot(T30,"T30",4,1);Plot(T40,"T40",2,1);</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;</FONT></DIV></BODY></HTML>

------=_NextPart_001_0010_01C266E6.EFB198A0--

Attachment:
gif00443.gif

Attachment: Description: "Description: GIF image"