1、MACD 看盘持股:0,COLORYELLOW,LINETHICK0;持币:0,COLORBLUE,LINETHICK0;DIF:=EMA(C,9)-EMA(C,18);DEA:=EMA(DIF,7);MACD:2*(DIF-DEA),COLORSTICK;STICKLINE(MACD=0,MACD,0,0,0),COLOR000FFF;STICKLINE(MACD0,0,MACD,0,0 ),COLORGREEN;STICKLINE(MACDDEA,DEA,DEA),COLORWHITE;建仓:IF(DIFDEA,0.025,-0.025,10,1),COLORYELLOW;STICKLIN
2、E(DIFC AND REF(DIF,A1+1)C AND REF(“KDJ.K“(9,3,3),A2+1)C AND REF(“RSI.RSI1“(6,12,24),A3+1)DIF AND CROSS(DEA,DIF);C2:=BARSLAST(REF(CROSS(“KDJ.D“(9,3,3),“KDJ.K“(9,3,3),1);D2:=REF(C,C2+1)“KDJ.K“(9,3,3) AND CROSS(“KDJ.D“(9,3,3),“KDJ.K“(9,3,3);C3:=BARSLAST(REF(CROSS(“RSI.RSI2“(6,12,24),“RSI.RSI1“(6,12,24)
3、,1);D3:=REF(C,C3+1)“RSI.RSI1“(6,12,24) AND CROSS(“RSI.RSI2“(6,12,24),“RSI.RSI1“(6,12,24);MACD 底背:IF(B10,-0.1,0),COLORRED,POINTDOT;KDJ 底背:IF(B20,-0.1,0),COLORFF00FF,POINTDOT;RSI 底背:IF(B30,-0.1,0),COLORYELLOW,POINTDOT;MACD 顶背:IF(D10,0.1,0),COLOR00FF00,POINTDOT;KDJ 顶背:IF(D20,0.1,0),COLORFFCC66,POINTDOT;RSI 顶背:IF(D30,0.1,0),COLORWHITE,POINTDOT;STICKLINE(B10,-0.1,0,2,0),COLORRED;STICKLINE(B20,-0.15,-0.05,2,0),COLORFF00FF;STICKLINE(B30,-0.2,-0.1,2,0),COLORYELLOW;STICKLINE(D10,0.1,0,2,0),COLOR00FF00;STICKLINE(D20,0.15,0.05,2,0),COLORFFCC66;STICKLINE(D30,0.2,0.1,2,0),COLORWHITE;