通达信多空趋势源码副图

2017-03-23 10:41:00来源:本站整理浏览:285

多空趋势源码:

X_1:=(CLOSE+HIGH+LOW+OPEN)/4;
 X_2:=SUMBARS(VOL,CAPITAL);
 X_3:=HHV(X_1,X_2);
 X_4:=LLV(X_1,X_2);
 X_5:=(2*X_1-X_4-REF(X_4,1))/(X_3-X_4);
 X_6:=(X_1-X_4)/(X_3-X_4);
 X_7:=IF(X_1<=X_4,X_5*60,X_6*60);
 X_8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
 X_9:=EMA(X_8,7);
 X_10:=HHV(HIGH,9)-LLV(LOW,9);
 X_11:=HHV(HIGH,9)-CLOSE;
 X_12:=CLOSE-LLV(LOW,9);
 X_13:=X_11/X_10*100-70;
 X_14:=INDEXADV+INDEXDEC;
 X_15:=INDEXADV;
 X_16:=INDEXDEC;
 X_17:=INDEXADV-INDEXDEC;
 X_18:=EMA(EMA(X_15,3),3);
 X_19:=EMA(EMA(EMA(X_16,3),3),3);
 X_20:=X_18-X_19;
 X_21:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
 X_22:=(2*CLOSE+HIGH+LOW)/4;
 X_23:=SMA(X_12/X_10*100,3,1);
 X_24:=LLV(LOW,34);
 X_25:=SMA(X_23,3,1)-SMA(X_13,9,1);
 X_26:=IF(X_25>100,X_25-100,0);
 X_27:=HHV(HIGH,34);
 X_28:=EMA((X_22-X_24)/(X_27-X_24)*100,8);
 X_29:=EMA(X_28,5);
 STICKLINE(X_20>0,X_28,X_29,8,1),COLORMAGENTA;
 STICKLINE(X_28-X_29>0 AND X_20>0,X_28,X_29,8,1),COLORRED;
 STICKLINE(X_20<0,X_28,X_29,8,1),COLORCYAN;
 STICKLINE(X_28-X_29<0 AND X_20<0,X_28,X_29,8,1),COLORGREEN;
 X_30:=CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND CLOSE>REF(CLOSE,1);
 X_31:=FILTER(X_30>0,45);
 X_32:=(HIGH+LOW+CLOSE*2)/4;
 X_33:=EMA(X_32,7);
 X_34:=STD(X_32,7);
 X_35:=(X_32-X_33)*100/X_34;
 X_36:=EMA(X_35,3);
 X_37:=(EMA(X_36,5)+100)/2-3;
超跌区:HHV(X_37,3),NODRAW,COLORBLUE;
 STICKLINE(超跌区<0,X_28,X_29,0.5,0),COLORBLUE;


通达信多空趋势源码副图

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式