Account Info
Log Out
English
Back
Log in to access Online Inquiry
Back to the Top
TA Challenge: Blending MACD and KDJ for More Informed Decisions!
Views 76K Contents 79

The New and Improved MJ Indicator - Combining MACD and KDJ for Enhanced Effectiveness! 🎉🎉🎉

avatar
ZZZZakk joined discussion · Apr 8 05:30
Before we get started, just wanted to remind you to smash that like button and leave a comment below to let me know what you think! 👍💬
Hey Mooers! The MJ indicator that I posted weeks ago has received a lot of attention from the community. Thank you all for the likes and feedback! 🙏
The New and Improved MJ Indicator - Combining MACD and KDJ for Enhanced Effectiveness! 🎉🎉🎉
The New and Improved MJ Indicator - Combining MACD and KDJ for Enhanced Effectiveness! 🎉🎉🎉
So, what upgrades have I made to my custom MJ indicator this time? 😉
The built-in MACD indicator can't effectively identify trends and can only judge them based on the height of the histogram.😵😵😵 Therefore, I have added STICKLINE into the code to help us make the trend of MACD more apparent by setting different colors based on its rise and fall when it crosses above or below the zero axis. 📊📊📊
The New and Improved MJ Indicator - Combining MACD and KDJ for Enhanced Effectiveness! 🎉🎉🎉
How to add/upgrade the MJ indicator in Moomoo? Here is a 3 min guide for you (it would be nice if you smashed that like button now 🥰🥰🥰)
🔸 Step 1: Open Moo on PC and choose a stock
🔸 Step 2: Enter the lower right corner of the stock page-Indicator Management
🔸 Step 3: Go to the metrics management page and directly reference the picture to add/edit MJ indicator
🔸 Step 4: Commet below, let me konw weather this indicator works or not. If you have any other indicaoters wanna share with me, you r also welcomed🥰🥰🥰.
The New and Improved MJ Indicator - Combining MACD and KDJ for Enhanced Effectiveness! 🎉🎉🎉
The New and Improved MJ Indicator - Combining MACD and KDJ for Enhanced Effectiveness! 🎉🎉🎉
Code(just copy and paste😎, easy~~~😎😎😎)(‼️note: before copying the code, u need to close your auto translate, if u r using it)
RSV:=(CLOSE-LLV(LOW,P1))/(HHV(HIGH,P1)-LLV(LOW,P1))*100;
K:=SMA(RSV,P2,1);
D:=SMA(K,P3,1);
J:=3*K-2*D;
DIF: EMA(C, 12) - EMA(C, 26), COLORE51883;
DEA: EMA(DIF, 9), COLOR7F9A00;
MACD: (DIF - DEA) * 2, COLORSTICK;
N:=300;
KH:=HHV(K,N);
DH:=HHV(D,N);
JH:=HHV(J,N);
KL:=LLV(K,N);
DL:=LLV(D,N);
JL:=LLV(J,N);
KDJMAX:=MAX(KH,MAX(DH,JH));
KDJMIN:=MIN(KL,MIN(DL,JL));

KDJ_M2:=(KDJMAX+KDJMIN)/2;
KDJ_A2:=(KDJMAX-KDJMIN);

DIFH:=HHV(DIF,N);
DEAH:=HHV(DEA,N);
MACDH:=HHV(MACD,N);
DIFL:=LLV(DIF,N);
DEAL:=LLV(DEA,N);
MACDL:=LLV(MACD,N);
MACDMAX:=MAX(DIFH,MAX(DEAH,MACDH));
MACDMIN:=MIN(DIFL,MIN(DEAL,MACDL));
MACD_M1:=(MACDMAX+MACDMIN)/2;
MACD_A1:=(MACDMAX-MACDMIN);
NEW_BASE:=(0-MACD_M1)*KDJ_A2/MACD_A1+KDJ_M2;
J_NEW:J-NEW_BASE,LINETHICK2,COLORBLUE;
DIF_NEW:(DIF-MACD_M1)*KDJ_A2/MACD_A1+KDJ_M2-NEW_BASE,COLORGREEN;
DEA_NEW:(DEA-MACD_M1)*KDJ_A2/MACD_A1+KDJ_M2-NEW_BASE,COLORLIRED;
MACD_NEW:(MACD-MACD_M1)*KDJ_A2/MACD_A1+KDJ_M2-NEW_BASE;
STICKLINE(MACD_NEW > 0 AND MACD_NEW >= REF(MACD_NEW, 1), 0, MACD_NEW, 0.8, 0), COLOR26A69A;
STICKLINE(MACD_NEW> 0 AND MACD_NEW < REF(MACD_NEW, 1), 0, MACD_NEW, 0.8, 0), COLORB2DFDB;
STICKLINE(MACD_NEW < 0 AND MACD_NEW >= REF(MACD_NEW, 1), MACD_NEW, 0, 0.8, 0),COLORFFCDD2;
STICKLINE(MACD_NEW < 0 AND MACD_NEW < REF(MACD_NEW, 1), MACD_NEW, 0, 0.8, 0), COLORFF5252;
Remember to ❤ & 💬 + follow 🔔, gonna share more in the future~
Peace out, y'all!
🚀🚀🚀🚀🚀🚀
Disclaimer: This article is for informational purposes only and is not intended to provide any investment advice or recommendation. Remember, investing comes with risks, so be cautious when entering the market.
Disclaimer: Community is offered by Moomoo Technologies Inc. and is for educational purposes only. Read more
57
5
1
1
+0
11
Translate
Report
84K Views
Comment
Sign in to post a comment

View more comments...