Page 123 of 123

Re: MACD indicators for MT4

Posted: Fri Mar 07, 2025 10:08 am
by mrtools
mate wrote: Fri Mar 07, 2025 9:37 am Here's what happens with two options
I'm getting this but got to keep refreshing the zones version.

Re: MACD indicators for MT4

Posted: Fri Mar 07, 2025 11:13 am
by mrtools
mate wrote: Fri Mar 07, 2025 9:37 am Here's what happens with two options
Okay did a 4-color version, the only version I have the histogram for some reason was done as an object version, which I am not sure but think it is causing the colors to become different, this version I did is using the color scheme they were trying in the object version but not using objects and the results are different. The histograms I usually do is when the macd is <> 0 that is the main trend and when macd <> it's signal that designates a strong or weak trend, the zones version is using the opposite.

This is the color scheme for the zones version
if (macd[i]>signal[i] && macd[i]> 0) colors[i] = 1; // color up
if (macd[i]>signal[i] && macd[i]< 0) colors[i] = 2; // color neutral up
if (macd[i]<signal[i] && macd[i]< 0) colors[i] = 3; // color down
if (macd[i]<signal[i] && macd[i]> 0) colors[i] = 4; // color neutral down


switch (clr)
{
case 3 : ObjectSet(name,OBJPROP_COLOR,ColorDown); break;
case 4 : ObjectSet(name,OBJPROP_COLOR,ColorNeutralDown); break;
case 1 : ObjectSet(name,OBJPROP_COLOR,ColorUp); break;
default : ObjectSet(name,OBJPROP_COLOR,ColorNeutralUp); break;
}

Re: Nonlag_MA_MACD for MT4

Posted: Fri Mar 07, 2025 10:51 pm
by global
Hi All,

I'm looking for the nonlag ma macd for MT4 but I'm only finding the MT5 version linked here: attach/file/3234038. I searched the forum but couldn't find it, so if it's available, then I'll really appreciate it if someone can point me to where it can be found. Thanks.


Re: Nonlag_MA_MACD for MT4

Posted: Sat Mar 08, 2025 12:15 am
by mrtools
global wrote: Fri Mar 07, 2025 10:51 pm Hi All,

I'm looking for the nonlag ma macd for MT4 but I'm only finding the MT5 version linked here: attach/file/3234038. I searched the forum but couldn't find it, so if it's available, then I'll really appreciate it if someone can point me to where it can be found. Thanks.


nlma.png
Hello, made this version.

Re: Nonlag_MA_MACD for MT4

Posted: Sat Mar 08, 2025 12:36 am
by global
mrtools wrote: Sat Mar 08, 2025 12:15 am Hello, made this version.
Thank you very much Mr. Tools. Much appreciated.