Traders' Tips from TASC Magazine

Deviation Oscillator

x:=Input("number of time periods in average",10,200,40);
x2:=x*2;
pd:=C-Mov(C,x,E);
hpd:=HHV(pd,x2);
lpd:=LLV(pd,x2);
nf:=200/(hpd-lpd);
((pd-lpd)*nf)-100


Contents