PureBytes Links
Trading Reference Links
|
Last line needs the bracket and semi-colon
sell = cross (80,DSS );
<font size=3 color=teal
face="Times New Roman">Cheers,
Graham
<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/ASXShareTrading
<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/FMSAustralia
<span
>-----Original Message-----
From: mrdavis9
[mailto:mrdavis9@xxxxxxxxxx]
Sent: Thursday, 17 April 2003<font
face=Tahoma> <font
face=Tahoma>1:09 PM<font
face=Tahoma>
To: amibroker tips
Cc: jeff davis
Subject: [amibroker] DOUBLE
SMOOTHED STOCHASTIC
<font size=2
face="Times New Roman">
<span
>I have included a link to the AFL
library of a Double smoothed Stochastic indicator posted by <font
size=4 face=Arial>W Bressert<font
size=4 face=Arial>. First, I
have to explain that I am barely starting to use Amibroker, and the last time
that I programed anything was in about 1962 at the <font
size=4 face=Arial>University<font
size=4 face=Arial> of <font
size=4 face=Arial>Oklahoma<font
size=4 face=Arial>. I took a
half semester course in Fortran, and we used punch cards to run an equation
that described heat transfer. This is the full extent of my
programing skills. I bet there is no Amibroker user less qualified
than I am who is attempting to learn to use Amibroker.
Below, I have copied the code that I found in the library. I
have also copied the error that I got when I loaded it into Amibroker via the
indicator builder. I would appreciate any help I can get regarding the
error that I got. Is the error in the code, or did I do something
wrong? Ron D
<span
>
<span
><a
href="">http://www.amibroker.com/library/detail.php?id=78
<font size=2
face="Times New Roman">
<font size=2
face="Times New Roman">
<span
>title = "127-3 DSS" +
" " + fullname() + "
" + Date( ) ;
Slw = 4; Pds = 4;
A = Ema((CLOSE-LLV(LOW,Pds))/(HHV(H,pds)-LLV(L,Pds)),Slw)*100;
DSS = ema((A-LLV(A,pds))/(HHV(A,Pds)-LLV(A,Pds)),Slw)*100;
maxgraph = 10;
graph0 = DSS; graph0color = 2; graph2 = DSS;
Overbought = 80; Oversold = 20;
graph2barcolor = IIF (graph2 > overbought, 4,
IIF (graph2 < oversold,5,6));
buy = cross (DSS, 20);
sell = cross (80,DSS
<font size=2
face="Times New Roman">
<font size=2
face="Times New Roman">
<font size=2
face="Times New Roman">
<span
>Syntax error at line 23, column 21:
<font size=2
face="Times New Roman">
<span
>
Sell = Cross (80,DSS
--------------------^
<font size=2
face="Times New Roman">
Send
BUG REPORTS to bugs@xxxxxxxxxxxxx<span
>
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|