Page 1 of 1

Schaff Trend Cycle Indicator

Posted: Wed Oct 03, 2018 12:33 pm
by nibor200
Has anyone scripted the Schaff Trend Cycle indicator that was released to the public in 200*?

Here's a link to the release PDF:

https://www.omnitrader.com/currentclien ... entid=2503

Thanks,
Ed S.

Re: Schaff Trend Cycle Indicator

Posted: Wed Oct 03, 2018 3:36 pm
by henry1224
I think this is close to what you want

Under the Parameters Tab

N1 Double 23 0 200
N2 Double 50 0 300
N3 Double 9 0 100
STN Double 10 0 100
STN2 Double 5 0 100

Under the script Tab here is the code

A:=WMA((O+C)/2,N1)-WMA((O+C)/2,N2);
A1:=WMA(A,N3);
Hist:=A-A1;
ST:((Hist-LLV(Hist,STN)) / (HHV(Hist,STN)-LLV(Hist,STN))) *100,Width2,ColorBlue;
STC: WMA(ST,STN2),Width2,ColorRed;
FillRgn(ST>80,80,ST),Brush#50800000;
FillRgn(ST<20,20,ST),Brush#50008000;



Henry

Re: Schaff Trend Cycle Indicator

Posted: Wed Oct 03, 2018 3:42 pm
by henry1224
You may also do a search in this forum for Cycles Combined there are several there

Henry

Re: Schaff Trend Cycle Indicator

Posted: Fri Oct 12, 2018 6:28 am
by nibor200
Thanks Henry,

I'll take a look at it, I wasn't really expecting anyone to script it for me if they had not already.

I've already scripted it in StockFetcher but I doubt there are others who use both products.

Ed S.