攻击量能 红绿线代表波段持仓持币 小红柱减仓 小绿柱提示清仓 通达信副图指标 源码 贴图
2021-01-21 10:53:00来源:本站整理浏览:732
攻击量能 红绿线代表波段持仓持币 小红柱减仓 小绿柱提示清仓 通达信副图指标 源码 贴图
X_1:=(HIGH+LOW+CLOSE)/3;
攻击能量:(X_1-MA(X_1,14))/(0.015*AVEDEV(X_1,14)),COLORMAGENTA,LINETHICK2;
X_2:=REF(CLOSE,1);
止损价位:(X_2*1.0035*97+0.2)/99.650002,COLORRED,LINETHICK2,NODRAW;
X_3:=SMA(MAX(CLOSE-X_2,0),5,1)/SMA(ABS(CLOSE-X_2),5,1)*100;
X_4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_5:=SMA(X_4,3,1);
X_6:=SMA(X_5,3,1);
X_7:=(X_6/2+40)*1.1;
X_8:=SMA(X_7,3,1);
减仓:IF(CROSS(X_8,X_3),50,0),STICK,COLORRED;
清仓:IF(CROSS(80,X_3),(-50),0),STICK,COLORGREEN;
STICKLINE(CROSS(X_8,X_3),50,0,2,0),COLORRED;
STICKLINE(CROSS(80,X_3),(-50),0,2,0),COLORGREEN;
X_9:=MA(CLOSE,27);
X_10:=(CLOSE-X_9)/X_9*100;
X_11:=MA(X_10,2);{www.gpxiazai.com}
X_12:=BARSLAST(CROSS((-10),X_11)=1);
X_13:=X_11<(-10) AND X_12>3;
准备建仓:IF(X_13,(-50),0),STICK,COLORYELLOW,LINETHICK4;
X_14:=(EXPMA(CLOSE,30)-REF(EXPMA(CLOSE,30),1))/REF(EXPMA(CLOSE,30),1);
波段过渡:EMA(SUM(X_14,2),3),COLORYELLOW,LINETHICK4;
买:IF(波段过渡>REF(波段过渡,1),波段过渡,DRAWNULL),COLORRED,LINETHICK4;
卖:IF(波段过渡<REF(波段过渡,1),波段过渡,DRAWNULL),COLORGREEN,LINETHICK4;
X_15:=STRCAT(STRCAT(12,CON2STR(CAPITAL/1000000,2)),13);
X_16:=STRCAT(14,STRCAT(STRCAT(STRCAT(15,HYBLOCK),STRCAT(16,DYBLOCK)),STRCAT(17,GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,X_15),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,X_16),COLORYELLOW;