#11 (permalink)  
Old 10-14-2008, 04:17 PM
Currency Trader
 
Join Date: May 2007
Posts: 1
fxkred is on a distinguished road
Default

Grat Martin, I just look forthe same, thx for sharing
Reply With Quote
  #12 (permalink)  
Old 04-16-2009, 04:17 PM
Currency Trader
 
Join Date: Apr 2009
Posts: 1
sovereignjon is on a distinguished road
Default

@matinnn

Hey Thank You for the MACD 2 Colour HISTOGRAM.mq4...It was exactly what I wanted. Thank You again
lynx likes this.
Reply With Quote
  #13 (permalink)  
Old 08-03-2009, 04:30 PM
Currency Trader
 
Join Date: Nov 2008
Posts: 3
adilim is on a distinguished road
Default

thanks the great indicators.
Reply With Quote
MACD 2 color histogram
  #14 (permalink)  
Old 08-28-2009, 05:21 PM
Currency Trader
 
Join Date: Jan 2009
Posts: 1
fxdiva is on a distinguished road
Default MACD 2 color histogram

Thank you very much for sharing!
Reply With Quote
these indicators don't work at all!!
  #15 (permalink)  
Old 08-29-2009, 06:55 PM
Currency Trader
 
Join Date: Feb 2008
Posts: 4
meengineer is on a distinguished road
Default these indicators don't work at all!!

Dear Friends,

Thank you fore sharing these indicators, but no one can earn even 10 pips from these indicators. experience of expert traders has proved this.
then please don't waste your time with these toys.

I wish you will be succeed in all times of your trading.

Best Regards.
Reply With Quote
MACD and mmPivot
  #16 (permalink)  
Old 09-22-2009, 01:50 PM
Currency Trader
 
Join Date: Sep 2009
Posts: 2
Yekeen Babatunde Atiku is on a distinguished road
Unhappy MACD and mmPivot

Hi there.I should be thankful if you could supply me the macd with double colour as well as mmPivot indicators for my download.Thank you.

Last edited by Yekeen Babatunde Atiku; 09-22-2009 at 01:56 PM. Reason: To add completing words.
Reply With Quote
  #17 (permalink)  
Old 09-22-2009, 02:02 PM
Currency Trader
 
Join Date: Sep 2009
Posts: 2
Yekeen Babatunde Atiku is on a distinguished road
Default

Please send me double colour macd histogram as well as mmpivot indicators.
Reply With Quote
RE: Changing Histogram Width To "5"...
  #18 (permalink)  
Old 11-19-2009, 05:45 AM
Currency Trader
 
Join Date: Jan 2009
Posts: 1
dcfx is on a distinguished road
Default RE: Changing Histogram Width To "5"...

Quote:
Originally Posted by newtrader1 View Post
Hi

I found the 2 color macd.
I want to use the width value 5 for histogram.

Below is the code. Can some one fix this for me ?

Code:
----------------------------------------------------------
/*
 
************************************************** *******************
 
MACD Color
 
************************************************** *******************
 
*/
 
 
#property indicator_separate_window
#property indicator_buffers 6
#property indicator_color1 Red // Red
#property indicator_color2 Lime // LineGreen
#property indicator_color3 Red
#property indicator_color4 Lime // LimeGreen
#property indicator_color5 Silver
#property indicator_color6 Yellow // Yellow
 
extern int FastEMA=12;
extern int SlowEMA=26;
extern int SignalSMA=9;
 
double ind_buffer1[];
double ind_buffer2[];
double ind_buffer1b[];
double ind_buffer2b[];
double ind_buffer3[];
double ind_buffer4[];
 
double b[999999];
 
int init() {
 
SetIndexStyle(0,DRAW_HISTOGRAM,STYLE_SOLID,2,Red);
SetIndexStyle(1,DRAW_HISTOGRAM,STYLE_SOLID,2,Lime) ;
SetIndexStyle(2,DRAW_HISTOGRAM,STYLE_SOLID,2,indic ator_color3);
SetIndexStyle(3,DRAW_HISTOGRAM,STYLE_SOLID,2,indic ator_color4);
SetIndexStyle(4,DRAW_LINE,EMPTY,1,indicator_color5 );
SetIndexStyle(5,DRAW_LINE,EMPTY,1,indicator_color6 );
SetIndexBuffer(0,ind_buffer1);
SetIndexBuffer(1,ind_buffer2);
SetIndexBuffer(2,ind_buffer1b);
SetIndexBuffer(3,ind_buffer2b);
SetIndexBuffer(4,ind_buffer3);
SetIndexBuffer(5,ind_buffer4);
 
IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS)+1 );
 
return(0);
 
}
 
int start(){
 
int limit;
int counted_bars=IndicatorCounted();
 
if(counted_bars<0) return(-1);
 
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
 
for(int i=limit; i>=0; i--) {
 
b[i] = iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i)-iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i);
ind_buffer1[i]=iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i)-iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i);
 
clearBuffers(i);
 
if (b[i] < 0 ) {
if (b[i] > b[i+1]) {
ind_buffer1[i] = b[i];
ind_buffer1b[i] = 0;
} else if (b[i] < b[i+1]) {
ind_buffer1b[i] = b[i];
ind_buffer1[i] = 0;
}
} else if (b[i] > 0) {
if (b[i] < b[i+1]) {
ind_buffer2[i] = b[i];
ind_buffer2b[i] = 0;
} else if (b[i] > b[i+1]) {
ind_buffer2b[i] = b[i];
ind_buffer2[i] = 0;
}
}
 
ind_buffer3[i]=iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i)-iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i);
 
}
 
for(i=0; i<limit; i++) {
ind_buffer4[i]=iMAOnArray(ind_buffer3,Bars,SignalSMA,0,MODE_SMA, i);
}
 
return(0);
 
}
 
void clearBuffers (int i) {
 
ind_buffer1[i] = NULL;
ind_buffer1b[i] = NULL;
ind_buffer2[i] = NULL;
ind_buffer2b[i] = NULL;
 
}
--------------------------------------------------
To do this, you will ONLY need to change (4) numbers IN the following (4) lines:

SetIndexStyle(0,DRAW_HISTOGRAM,STYLE_SOLID,2,Red);
SetIndexStyle(1,DRAW_HISTOGRAM,STYLE_SOLID,2,Lime) ;
SetIndexStyle(2,DRAW_HISTOGRAM,STYLE_SOLID,2,indic ator_color3);
SetIndexStyle(3,DRAW_HISTOGRAM,STYLE_SOLID,2,indic ator_color4);


CHANGE THE "2" IN FOLLOWING FROM THIS:
STYLE_SOLID,2

TO THIS:
STYLE_SOLID,5

(STYLE_SOLID) draws a solid line and the number afterwards is the line width.

I'm pretty sure that will do the trick.
Now SAVE the new file in the experts/indicator folder, REMOVE the previous indicator from your
MT4 platform. CLOSE MT4 and reopen it.
Now RELOAD and test the new indicator.
The histogram bar widths should now be 5 wide.

Regards,

LOL - (yea, this was an OLD post reply but maybe it'll still
be useful for somebody)
Reply With Quote
Color Change of direction of MACD
  #19 (permalink)  
Old 01-08-2010, 05:00 PM
Forex Trader
 
Join Date: Dec 2009
Posts: 7
jtimpson is on a distinguished road
Smile Color Change of direction of MACD

Hi All,

does anyone have a MACD MQ4 indicator that changes color based on the MACD's momentum? In other words if the histogram is going up (color blue) and the the current bar's histogram ends lower than the previous, it changes to red. It stays red until the histogram closes higher than the previous bar in which case it turns back to blue, etc.

Not concerned with signal line or when it crosses zero. However, I would want to be able to change the MACD parameters and the colors. Any help appreciated!

Jim
Reply With Quote
  #20 (permalink)  
Old 04-13-2010, 12:22 PM
penzevsergey's Avatar
Forex Senior
 
Join Date: Apr 2010
Posts: 102
penzevsergey is on a distinguished road
Default

Try to reinstall it or change properties.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
moving average and macd MuppetMan Indicators 18 02-12-2010 08:07 PM
JMA MACD and JMA CCI Indicators for MetaTrader scorpion Indicators 23 11-26-2009 07:53 PM
EMA Wave / CCI / MACD Hist combined indicator jluyt Indicators 0 03-10-2007 06:27 AM
MACD Sample EA Jovager Trading Systems 0 11-02-2006 02:42 PM
ZeroCode: Create a simple MACD Cross expert scorpion Tutorials, Tips & Tricks 2 06-08-2005 03:23 PM


All times are GMT. The time now is 10:17 AM.

Registered members gain free access to online FOREX currency trading tools, foreign exchange software, Metatrader MT4/MT5 expert advisors, MT4 indicators and EAs. Register now