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

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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。