以下是同花顺买卖警戒副图指标
同花顺买卖警戒副图指标
源码
50,colorgray,PRECIS0;
90,colorgray,PRECIS0;
0,colorgray,PRECIS0;
100,colorgray,PRECIS0;
XX:=CLOSE;
X1:=(MA(XX,3)+MA(XX,5)+MA(XX,8)+MA(XX,13)+MA(XX,21))/5;
lo:=x1+5*SLOPE(x1,3);
ll:SMA((lo-LLV(lo,n))/(HHV(lo,n)-LLV(lo,n))*100,3,1),colorred;
STICKLINE(1 ,20 ,10 ,0.8 ,1 ),colorgray;
趋势:3*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-2*
SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-
LLV(LOW,n))*100,5,1),3,1),colorgreen,LINETHICK0,PRECIS0;
X:=IF(CROSS(ll,10),5,0);
j:=EMA(ll,5);
Y5:j-2*STD(j,10),colorwhite,PRECIS0;
STICKLINE(ll>=90 OR ll>=80,50,60,6,1),colorblue;
DRAWTEXT(IF(X>REF(X,1),-8,0),-8, ‘8 ‘),color00FFFF,LINETHICK4;
DRAWTEXT(CROSS(10,ll),-8,’买入警戒 ‘),colormagenta,LINETHICK2,PRECIS0;
DRAWTEXT(CROSS(ll,80),55,’卖出警戒 ‘),coloryellow,LINETHICK2,PRECIS0;
Y2:EMA(ll,13)*1.2,colorwhite;
STICKLINE(y2<20 ,-20 ,-15 ,5 ,1 ),colorcyan;
DRAWTEXT(CROSS(20,y2) ,40 ,’入底’ ),colorwhite;
评论(0)