通达信易满仓副图指标源码

[复制链接]
查看113 | 回复0 | 2021-8-26 22:35:37 | 显示全部楼层 |阅读模式

以下是通达信易满仓副图指标源码(无源码的请下载附件导入)

X_1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
短顶:STICKLINE(X_1>9 AND FILTER(X_1<REF(X_1,1),5),X_1+2,0,3,0),COLOR80FF80;
大顶:STICKLINE(X_1>20 AND FILTER(X_1<REF(X_1,1),5),X_1+20,0,7,0),COLOR80FF80;
 X_2:=HHV(X_1>20,10);
危险:STICKLINE(X_2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),X_1+10,0,4,0),COLORFF0033;
注意止损:STICKLINE(X_2 AND FILTER(X_1<REF(X_1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),X_1+6,0,3,0),COLOR0035FF;
短底:STICKLINE(X_1<(-9) AND X_1>REF(X_1,1),X_1-2,0,3,0),COLORRED;
 DRAWICON(X_1>9 AND FILTER(X_1<REF(X_1,1),5),X_1+6,15);
 DRAWICON(FILTER(X_1<(-9) AND X_1>REF(X_1,1),18),3,25);
 X_3:=MA(CLOSE,5);
 X_4:=MA(CLOSE,10);
 X_5:=MA(CLOSE,20);
 X_6:=MA(CLOSE,30);
 X_7:=MA(CLOSE,250);
 X_8:=BARSLAST(CROSS(X_3,X_4));
趋势:BARSLAST(CROSS(X_4,X_3)),COLORYELLOW;
 X_9:=IF(X_8<大趋势,X_8+1,0);
 X_10:=IF(大趋势<X_8,大趋势+1,0);
 X_11:=X_3>X_5 AND X_4>X_5 AND X_5>REF(X_5,1) AND X_6>REF(X_6,1);
 X_12:=X_9*X_11;
 X_13:=X_10*X_11;
 X_14:=HHV(X_9,5)>=2 AND X_11 AND X_3>REF(X_3,1) AND X_3>X_4;
飞起来:X_14*X_9,COLORBLUE;
 X_15:=BARSLAST(飞起来>0 AND NOT(REF(飞起来,1)))+1;
高度:(CLOSE/REF(CLOSE,X_15)-1)*100,COLOR80FFFF;
死鱼:高度,COLOR80FF80;
易满仓线:IF(高度>0,高度,0),COLORRED,LINETHICK3;

845433443.png

845433443.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则