Pagina 1 van 1

True strength - Wie heeft formule

BerichtGeplaatst: wo 24 maart 2004, 12:59
door Aernout
Kan iemand mij helpen aan de easylanguageformule van de"True strength candlestick oscilator"van William Blau?

Dank,

Aernout

True strength

BerichtGeplaatst: wo 24 maart 2004, 20:22
door poekmeister
Aernout,

Ik denk dat je hiernaar op zoek bent:

Artikel:
https://www.tradestationworld.com/discu ... AN2002.pdf

Code voor TSI (functie):

inputs:
? ? ? ?Price(NumericSeries),
? ? ? ?Raw(NumericSimple),
? ? ? ?Smooth(NumericSimple),
? ? ? ?U(NumericSimple);

vars:
? ? ? ?NetChg(0);

? ? ? ?NetChg = Price - Price[1];

Value1 = 100 * XAverage(XAverage(XAverage(NetChg,Raw),Smooth),U);
Value2 = XAverage(XAverage(XAverage(AbsValue(NetChg),Raw),Smooth),U);;

if Value2 <> 0 then
? ? ? ?TSI = Value1 / Value2
else
? ? ? ?TSI = 0;


Code TSI (Indicator):

inputs:
? ? ? ?Price(Close),
? ? ? ?Raw(25),
? ? ? ?Smoothed(13);
?
Plot1(TSI(Price, Raw, Smoothed,1), "TSI");
Plot2(XAverage(Plot1,5),"XAvg ");
Plot3(0,"0");


Ben benieuwd of deze indicator je nog wat oplevert (bijv goed idee voor systeem of zo). Hou ons op de hoogte!

Michel