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.
Schaff Trend Cycle Indicator
Moderator: Chris White
Re: Schaff Trend Cycle Indicator
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
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
You may also do a search in this forum for Cycles Combined there are several there
Henry
Henry
Re: Schaff Trend Cycle Indicator
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.
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.