在线检测未来函数

通达信AI机构活跃度指标公式

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

X_1:=REF(CLOSE,1);
X_2:=SMA(MAX(CLOSE-X_1,0),2,1)/SMA(Abs(CLOSE-X_1),2,1)*100;
X_3:=100*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2));
生命线:1.56,COLORYELLOW;
强势线:3,COLORRED;
大牛线:6,DOTLINE,COLORMAGENTA;
X_4:=IF(CLOSE<=OPEN,CLOSE,OPEN);
X_5:=(X_4-LOW)/LOW*100;
X_6:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_7:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;
k线公式指标:DRAWNULL,COLORRED;
X_8:=(CLOSE-OPEN)/OPEN*100;
X_9:=IF(CLOSE>=OPEN,CLOSE,OPEN);
X_10:=(HIGH-X_9)/X_9*100;
X_11:=X_10;
X_12:=X_5;
X_13:=X_8+X_10;
X_14:=X_8+X_5;
X_15:=X_10+X_5;
X_16:=X_6;
X_17:=X_7;
X_18:=MAX(MAX(MAX(MAX(MAX(MAX(X_15,X_16),X_14),X_13),X_12),X_11),X_17)*1.2;
{DRAWTEXT_FIX(C>O,0.01,0.9,0),COLORYELLOW;}
STICKLINE(X_18>=3,X_18, 3,2,0),COLORMAGENTA;
STICKLINE(X_18>=3,3,0,2,0),COLORRED;
STICKLINE(X_18>=1.56 AND X_18<3 AND X_8>=0,X_18,0,2,1),COLORRED;
STICKLINE(X_18>=1.56 AND X_18<3 AND X_8<0,X_18,0,2,1),COLORGREEN;
STICKLINE(X_18<1.56 AND X_8>=0,0,X_18,2,1),COLORWHITE;
STICKLINE(X_18<1.56 AND X_8<0,0,X_18,2,0),COLORGREEN;
X_19:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5)*100;
X_20:=(CLOSE-REF(CLOSE,4))/REF(CLOSE,4)*100;
X_21:=(HIGH-REF(CLOSE,4))/REF(CLOSE,4)*100;
X_22:=(HIGH-REF(CLOSE,3))/REF(CLOSE,3)*100;
X_23:=X_19>=25 OR X_20>=23 OR X_22>=23 AND COUNT(CLOSE=HIGH AND X_6>=9.9 AND HIGH>LOW*1.03,3)>=2 AND COUNT(X_18>=5,4)>=4;
X_24:=COUNT(X_23>0,10)=1 AND X_23>0;
{DRAWTEXT(X_24,5,7),COLORYELLOW;}
机构活跃度:X_18,COLORCYAN;

通达信AI机构活跃度指标公式

相关文章