MACD With Histogram Coloring

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

MACD With Histogram Coloring

Postby TonyMod » Wed Jan 06, 2010 2:15 pm

Hello Everybody,

Here i'm posting a new indicator variation of MACD which has small change to it, histogram is colored now. It compares current histogram bar to previous one and colors current one into Green if this current bar is bigger than previous, or if bar is smaller than previous then current will be colored with Red.

This was developed on user's request, here is the original topic: http://www.fxcodebase.com/code/viewtopic.php?f=18&t=134

Description on how to use "Moving Average Convergence/Divergence (MACD)" can be found here: http://www.investopedia.com/terms/m/macd.asp

Screenshot:
MACD1.gif
Screenshot of MACD in MarketScope.


Download:
MACD - With Histogram Coloring.lua
DOWNLOAD: MACD with Histogram Coloring .Lua
(5.16 KiB) Downloaded 5276 times


Source:
The indicator was revised and updated

Any questions please respond to this topic.
Best Regards,

"TonyMod"
(FXCodeBase.com Forum Moderator)
TonyMod
FXCodeBase: Site Admin
 
Posts: 70
Joined: Wed Oct 21, 2009 1:57 pm
Location: New Jersey

Re: MACD With Histogram Coloring

Postby Panther » Mon Nov 21, 2011 7:43 am

Great Indicator. Could you program "width" and "style" options like those available for MVA's, etc ?
Panther
 
Posts: 71
Joined: Mon Nov 21, 2011 7:31 am


Re: MACD With Histogram Coloring

Postby Laurus12 » Tue Nov 29, 2011 8:21 pm

Is it possible to have the histogram paint in the background? I have been looking through the code, but are not able to understand which code lines are defining the plotting order.

Thanks.
Laurus
Laurus12
FXCodeBase: Confirmed User
 
Posts: 45
Joined: Tue Jan 26, 2010 6:49 pm
Location: Norway

Re: MACD With Histogram Coloring

Postby Apprentice » Thu Dec 01, 2011 9:33 am

Your request is added to the developmental cue.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 20115
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD With Histogram Coloring

Postby Trader1 » Mon Dec 12, 2011 9:29 am

Thanks for this indicator,
could you please change it so the MACD line is not obscured by the histogram?
the MACD line and signal line should be on top of the histogram for better view,
as it is now it is difficult to se the lines,
many thanks
Trader1
 
Posts: 17
Joined: Fri Jul 22, 2011 6:15 am

Re: MACD With Histogram Coloring

Postby Apprentice » Wed Dec 14, 2011 3:04 am

Output Stream sequence changed.
MACD - With Histogram Coloring v2.lua
(5.84 KiB) Downloaded 1781 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 20115
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MACD With Histogram Coloring

Postby Laurus12 » Wed Dec 14, 2011 6:50 am

Thanks a lot Apprentice. Really appreciate it :)
Laurus12
FXCodeBase: Confirmed User
 
Posts: 45
Joined: Tue Jan 26, 2010 6:49 pm
Location: Norway

Re: MACD With Histogram Coloring

Postby Panther » Tue Feb 07, 2012 7:21 pm

Could you add a "Histo Multiplier" that would adjust the height of the histogram?
Thanks.
Panther
 
Posts: 71
Joined: Mon Nov 21, 2011 7:31 am

Re: MACD With Histogram Coloring

Postby Apprentice » Wed Feb 08, 2012 6:02 am

Histo Multiplier Added.
MACD - With Histogram Coloring.lua
(6.07 KiB) Downloaded 1689 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 20115
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 12 guests