CodeRe: MACD indicators for MT4

1212
ROI wrote: Wed Feb 26, 2025 4:05 pm Is it possible to make oscillator out of this?

SineWMA.mq4

Stock traders and analysts who rely on technical analysis use sine waves to plot the upper and lower limits of a stock's movement up and down over time. This helps them spot fleeting opportunities to buy or sell the stock, based on its movements outside its usual range.

The sine wave can be a useful tool when stocks are generally moving cyclically. It fails, however, when the markets overall are trending, meaning they are moving in a way that is less predictable.
Sine Wave MACD

Made this.
These users thanked the author mrtools for the post (total 8):
Krunal Gajjar, ROI, navid110, boytoy, Jimmy, macd & rsi, FXSurf, Cagliostro

Re: MACD indicators for MT4

1213
mate wrote: Thu Feb 27, 2025 2:02 am good day! Master Programmers can combine two reds into one red and two greens into one green and output it all into two buffers! If possible! or maybe there is already a ready-made analogue? Thanks
Made this one, with an option of histogram on zero cross or signal cross.
These users thanked the author mrtools for the post (total 6):
mate, boytoy, talaate, Jimmy, macd & rsi, dienone

Re: MACD indicators for MT4

1214
alpha24 wrote: Wed Feb 26, 2025 7:14 am Hello Friends,
This is regular MACD using super trend as a signal line. much promising. you may like and use in your trading strategy.
Happy Trading.
It has the edge over the old MACD.. great effort alpha comparing both the Supertrend MACD is at times one bar faster for signals but doesn't lose accuracy of the big trend. Below the original MACD is at the bottom of the chart! Brilliant!
These users thanked the author boytoy for the post (total 3):
Jimmy, macd & rsi, alpha24

Re: MACD indicators for MT4

1215
alpha24 wrote: Wed Feb 26, 2025 7:14 am Hello Friends,
This is regular MACD using super trend as a signal line. much promising. you may like and use in your trading strategy.
Happy Trading.
boytoy wrote: Thu Feb 27, 2025 7:24 pm It has the edge over the old MACD.. great effort alpha comparing both the Supertrend MACD is at times one bar faster for signals but doesn't lose accuracy of the big trend. Below the original MACD is at the bottom of the chart! Brilliant!
Lots of nice, new MACD codes in this topic.

Good comparison Boytoy, and a unique indicator that I've not actually seen until today. It is indeed a slightly quicker alternative to the MACD which has a more "assuring" look to it's signal line. Thank you Alpha24!

The latest MACD indicators from Mrtools above my post look great too, I'm about to check them out now.
These users thanked the author Jimmy for the post (total 4):
mrtools, macd & rsi, alpha24, boytoy
Myfxbook live trading results 📊

List of our most powerful reversal indicators + Guide to the "All Averages" Filters (ADXvma, Laguerre etc.)
Fibonacci numbers for indicator settings + How to draw Fibonacci Extensions + How to draw Support & Resistance


Re: MACD indicators for MT4

1216
These are great indicators for confirming a trend.
If I were a coder I'd seriously thing of making an EA of these along with a 34 sma.
1st illustration with 34 Sma MBD and 2nd the indicators by themselves
TEAMTRADER
These users thanked the author TEAMTRADER for the post:
boytoy

Re: MACD indicators for MT4

1217
mrtools wrote: Wed Feb 26, 2025 9:51 pm Made this.
Thank you very much. How to use this is so, that having both SineWMA and SineMacd with same settings and Macd zeroline as a signal, looks good with Range Bar chart.
So if SineWMA setting is 15 then Macd setting should be 14-15. Also divergence is good. Like it. SineWMA is yellow line. Yeah, thank you.
These users thanked the author ROI for the post:
mrtools