PureBytes Links
Trading Reference Links
|
> -----Message d'origine-----
> De : jbclem [mailto:jbclem@xxxxxxxxxxxxx]
> Envoyé : samedi 4 janvier 2003 03:27
> À : sirtrade@xxxxxxxxxx; omega-list@xxxxxxxxxx
> Objet : Re: Re: Convert esignal formula(Bresserts' DSS) into .ela?
>
>
> Pierre,
>
> I'm already a good typist, but not that good with Easy Language. Perhaps
> you could help me get this .ela version to work in TS4. When I try to
> verify it(after shortening a few of the longer words) I get this
> message("variables and arrays not allowed here") at the line
> "dss=xaverage((aa-lowest(aa,pds))" with the cursor stopping at the 1st "aa".
> Since my knowledge of Easy Language hasn't progressed to arrays, do you have
> any suggestions that would push me in the right direction.
>
> Feliz Ano Novo,
>
> John
>
Please disregard my previous message , I forgot to see that it was related to
the Bressert DS code.
The code below verifies in TS2000i.
inputs: pds(10), slw(3), triggerLen(5), overbought(80), oversold(20);
Variables: aa(0), dss(0), trigger(0);
aa = xaverage((close-lowest(low,pds)) / (highest(high,pds) -
lowest(low,pds)),slw) *100;
dss =xaverage((aa-lowest(aa,pds)) / (Highest(aa,pds)
-lowest(aa,pds)),slw) *100;
trigger = xaverage(dss, triggerLen);
plot1(dss,"DSS");
plot2(trigger,"Trigger");
plot3(overbought,"OverBought");
plot4(oversold,"OverSold");
For TS4 I do not know, as I do not have it installed on any machine anymore.
Try to see if "aa" is not used as a function name in the TS4 function directory.
Other wise try
Value0= (aa-lowest(aa,pds)) / (Highest(aa,pds) -lowest(aa,pds));
then dss=xaverage(value0,slw)*100;
Sincerely,
Pierre Orphelin
www.sirtrade.com
Tradestation 2000i, TradeStation 6 sales and support
Safir-X, neurofuzzy logic trading system builder
To subscribe to our FREE trading system newsletter:
http://www.sirtrade.com/newsletter.htm
Next issue: November 2002
|