Help needed with a setup on Metastock.

#1
Hello,

I am trying to plot the setup in Metastock ver. 10(EOD) "Squeeze" (Refer Book: "Mastering the Trade" by John Carter). The parameters for the same are as below:

1) Bollinger Bands: 20 & 2
2) Keltner Channels: 20 & 1.5
3) Momentum Index Oscillator (zero centred oscillator)

I have seen this play with another trader and it is fantastic for nifty futures. The problem is I have a feeling on my setup in Metastock, it is not quite the same.

Can anybody provide me with metastock formulas for the following parameters.

1) Bollinger Bands (Time Period:20 & Deviation:2)
2) Keltner Channels (20 & 1.5)
3) Momentum Index Oscillator ( I am using Chande Momentum Oscillator) is it okay.

I am relatively a beginner in terms of using packages like Metastock.

Thanks in Advance.

Regards,

Jatin
 
D

darsh_goswami

Guest
#2
Hello,

I am trying to plot the setup in Metastock ver. 10(EOD) "Squeeze" (Refer Book: "Mastering the Trade" by John Carter). The parameters for the same are as below:

1) Bollinger Bands: 20 & 2
2) Keltner Channels: 20 & 1.5
3) Momentum Index Oscillator (zero centred oscillator)

I have seen this play with another trader and it is fantastic for nifty futures. The problem is I have a feeling on my setup in Metastock, it is not quite the same.

Can anybody provide me with metastock formulas for the following parameters.

1) Bollinger Bands (Time Period:20 & Deviation:2)
2) Keltner Channels (20 & 1.5)
3) Momentum Index Oscillator ( I am using Chande Momentum Oscillator) is it okay.

I am relatively a beginner in terms of using packages like Metastock.

Thanks in Advance.

Regards,

Jatin
The formulle for keltner / boliger bands ,....

pds:=Input("Keltner/Bollinger Bands periods",
1,252,10);
spread:=Input("Keltner Bands % spread",
0,1000,100)/100;
dev:=Input("Bollinger Bands deviation",
.001,10,1);
plot:=Input("[1]Keltner, [2]Bollinger, [3]Keltner+Bollinger",1,3,1);

{ Keltner bands }
KBmid:=Mov(Typ(),pds,S);
KBtop:=KBmid+Mov(H-L,pds,S);
KBtopDiff:=(KBtop-KBmid)*spread;
KBtop:=KBmid+KBtopDiff;
KBbot:=KBmid-Mov(H-L,pds,S);
KBbotDiff:=(KBbot-KBmid)*spread;
KBbot:=KBmid+KBbotDiff;
KBwidth:=KBtop-KBbot;
KBwidthAvg:=Cum(KBwidth)/Cum(KBwidth>-1);

{ Bollinger bands }
BBtop:=BBandTop(C,pds,S,dev);
BBmid:=Mov(C,pds,S);
BBbot:=BBandBot(C,pds,S,dev);

{ Plot on price chart }
If(plot=1,KBtop,BBtop);
If(plot=1,KBmid,If(plot=2,BBmid,KBtop));
If(plot=1,KBbot,BBbot);
If(plot=1,KBbot,If(plot=2,BBbot,KBbot))


Keltner Channels

qwe:= Input("Look back",2,50,10);
;Mov( (H+L+C)/3, qwe, S) + Mov((H-L),qwe,S) {UpperKeltner Band}
;Mov( (H+L+C)/3, qwe, S) {The 10-DayMoving Average}
;Mov( (H+L+C)/3, qwe, S) - Mov((H-L),qwe,S) {LowerKeltner Band}

Momentum Index

PD:= Input("Lookback Period", 5, 220, 30);
MI:= {Chande Momentum Osc (C,PD)}
((Sum(If(CLOSE,>,Ref(CLOSE,-1), (CLOSE-Ref(CLOSE,-1)),0),pd)) -
(Sum(If(CLOSE,<,Ref(CLOSE,-1), (Ref(CLOSE,-1)- CLOSE),0),pd))) /
((Sum(If(CLOSE,>,Ref(CLOSE,-1), (CLOSE-Ref(CLOSE,-1)),0),pd) +
(Sum(If(CLOSE,<,Ref(CLOSE,-1), (Ref(CLOSE,-1)- CLOSE),0),pd))))*100;
MI;


Regards,..
Darsh
 

Similar threads