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

Example II



PureBytes Links

Trading Reference Links

Dimitris Tsokakis

------=_NextPart_001_000F_01C13330.55BA3D00
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>The response of 5 days ma, ema and wma in step 
function.</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=2;graph2style=1;*/<BR>/*APPLICATION*/<BR>graph3=ma(c2,5);graph4=ema(c2,5);<BR>graph3color=8;graph4color=6;<BR>w=(20*c2+15*ref(c2,-1)+10*ref(c2,-2)+5*ref(c2,-3)+ref(c2,-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_000F_01C13330.55BA3D00--

Attachment:
gif00156.gif

Attachment: Description: "Description: GIF image"