在线检测未来函数

通达信强庄电波指标公式

来源:Internet,编辑:股旁网,2023-07-13

X_1:=REF(CLOSE,1);
X_2:=SMA(MAX(CLOSE-X_1,0),21,1)/SMA(Abs(CLOSE-X_1),21,1)*1000;
X_3:=X_2-LLV(X_2,27);
X_4:=LLV(X_2,27)-X_2;
QQ:(MA(X_3*1.5,2)*3+X_3*13)/16,COLOR445EAF;
SS:(MA(X_4*1.5,2)*3+X_4*13)/16,COLORFF9D00;
QQ0:(MA(X_3*2,2)*3+X_3*13)/16,COLOR445EAF;
SS0:(MA(X_4*2,2)*3+X_4*13)/16,COLORFF9D00;
QQ1:(MA(X_3*2.5,2)*3+X_3*13)/16,COLOR445EAF;
SS1:(MA(X_4*2.5,2)*3+X_4*13)/16,COLORFF9D00;
QQ2:(MA(X_3*3,2)*3+X_3*13)/16,COLOR445EAF;
SS2:(MA(X_4*3,2)*3+X_4*13)/16,COLORFF9D00;
QQ3:(MA(X_3*3.5,2)*3+X_3*13)/16,COLOR445EAF;
SS3:(MA(X_4*3.5,2)*3+X_4*13)/16,COLORFF9D00;
QQ4:(MA(X_3*4,2)*3+X_3*13)/16,COLOR445EAF;
SS4:(MA(X_4*4,2)*3+X_4*13)/16,COLORFF9D00;
QQ5:(MA(X_3*4.5,2)*3+X_3*13)/16,COLOR445EAF;
SS5:(MA(X_4*4.5,2)*3+X_4*13)/16,COLORFF9D00;
QQ6:(MA(X_3*5,2)*3+X_3*13)/16,COLOR445EAF;
SS6:(MA(X_4*5,2)*3+X_4*13)/16,COLORFF9D00;
QQ7:(MA(X_3*5.5,2)*3+X_3*13)/16,COLOR445EAF;
SS7:(MA(X_4*5.5,2)*3+X_4*13)/16,COLORFF9D00;
SS8:(MA(X_4*6,2)*3+X_4*13)/16,COLORFF9D00;
GG:MA(X_3,3),COLORRED;
MM:MA(X_4,3),COLORGREEN;
X_5:=IF(QQ<GG,SS,MM);
X_6:=IF(SS<MM,GG,QQ);
X_7:=IF(SS<MM-4,GG-3,QQ-3);
X_8:=IF(QQ<GG-4,SS-3,MM-3);
STICKLINE(18,0,X_7-9,12,0),COLOR00509F;
STICKLINE(18,X_8+12,0,12,0),COLOR00999A;
X_9:=EMA(CLOSE,60)-EMA(CLOSE,300);
X_10:=EMA(X_9,300);
X_11:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
X_12:=SMA(X_11,2,1);
X_13:=SMA(X_12,2,1);
X_14:=CLOSE/REF(CLOSE,3)>=1.1;
X_15:=10-SMA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),2,1)*10;
X_16:=X_15<10;
X_17:=2.28*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*58,5,1)-0*(-10);
X_18:=2.28*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*58,5,1)-0*(-10);
X_19:=(X_17>=REF(81,1))*X_17;
庄:(X_18>=REF(81,1))*X_18;
STICKLINE(X_19>REF(50,1),X_19,REF(X_19,1),2,1),COLORYELLOW,LINETHICK2;
STICKLINE(X_16,X_15,0,2,0),COLORBLUE;

通达信强庄电波指标公式

相关文章