The New and Improved MJ Indicator - Combining MACD and KDJ for Enhanced Effectiveness! ๐๐๐
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! ๐
Here are my previous posts that many mooers loved๐๐๐! Don't miss out๐๐๐๐
๐น A Must Have Technical Indicator! MACD + KDJ=MJ๏ผUnlock Your Trading Potential๏ผ๐
๐น ๐ฑLess than 1% Mooers Know This Awsome Indicator: SLINE Ribbonโค๏ธ
๐น ๐Best for Beginners! 3 ETF portfolio for massive riches in 2024! ๐ฐ
๐น ๐Another Must-Have Technical Indicator! MCDX 3-Color Bricks (๐visualizing PCD's Trend!)
๐น A Must Have Technical Indicator! MACD + KDJ=MJ๏ผUnlock Your Trading Potential๏ผ๐
๐น ๐ฑLess than 1% Mooers Know This Awsome Indicator: SLINE Ribbonโค๏ธ
๐น ๐Best for Beginners! 3 ETF portfolio for massive riches in 2024! ๐ฐ
๐น ๐Another Must-Have Technical Indicator! MCDX 3-Color Bricks (๐visualizing PCD's Trend!)
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. ๐๐๐
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๐ฅฐ๐ฅฐ๐ฅฐ.
๐ธ 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๐ฅฐ๐ฅฐ๐ฅฐ.
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;
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;
DEA: EMA(DIF, 9), COLOR7F9A00;
MACD: (DIF - DEA) * 2, COLORSTICK;
N:=300;
KH:=HHV(K,N);
DH:=HHV(D,N);
JH:=HHV(J,N);
KH:=HHV(K,N);
DH:=HHV(D,N);
JH:=HHV(J,N);
KL:=LLV(K,N);
DL:=LLV(D,N);
JL:=LLV(J,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;
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;
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
Comment
Sign in to post a comment
Zspurr : Appreciate it- Iโll be adding this code in today!
ZZZZakk OP Zspurr :
Kendadon1 : I donโt anything about adding metrics on here
Kendadon1 : @ZZZZakk what am I doing wrong I put everything in
Kendadon1 :
Kendadon1 :
ZZZZakk OP Kendadon1 : here is not the same as mine, please check
feelgoodlim : got error prompt?
ZZZZakk OP feelgoodlim : check to see if the right configuration is correct
feelgoodlim : ok got it, missed parameter, thanks a lot
View more comments...