大智慧的益盟操盘手主图指标公式股票软件源码如下: 买线:EMA(C,2),COLORRED,LINETHICK1; 卖线:EMA(SLOPE(C,21)*21+C,42),POINTDOT,COLORYELLOW; 买:=CROSS(买线,卖线); 卖:=CROSS(卖线,买线); DRAWTEXT(买,LOW-0.1,'▲B'),COLORF00FF0,LINETHICK5; DRAWTEXT(卖,HIGH+0.1,'?S'),COLORWHITE,LINETHICK5; STICKLINE(买线>=卖线,LOW,HIGH,0.1,1),COLORRED; STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORRED; STICKLINE(买线<卖线,CLOSE,OPEN,2,0),COLORGREEN; STICKLINE(买线<卖线,LOW,HIGH,0.1,1),COLORGREEN; STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,2,0),COLORRED; |