PureBytes Links
Trading Reference Links
|
Thanks again. I thought Id post the formula here so you can see what
Im attempting to, Dont look to closely though as Im a beginner and my
rogramming skills leave alot to be desired.
Average:=Input("TimePeriods",0,2000,201);
totalAveperiods:=LastValue(Cum(Mov(C,Average,S)>-1000));
shift:=Average/2;
mildev:=(
Sqrt(((Sum(Power(Ref(C,-shift)-Mov(C,Average,S),2),totalAveperiods))-(Power(Sum(Ref(C,-shift)-Mov(C,Average,S),
totalAveperiods),2)/ totalAveperiods))/(totalAveperiods-1)));
mildev;
Ave:=Mov(C,Average,S);
Ref(Ave,shift);
Lower := (Mov(C,Average,S) - (2*LastValue(mildev)));
Ref(lower,shift);
Upper := (Mov(C,Average,S) + LastValue(2*LastValue(mildev)));
Ref(Upper,shift)
Basically Im plotting a centered 201 dma(can change though) then an
upper and lower band 2 standard devistions apart. Im using a constant
depth calculation for the bands. As I say this is as far as ive got,
the indicator giving the correct results, using Excel to varify
calculations, and I can centre it ok. The problem Ive got now is its
all shifted upwards. I know this as Im using the centred ma in
metastock as my base, and so far have been unable to match this.
Excactly same shape though. Also if I save a default template and scan
open other shares doesnt alway work. As A side, the calculations in
excell are slightly of compared with metastock, although I think this
is more me. This is all from Brian Millards Channel Analysis.
Regards Robert
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/
|