以下是通达信底部警戒雷达副图指标 源码(无源码的请下载附件导入)
X_1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
X_4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_5:=(X_2+2*X_3+3*X_4)/6;
X_6:=MA(X_5,3);
MACD:X_6*5,COLORSTICK,LINETHICK2;
提醒:STICKLINE(X_6<=(-6),0,(-25),5,0),COLOR88B7EA;
关注:STICKLINE(X_6<=(-8),5,25,7,0);
出击:STICKLINE(X_6<=(-10),80,100,5,0),COLORYELLOW;
警戒雷达:IF(X_6<(-6),20,0),COLORBLUE,LINETHICK3;
引导雷达:STICKLINE(X_6<=(-10),65,35,4,0);
制导雷达:STICKLINE(X_6<=(-10),40,0,4,0),COLORRED;
发射:STICKLINE(X_6<=(-10),80,30,3,0),COLORGREEN;
导弹:STICKLINE(X_6<=(-10),80,60,3,0),COLORWHITE;
K:SMA(X_1,3,1),COLORGREEN;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORWHITE;
底:20,POINTDOT,COLOR77AA1A,LINETHICK2;
入顶:80,POINTDOT,COLORCYAN,LINETHICK2;
大顶:100,POINTDOT,COLOR22A6E6,LINETHICK2;
124222569.jpg
1242111425.png
|