{主升浪}
MA6:MA(C,6),COLORRED,LINETHICK2;
MA18:MA(C,18),COLORGREEN,LINETHICK2;
MA34:MA(C,34),COLORYELLOW,LINETHICK2;
MA55:MA(C,55),COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(C,MA18) AND CROSS(C,MA6) AND MA6 MA18*1.0004,LOW,'金叉'),COLORLIMAGENTA;
DRAWTEXT(CROSS(MA6,MA18) AND MA6 MA18 AND C MA6,LOW,'主升浪'),COLORYELLOW;
持股:IF(C MA6,MA6,DRAWNULL),COLORRED,LINETHICK2;
空仓:IF(C MA6,MA6,DRAWNULL),COLORGREEN,LINETHICK2;
持股1:IF(C MA18,MA18,DRAWNULL),COLORRED,LINETHICK2;
观望:IF(C MA18,MA18,DRAWNULL),COLORGREEN,LINETHICK2;
主升浪:IF(C MA18 AND C MA6,MA18,DRAWNULL),COLORLIMAGENTA,LINETHICK2;