PureBytes Links
Trading Reference Links
|
Dimitris,
Please consider adding more of your formulas
posted here to the
AFL library at: <A
href=""><FONT
size=2>http://www.amibroker.com/library/
You may also consider posting your work to message
board at:
<A
href="">http://www.amibroker.net/boards/
Best regards,Tomasz
Janeczko===============AmiBroker - the comprehensive share
manager.<FONT
size=2>http://www.amibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Dimitris
Tsokakis
To: <A title=amibroker@xxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, September 01, 2001
8:52 PM
Subject: [amibroker] Example III
The responseof 5 days
ma, ema and wma in sinusoidal function
/*MODEL
CURVES*/maxgraph=8;cc1=iif(cum(1)<lastvalue(cum(1))-49,10,20);cc10=ma(cc1,10);d10=ref(-cc10+30,-10);C1=iif(cum(1)<lastvalue(cum(1))-39,cc10,d10);/*LINEAR
MODEL*/C2=iif(cum(1)>lastvalue(cum(1)-50) and
cum(1)<lastvalue(cum(1)-30),20,10);/*STEP
MODEL*/PI=4*ATAN(1);s=15+5*sin(
2*PI*0.05*(CUM(1)-74));C3=iif(cum(1)>lastvalue(cum(1))-50 AND
cum(1)<lastvalue(cum(1)-30),s,10);/*SINUSOIDAL
MODEL*//*graph0=c1;GRAPH0BARCOLOR=1;*//*graph1=c2;graph1barcolor=1;*/graph2=c3;GRAPH2BARCOLOR=1;graph2style=1;/*APPLICATION*/graph3=ma(c3,5);graph4=ema(c3,5);graph3color=8;graph4color=6;w=(20*c3+15*ref(c3,-1)+10*ref(c3,-2)+5*ref(c3,-3)+ref(c3,-4))/51;GRAPH5=W;GRAPH5STYLE=1;GRAPH5COLOR=12;graphxspace=1;
Dimitris TsokakisYour
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|