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

[amibroker] DOUBLE SMOOTHED STOCHASTIC



PureBytes Links

Trading Reference Links




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--------------------^






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.