通达信资金强度源码副图

2017-03-02 08:58:00来源:本站整理浏览:398

精品通达信指标:资金强度

X_1:=(CLOSE/REF(CLOSE,1)-1)*100;
 X_2:=(CLOSE/OPEN-1)*100;
 X_3:=IF(X_1>=0 OR X_2>0,MAX(X_1,X_2),MIN(X_1,X_2));
 X_4:=(LARGEINTRDVOL-LARGEOUTTRDVOL)/10;
 X_5:=(L2_VOL(0,0)-L2_VOL(0,1))/10;
 X_6:=MAX(X_4,X_5);
 X_7:=SUM(X_6,0)*1.1;
 X_8:=SMA(X_7,3,1);
 X_9:=SMA(X_8,6,1);
 X_10:=SMA(X_9,6,1);
 X_11:=SMA(X_10,6,1);
 X_12:=SMA(X_11,12,1);
 X_13:=MAX(X_8,MAX(X_9,MAX(X_10,MAX(X_11,X_12))));
 X_14:=IF(CROSS(X_7,X_13),10,IF(CROSS(X_7,X_11),8,IF(CROSS(X_7,X_10),6,IF(CROSS(X_7,X_9),4,IF(CROSS(X_7,X_8),2,IF(X_7>X_13,9,IF(X_7>X_11,7,IF(X_7>X_10,5,IF(X_7>X_9,3,IF(X_7>X_8,1,0))))))))));
 X_15:=SUM(X_6,16)*1.1;
 X_16:=SMA(X_15,3,1);
 X_17:=SMA(X_16,6,1);
 X_18:=SMA(X_17,6,1);
 X_19:=SMA(X_18,6,1);
 X_20:=MAX(X_16,MAX(X_17,MAX(X_18,X_19)));
 X_21:=IF(CROSS(X_15,X_20),10,IF(CROSS(X_15,X_19),8,IF(CROSS(X_15,X_18),6,IF(CROSS(X_15,X_17),4,IF(CROSS(X_15,X_16),2,IF(X_15>X_20,9,IF(X_15>X_19,7,IF(X_15>X_18,5,IF(X_15>X_17,3,IF(X_15>X_16,1,0))))))))));
 X_22:=IF(DATE<1180101,1,DRAWNULL);
资金强度:X_22*(X_14+X_21),COLORWHITE;
 

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式