以下是通达信低买高卖指标副图 码源
通达信低买高卖指标副图 码源
指标说明:当低点出现红色” B “买进,当高点出现绿色“ S “卖出。
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,LOW,’B’) ,COLORRED,LINETHICK3;
DRAWTEXT(BU,LOW,’ ̄’) ,COLOR208FFF,LINETHICK3;
DRAWTEXT(SEL,HIGH,’ ̄’) ,COLORFFFF00,LINETHICK3;
DRAWTEXT(SEL,HIGH,’S’) ,COLORGREEN,LINETHICK3;
STICKLINE(买线>=卖线,LOW,HIGH,0,1),COLORRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLOR00FF00;
STICKLINE(买线<卖线,LOW,HIGH,0,1),COLOR00FF00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),COLORFFFF00;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;
界: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;
DRAWTEXT(CROSS(指导线,界),界,’ ̄ ̄’),COLORFFFFFF;
DRAWTEXT(CROSS(界,指导线),界,’ ̄ ̄’),COLOR00FFFF;
评论(0)