[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] new code : the derivative of a function



PureBytes Links

Trading Reference Links

this code gives an estimate of the first derivative
of the volatility

it is used to forcast tops&bottoms in the volatility
(crossing betwen the k6&k5 lines often provide
reliable tops/bottom of the volatility indicator)



q1:=Input("set lenght of bb's ma",1,99,20);
q2:=Input("set fma's lenght",1,99,22);
q3:=Input("set sma's lenght",1,99,44);
q4:=Input("set signal's lenght",1,99,9);
k0:=100*((BBandTop(mp(),q1,S,2)-BBandBot(mp(),q1,S,2))/(Mov(mp(),q1,S)));
k1:=Ref(k0,-1);
k2:=Ref(k0,-2);
k4:=((k2+k0)/2)-2*k1+k0;
k5:=(Mov(k4,q2,E)-Mov(k4,q3,E));
k6:=Mov(k5,q4,E);
k5;k6;

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
     equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/