EMA12:=EMA(C,12);
DEMA12:2*EMA12-EMA(EMA12,5),LINETHICK2;
B1:=EMA(C,12),NODRAW;
B2:=EMA(C,26),NODRAW;
B3:=B1-B2;
WDEA5:EMA((EMA(EMA(EMA(C,3),3),3)+B3),5),NODRAW;
WDEA6:EMA((EMA(EMA(EMA(C,3),3),3)+B3),6),NODRAW;
DRAWTEXT(CROSS(WDEA6>REF(WDEA6,2),0.5),DEMA12,Ƈ'),COLORYELLOW,FONTSIZE20;
DRAWTEXT(CROSS(WDEA6<REF(WDEA6,2),0.5),DEMA12 ,ƈ'),COLORGRAY,FONTSIZE20;
这个1的条件加上一个价格收在这个 DEMA12 上方 写1 下面收在线下方写2
(来源:文华财经)