Page 1 of 1

Stiffness Indicator from Nov TASC

Posted: Sun Oct 14, 2018 3:00 pm
by henry1224
Here is the edgerater version of the stiffness indicator from the November TASC article

under the parameters tab

TP double 10 2 1000
MAB double 40 2 1000
SM double 40 2 1000
NTSD double .2 0 2
N double 3 0 100
StiffBuy Double 90 70 100
StiffSell Double 30 10 100


Under the scripts tab here is the formula

MA:= SMA(C,MAB)- NSTD*Std(C,MAB);
PENS:= Sum(C>MA, tp);
STIF:= PENS*100/ tp;
SI:EMA(STIF,SM),Width2,ColorGreen;
SIM:EMA(SI,N),Width2,ColorRed;
BuyLevel:StiffBuy,Width2,ColorBlack;
SellLevel:StiffSell,Width2,ColorBlack;
FillRgn(SI>=50,Min(SI,Sim),50),ExtendLR,Brush#33008000;
FillRgn(SI<50,Max(SI,Sim),50),ExtendLR,Brush#33800000;

FillRgn(SI>Sim,SI,Sim),Brush#66008000;
FillRgn(SI<Sim,SI,Sim),Brush#66800000;