PureBytes Links
Trading Reference Links
|
G;day,
Ron.
<FONT face=Arial color=#0000ff
size=2>
That's
an easy one. You didn't copy all of the code.
<FONT face=Arial color=#0000ff
size=2>
The
last line should say: <FONT face="Courier New"
size=1>
Sell =
Cross (<FONT
color=#ff00ff>80,DSS);<FONT
face="Courier New">
<BLOCKQUOTE
>
<FONT face="Times New Roman"
size=2>-----Original Message-----From: mrdavis9
[mailto:mrdavis9@xxxxxxxxxx]Sent: Thursday, April 17, 2003 1:09
AMTo: amibroker tipsCc: jeff davisSubject:
[amibroker] DOUBLE SMOOTHED STOCHASTIC
I have included a link to the AFL library of a
Double smoothed Stochastic indicator posted by W Bressert. 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 University of Oklahoma.
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
<A
href="">http://www.amibroker.com/library/detail.php?id=78
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
Syntax error at line 23, column 21:
Sell = Cross
(80,DSS--------------------^Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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.
|