Macd

#1
Hi Can anyone guide me on how to change MACD settings in Metastock. There is a default setting of 26 and 12. signal line can be changed. DO we have to enter our own indicator formula and if yes can someone give the formulae for macd so we can chage the periods.

Rgds

Rahul
 
#3
Dear Traderji,

Thank you for the link. It was indeed very informative. could you also guide me on how to change the moving avg periods to form the mACD

Rgds

Rahul
 

oxusmorouz

Well-Known Member
#4
Hi Rahul. You can create your own macd using the following steps.

1) Open metastock --> indicator builder --> new
2) Name the indicator as "custom macd" (or whatever pleases you)
3) Type in this formula:

Fast:=Input("Time periods for fast MA",2,200,12);
Slow:=Input("Time periods for slow MA",2,200,26);
Signal:=Input("Time periods for signal",2,50,9);
Mov(C,Fast,E)-Mov(C,Slow,E);
Mov(Mov(C,Fast,E)-Mov(C,Slow,E),Signal,E);
0

Good luck trading.

Oxymoron.
 
Last edited:
#5
hi...thanks oxymoron......i found an easier one..... mov(close, 12, E)- mov(close, 26, E). think ths should work



Rgds

Rahul
 
Last edited:

oxusmorouz

Well-Known Member
#6
Hi Rahul.
No doubt that works well too. But incase you need to change the values for the moving averages, you have to go to indicator builder everytime. In the formula I posted above, once you insert the indicator in the chart, a dialog box pops up asking for values. Ofcourse, if you are comfortable with the other, ignore this post. Please feel free to ask for any further help.

Oxymoron
 
#7
Hi Rahul.
No doubt that works well too. But incase you need to change the values for the moving averages, you have to go to indicator builder everytime. In the formula I posted above, once you insert the indicator in the chart, a dialog box pops up asking for values. Ofcourse, if you are comfortable with the other, ignore this post. Please feel free to ask for any further help.

Oxymoron
Hi Oxymoron,

i did not realise that with your indicator i can change values within the chart itself. Mine just looked simpler and i was able to see what i was looking for. I was not able to interpret your formlae. but yes your makes more sense for comfort.

Rgds

Rahul
 
#8
How can i get signal from macd reading overbought/sold zone

I would like to alert signal from MACD when it hit the over bought/sold scale.
How i write the program in AFTL. and get the signal.
:)
 

Similar threads