海面:MA(C,60),COLORFFFFFF,NODRAW;
乘風(fēng):MA(C,8),COLORYELLOW,LINETHICK1,NODRAW;
破浪:EMA(C,21),LINETHICK2,COLORMAGENTA;
IF(破浪》海面,海面,DRAWNULL),COLORFFFFFF;
IF(乘風(fēng)》=破浪,乘風(fēng),DRAWNULL),COLORYELLOW,LINETHICK1;
IF(乘風(fēng)》破浪 AND 乘風(fēng)《=REF(乘風(fēng),1),乘風(fēng),DRAWNULL),COLORCYAN,LINETHICK1;
IF(破浪《=REF(破浪,1),破浪,DRAWNULL),COLORGREEN,LINETHICK2;
AA:=COUNT(CROSS(EMA(C,21),MA(C,8)),30)=1;
BB:=COUNT(CROSS(EMA(C,21),MA(C,60)),30)=1;
CC:=REF(BARSLAST(AA AND BB),1);
DD:=CC AND CROSS(MA(C,8),EMA(C,21));
DRAWTEXT(DD,(LOW * 0.99),‘←乘風(fēng)’),COLOR80FFFF;
(南方財富網(wǎng)SOUTHMONEY.COM)