Page 56 of 115

Re: MACD indicators for MT4

Posted: Thu Dec 31, 2020 1:04 am
by moey_dw
PatrickZing wrote: Thu Dec 31, 2020 12:52 am Marvelous Job Mr. Tools Marvelous Job Mr Mladen. Guys I am winning because of using your indicator. Thank you so so much. I was just looking for new macd and here I find it.

Cheers
Patrick
which macd??? can u share ur success setting........... to help others

Re: MACD indicators for MT4

Posted: Thu Dec 31, 2020 1:33 am
by Cladi39
moey_dw wrote: Thu Dec 31, 2020 1:04 am

which macd??? can u share ur success setting........... to help others

Re: MACD indicators for MT4

Posted: Thu Dec 31, 2020 3:07 am
by khtauon
Jimmy wrote: Wed Dec 30, 2020 10:25 pm

Incredible! Thanks for joining and posting this very interesting indicator, I love this. I like how it has the look of the Bollinger Band Squeeze. Any chance a future update will allow us to adjust the widths? I don't want to tamper with your code :razz:

PS: Your choice of colors are also very cool!
I'm glad you enjoyed it. BTW yeah the look of this indicator is actually inspired by the BB Squeeze indicator. By adjusting the widths you mean the widths of the dots & the bar?

Edited: Added options to bulk adjust the widths of both the bars and the dots. Now also include a limit bar options so that it won't freeze your MT4 if you have too much historical data. (Forgot to include this option in the first upload)


Re: MACD indicators for MT4

Posted: Thu Dec 31, 2020 4:19 am
by Jimmy
khtauon wrote: Thu Dec 31, 2020 3:07 am I'm glad you enjoyed it. BTW yeah the look of this indicator is actually inspired by the BB Squeeze indicator. By adjusting the widths you mean the widths of the dots & the bar?

Edited: Added options to bulk adjust the widths of both the bars and the dots. Now also include a limit bar options so that it won't freeze your MT4 if you have too much historical data. (Forgot to include this option in the first upload)
MACD_Momentum_&_Trend_Index_1.03.mq4
You've just made a great indicator even better. Kudos to your very neat code and a big thanks to you for sharing this here and updating it :hug:

Re: MACD indicators for MT4

Posted: Thu Dec 31, 2020 4:27 am
by ChuChu Rocket
khtauon wrote: Thu Dec 31, 2020 3:07 am Added options to bulk adjust the widths of both the bars and the dots. Now also include a limit bar options so that it won't freeze your MT4 if you have too much historical data.
Magnificent!!

Re: MACD indicators for MT4

Posted: Thu Dec 31, 2020 4:38 am
by mladen
khtauon wrote: Thu Dec 31, 2020 3:07 am

I'm glad you enjoyed it. BTW yeah the look of this indicator is actually inspired by the BB Squeeze indicator. By adjusting the widths you mean the widths of the dots & the bar?

Edited: Added options to bulk adjust the widths of both the bars and the dots. Now also include a limit bar options so that it won't freeze your MT4 if you have too much historical data. (Forgot to include this option in the first upload)


MACD MTI2.jpg


MACD_Momentum_&_Trend_Index_1.03.mq4
Instead of limiting the number of calculated bars, change line 287 from this :
return(0);

to this
return(rates_total);

Right now with default settings, the indicator will calculate 4000 bars on each tick and I doubt that it will beat the 1 calculated bar on a new tick when that line is changed
Also 5 out of 6 loops is not needed - one single loop will do all the work

Re: MACD indicators for MT4

Posted: Thu Dec 31, 2020 8:44 am
by khtauon
mladen wrote: Thu Dec 31, 2020 4:38 am Instead of limiting the number of calculated bars, change line 287 from this :
return(0);

to this
return(rates_total);

Right now with default settings, the indicator will calculate 4000 bars on each tick and I doubt that it will beat the 1 calculated bar on a new tick when that line is changed
Also 5 out of 6 loops is not needed - one single loop will do all the work
Really appreciate the feedback! This is part of my reason I decided to post here so that I could get more advice on my coding.

Here's the latest version where I followed your suggestion & made the code a bit cleaner:


Re: MACD indicators for MT4

Posted: Thu Dec 31, 2020 3:01 pm
by PatrickZing
Cladi39 wrote: Thu Dec 31, 2020 1:33 am
sure bro
I am using macd Nrp with the setting 5 8 3
why 5 8 3 cause when ever macd cross 0 line it is powerful in 4 hour
If it cross up in 4 hour you looking to buy
do go back to 30 minutes time frame look for buying signal in macd
Do use moving average 200 in 30 minutes for trend filtering as well
As same for sell setup
When ever macd cross 0 line in from above to below in 4 hour
go back to 30 minutes time frame look for selling signal in macd
alright any doubt do ask bro
I wish you good luck in trading and happy new year to you all
Please stay safe and enjoy trading
Cheers

Re: MACD indicators for MT4

Posted: Thu Dec 31, 2020 3:23 pm
by moey_dw
PatrickZing wrote: Thu Dec 31, 2020 3:01 pm

sure bro
I am using macd Nrp with the setting 5 8 3
why 5 8 3 cause when ever macd cross 0 line it is powerful in 4 hour
If it cross up in 4 hour you looking to buy
do go back to 30 minutes time frame look for buying signal in macd

Do use moving average 200 in 30 minutes for trend filtering as well
As same for sell setup
When ever macd cross 0 line in from above to below in 4 hour
go back to 30 minutes time frame look for selling signal in macd
alright any doubt do ask bro
I wish you good luck in trading and happy new year to you all
Please stay safe and enjoy trading
Cheers
dis is great................ thx for sharing u entry technique it is so important

If it cross up in 4 hour you looking to buy
do go back to 30 minutes time frame look for buying signal in macd


very good knowledge.......... :) :) :)

Re: MACD indicators for MT4

Posted: Thu Dec 31, 2020 6:12 pm
by mladen
khtauon wrote: Thu Dec 31, 2020 8:44 am

Really appreciate the feedback! This is part of my reason I decided to post here so that I could get more advice on my coding.

Here's the latest version where I followed your suggestion & made the code a bit cleaner:

MACD_Momentum_&_Trend_Index_1.031.mq4
Please
When you state thing like "my coding" you should state the origin of the code too
I know that igorad is not posting on this forum, but when you use his code and ad a couple of lines, it, at the least, should be appropriate that you mention whose code actually you are posting