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

Example III



PureBytes Links

Trading Reference Links

Dimitris Tsokakis

------=_NextPart_001_0014_01C13330.6097EA60
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=#ffffff>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>The response of 5 days ma, 
ema and wma in&nbsp;sinusoidal function</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>/*MODEL 
CURVES*/<BR>maxgraph=8;<BR>cc1=iif(cum(1)&lt;lastvalue(cum(1))-49,10,20);<BR>cc10=ma(cc1,10);<BR>d10=ref(-cc10+30,-10);<BR>C1=iif(cum(1)&lt;lastvalue(cum(1))-39,cc10,d10);/*LINEAR 
MODEL*/<BR>C2=iif(cum(1)&gt;lastvalue(cum(1)-50) and 
cum(1)&lt;lastvalue(cum(1)-30),20,10);/*STEP 
MODEL*/<BR>PI=4*ATAN(1);<BR>s=15+5*sin( 
2*PI*0.05*(CUM(1)-74));<BR>C3=iif(cum(1)&gt;lastvalue(cum(1))-50 AND 
cum(1)&lt;lastvalue(cum(1)-30),s,10);/*SINUSOIDAL 
MODEL*/<BR>/*graph0=c1;GRAPH0BARCOLOR=1;*/<BR>/*graph1=c2;graph1barcolor=1;*/<BR>graph2=c3;GRAPH2BARCOLOR=1;graph2style=1;<BR>/*APPLICATION*/<BR>graph3=ma(c3,5);graph4=ema(c3,5);<BR>graph3color=8;graph4color=6;<BR>w=(20*c3+15*ref(c3,-1)+10*ref(c3,-2)+5*ref(c3,-3)+ref(c3,-4))/51;<BR>GRAPH5=W;<BR>GRAPH5STYLE=1;GRAPH5COLOR=12;<BR>graphxspace=1;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Dimitris Tsokakis</FONT></DIV></BODY></HTML>

------=_NextPart_001_0014_01C13330.6097EA60--

Attachment:
gif00157.gif

Attachment: Description: "Description: GIF image"