通达信波段是金主图指标公式
2019/12/28 18:25:15
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),,COLORFFFFFF,LINETHICK2;
界:MA(CLOSE,27),COLOR00FFFF,LINETHICK2;
IF(买线>=卖线,界,DRAWNULL),COLORRED,LINETHICK2;
B买:IF(CROSS(指导线,界) OR CROSS(买线,卖线),C,DRAWNULL),COLORMAGENTA,NODRAW;
持仓:IF(买线>=卖线,C,DRAWNULL),COLORRED,NODRAW;
S卖:IF(CROSS(界,指导线) OR CROSS(卖线,买线),C,DRAWNULL),COLORLIGRAY,NODRAW;
空仓:IF(买线<卖线,C,DRAWNULL),COLORGREEN,NODRAW;
DRAWTEXT(CROSS(买线,卖线),界,'○'),LINETHICK2, COLORYELLOW;
DRAWTEXT(CROSS(卖线,买线),界,'▼'),LINETHICK2, COLORGREEN;
看股吧 公式 www.kanguba.c om
其它股票公式列表