MACD indicator - page 31

 

SpielersHedgeMACD & AdvancedGet

 

Good Indicator

Thanks FXBS for the indicator,

I'll test this indi tommorrow.

 

Modifiy a MACD?

Can anybody modify the attached MACD to show the histogram between the signal line and the macd line without showing the regular histogram or the osma?

Please make them different colors, say green when rising and red when falling.

Check the pic attached. Thanks in advance!

Steve

Files:
 

Petor

fxbs:
Mladen jus did macd of Universe (macd of everything):

https://www.mql5.com/en/forum/178416/page5

don't even know yet how to call it

MACDType parameter :

0 : "normal" MACD

1 : ZeroLag MACD

2 : MACD of RSI

3 : MACD of Momentum

4 : MACD of CCI

MACD Colored is wonderfull Indicator! Thank You!

 

?

What about fibonacci?

 
fxbs:
SpielersHedgeMACD & AdvancedGet

Thanks a lot!

 

...

radatats,

Better to wait MT5 (it should be (beta version at least) released soon)

Then what you want will be a rather simple thing to do (two new drawing styles that MT5 will have can be used for that ) :

  • DRAW_FILLING -> Color filling
  • DRAW_HISTOGRAM2 -> Histogram between buffers

Right now all we can do is to use objects and that is not a very elegant nor practical solution

regards

mladen

radatats:
Can anybody modify the attached MACD to show the histogram between the signal line and the macd line without showing the regular histogram or the osma?

Please make them different colors, say green when rising and red when falling.

Check the pic attached. Thanks in advance!

Steve
 

Fantastic ! that's what i need !

thank you so much !

I really try my best, but i never think the order of line !

thanks again !

best wishes !

mladen:
Lazy :):)

Replace that code with this one :

for(i=0; i<barsPerTimeFrame;i++,k++)

{

current = ExtMapBuffer7[k]-ExtMapBuffer6[k];

prev = ExtMapBuffer7[k+1]-ExtMapBuffer6[k+1];

if (((current0))||(current<0)) up= false;

if (((current>0)&&(prev0)) up= true;

//

//

//

ExtMapBuffer5[k] = ExtMapBuffer7[k]*koef;

ExtMapBuffer6[k] = ExtMapBuffer6[k]*koef;

It is what is called "it has everything, but at wrong place". Only the steps were in a wrong order, nothing else

Btw: those are, when you are writing the code, hardest to spot. When someone else looks at it, it is likely that he/she will spot it immediately . Once I lost 3-4 days just to find out that I need to invert 2 line position

regards

mladen
Files:
 

SAR for MACD

Hi guys.

I attach an indicator that plot the PSAR based on the MACD formula. I think it could be a good indicator. I found it in another forum and I did not find restrictions to share it.

Could be excellent if some of the advanced coders of this great forum is interested in the indicator and review it. If it is possible too, please, change the indicator in order to include: Alerts and different colors for SAR Up and SAR Down. I don't know, may be some of you have better ideas to use it...

Thanks.

Files:
 

MQL4 Reading Maximum and Minimum Values of MACD Sub Window

Hey there,

I would like to determine the slope of the MACD Signal line. However, this slope also depends on what the current maximum and minimum range is on the MACD indicator window. I would prefer NOT to set the max and min values on the indicator. Instead, I would like to (in my EA) read what those current values are.

Is this possible?

If so, could someone guide me in the right direction?

Thanks!

Reason: