PureBytes Links
Trading Reference Links
|
"By the way - it would be nice if people using different languages
send their translations to me for the inclusion in the docs,
so the others, less experienced coders will benefit."
I use DADiSP SE 2000.
We crate there *.spl files written in
SPL Language using built-in functions.
Example:
/*PERIOD FUNCTION*/
period(f)
{n=length(f);local d;d=ones(n,1);for(j=50;j<=n;j=j+1)
{ex=extract(f,1,j);za=spectrum(sintrend(ex)-trend(ex));DA=ZA>0.9999*MAX(ZA);d[j]=delete(xvals(za),DA<0.5);}
(1/d);}
This is written in a notepad file, saved then as period.spl in SPL subfolder.
We can have a close price in window W1, then select W9 and write in formulabar
period(w1)
We see in W9 the period of the stock as a function of time.
spectrum, sintrend, trend, etc are built-in functions in DADiSP SE 2000.
Is it possible to transfer above example in Amibroker ?
Best Regards
Dimitris Tsokakis
------=_NextPart_001_0010_01C14A7F.F10197C0
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>Dear Tomasz,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>"By the way - it would be nice if people using
different languages </FONT></DIV>
<DIV><FONT face=Arial size=2>send their translations to me for the inclusion in
the docs, </FONT></DIV>
<DIV><FONT face=Arial size=2>so the others, less experienced coders will
benefit."</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use DADiSP SE 2000. </FONT></DIV>
<DIV><FONT face=Arial size=2>We crate there *.spl files written in </FONT></DIV>
<DIV><FONT face=Arial size=2>SPL Language using built-in functions.</FONT></DIV>
<DIV><FONT face=Arial size=2>Example:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/*PERIOD FUNCTION*/</FONT></DIV>
<DIV><FONT face=Arial size=2>period(f)</FONT></DIV>
<DIV><FONT face=Arial size=2>{n=length(f);local
d;d=ones(n,1);for(j=50;j<=n;j=j+1)<BR>{ex=extract(f,1,j);za=spectrum(sintrend(ex)-trend(ex));DA=ZA>0.9999*MAX(ZA);d[j]=delete(xvals(za),DA<0.5);}<BR>(1/d);}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>This is written in a notepad file, saved then as
period.spl in SPL subfolder.</FONT></DIV>
<DIV><FONT face=Arial size=2>We can have a close price in window W1,
then select W9 and write in formula bar</FONT></DIV>
<DIV><FONT face=Arial size=2>period(w1)</FONT></DIV>
<DIV><FONT face=Arial size=2>We see in W9 the period of the stock as a function
of time.</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>spectrum, sintrend, trend</STRONG>, etc are
built-in functions in DADiSP SE 2000.</FONT></DIV>
<DIV><FONT face=Arial size=2>Is it possible to transfer above example in
Amibroker ?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Best Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Dimitris Tsokakis</FONT></DIV></BODY></HTML>
------=_NextPart_001_0010_01C14A7F.F10197C0--
Attachment:
gif00191.gif
Attachment:
Description: "Description: GIF image"
|