把买线卖线指标中B和S改成买和卖
2020/4/19 18:35:59
公式编写说明:
MA10:MA(CLOSE,10),LINETHICK1,COLORYELLOW;MA20:MA(CLOSE,20),LINETHICK1,COLORMAGENTA;MA62:MA(CLOSE,62),LINETHICK1,COLORGREEN;买线:=EMA(C,4); 卖线:=EMA(SLOPE(C,20)*10+C,35); DRAWICON(CROSS(买线,卖线),LOW*0.98,7);DRAWICON(CROSS(卖线,买线),HIGH*1.02,8);STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORLIRED; STICKLINE(买线>=卖线,CLOSE,OPEN,3,2),COLORLIRED; STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORCYAN; STICKLINE(买线<卖线,CLOSE,OPEN,3,2),COLORCYAN; STICKLINE(OPEN>CLOSE,CLOSE,OPEN,2.5,0),COLORCYAN;这个操盘手指标BS点改成显示买和卖
公式源码示例:
MA10:MA(CLOSE,10),LINETHICK1,COLORYELLOW;
MA20:MA(CLOSE,20),LINETHICK1,COLORMAGENTA;
MA62:MA(CLOSE,62),LINETHICK1,COLORGREEN;
买线:=EMA(C,4);
卖线:=EMA(SLOPE(C,20)*10+C,35);
DRAWTEXT(CROSS(买线,卖线),LOW*0.98,'买'),COLORRED;
DRAWTEXT(CROSS(卖线,买线),HIGH*1.02,'卖')COLORGREEN;
STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORLIRED;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,2),COLORLIRED;
STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORCYAN;
STICKLINE(买线<卖线,CLOSE,OPEN,3,2),COLORCYAN;
STICKLINE(OPEN>CLOSE,CLOSE,OPEN,2.5,0),COLORCYAN;
看股吧公 式 www.kanguba.co m
其它股票公式列表