Comparative Moving Average Convergence/Divergence

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Comparative Moving Average Convergence/Divergence

Postby Apprentice » Thu Apr 25, 2013 6:18 am

Comparative MACD.png

Allows you to select up to five currency pairs.
MACD is calculated for all of them.
Average MACD of all selected pairs is drawn also.

I presented a Relativ MACD algorithm.
In this way, a comparison of different currency pairs is possible.

Comparative MACD.lua
(11.44 KiB) Downloaded 597 times


The indicator was revised and updated
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Comparative Moving Average Convergence/Divergence

Postby Obsestric » Thu Apr 25, 2013 5:54 pm

Thanks for being so prompt with the creation! This seems to work right with a regular macd setting (12,26,9), but if I try to change the number to say 5,13,8 the indicator gives me an error message.

I was also wondering what is the main difference between the relative and absolute setting?
Obsestric
 
Posts: 8
Joined: Fri Mar 29, 2013 3:47 pm

Re: Comparative Moving Average Convergence/Divergence

Postby Apprentice » Fri Apr 26, 2013 6:10 am

Small Bug caused this issue.
I have fix it.

Relative - a percentage based MACD
For use, if we have different currencies,
if it is impossible to compare them on same scale
Absolute - standard MACD
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia



Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 72 guests