趋势:EXPMA(CLOSE,18),COLORYELLOW,LINETHICK3;
多:IF(趋势 REF(趋势,1),趋势,DRAWNULL),COLORRED,LINETHICK3;
空:IF(趋势 REF(趋势,1),趋势,DRAWNULL),COLORCYAN,LINETHICK3;
放塔: IF(CLOSE REF(CLOSE,1) AND REF(CLOSE,1) REF(CLOSE,2) AND REF(CLOSE,1) REF(CLOSE,3) AND IF(REF(CLOSE,3) REF(CLOSE,4),1,IF(REF(CLOSE,4) REF(CLOSE,5),REF(CLOSE,1) REF(CLOSE,4) OR (REF(CLOSE,2) REF(CLOSE,4) AND REF(CLOSE,3) =REF(CLOSE,5)),IF(REF(CLOSE,5) REF(CLOSE,6),1,REF(CLOSE,6) REF(CLOSE,7))))AND CROSS(C,MA(C,5)) AND MA(C,5) REF(MA(C,5),1),1,0),COLORRED,NODRAW;
IF(放塔 0,MA(趋势,1),MA(趋势,1)),LINETHICK1,COLORYELLOW;
STICKLINE(放塔,趋势+0.2,趋势+0.3,1,0),COLORRED;
STICKLINE(放塔,趋势+0.1,趋势+0.2,2,0),COLORFF00FF;
STICKLINE(放塔,趋势,趋势+0.1,3,0),COLORYELLOW;
收塔: IF(CLOSE REF(CLOSE,1) AND REF(CLOSE,1) REF(CLOSE,2) AND REF(CLOSE,1) REF(CLOSE,3) AND IF(REF(CLOSE,3) REF(CLOSE,4),1,IF(REF(CLOSE,4) REF(CLOSE,5),REF(CLOSE,1) REF(CLOSE,4) OR (REF(CLOSE,2) REF(CLOSE,4) AND REF(CLOSE,3) =REF(CLOSE,5)),IF(REF(CLOSE,5) REF(CLOSE,6),1,REF(CLOSE,6) REF(CLOSE,7))))AND CROSS(MA(C,5),C) AND MA(C,5) REF(MA(C,5),1),1,0),COLORGREEN,NODRAW;
STICKLINE(收塔,趋势-0.2,趋势-0.3,1,0),COLORBLUE;
STICKLINE(收塔,趋势-0.1,趋势-0.2,2,0),COLORCYAN;
STICKLINE(收塔,趋势,趋势-0.1,3,0),COLORGREEN;
IF(收塔 0,MA(趋势,1),MA(趋势,1)),LINETHICK1,COLORGREEN;