通达信方式仓位拐点公式

2016-01-26 10:15:00来源:本站整理浏览:227

通达信方式仓位拐点公式

源码

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

Q:=SMA(RSV,3,1);

K:=SMA(Q,3,1);

I:3*Q-2*K,COLORLIGRAY;

I1:EMA(I,2),COLORLIGRAY;

I2:EMA(I,3),COLORLIGRAY;

I3:EMA(I,4),COLORLIGRAY;

I4:EMA(I,5),COLORLIGRAY;

I5:EMA(I,6),COLORLIGRAY;

I6:EMA(I,7),COLORLIGRAY;

I7:EMA(I,8),COLORLIGRAY;

I8:EMA(I,9),COLORLIGRAY;

90,COLORLIGRAY;

50,COLORLIGRAY;

10,COLORLIGRAY;

B1:EMA(K,2),COLORGREEN;

B2:EMA(B1,2),COLORGREEN;

B3:EMA(B2,2),COLORGREEN;

B4:EMA(B3,2),COLORGREEN;

B5:EMA(B4,2),COLORGREEN;

B6:EMA(B5,2),COLORGREEN;

IF(B1>=REF(B1,1),B1,DRAWNULL),COLORRED;

IF(B2>=REF(B2,1),B2,DRAWNULL),COLORRED;

IF(B3>=REF(B3,1),B3,DRAWNULL),COLORRED;

IF(B4>=REF(B4,1),B4,DRAWNULL),COLORRED;

IF(B5>=REF(B5,1),B5,DRAWNULL),COLORRED;

IF(B6>=REF(B6,1),B6,DRAWNULL),COLORRED;

STICKLINE(K>B1 ,K,REF(K,1),3,0),COLORRED;

STICKLINE(K<B1,K,REF(K,1),3,0),COLORBLUE;

STICKLINE(CROSS(K,B1),K,REF(K,1),3,0),COLORYELLOW;

STICKLINE(CROSS(B1,K),K,REF(K,1),3,0),COLORBLUE;
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式