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

[Metastockusers] Bressert's Double Stochastic



PureBytes Links

Trading Reference Links

PERIOD:=Input("PERIOD FOR DBL STO",1,1000,10);
denom1:= If(HHV(H,PERIOD)-LLV(L,PERIOD)>0, HHV(H,PERIOD)-LLV
(L,PERIOD), 1);
P1:= Mov(((C-LLV(L,PERIOD))/ denom1)*100,3,E);
denom2 := If(HHV(P1,PERIOD)-LLV(P1,PERIOD)>0, HHV(P1,PERIOD)-LLV
(P1,PERIOD), 1);
Mov(((P1-LLV(P1,PERIOD))/denom2)*100,3,E)

This indicator plots from 0 - 100. Is there any way to adjust the 
code to make it pivot around 0?

Thanks,
Harold


------------------------ 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/zMEolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx

 

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