信号不会漂移 强弱区间 通达信指标 源码 贴图

2018-06-01 10:58:00来源:本站整理浏览:663

信号不会漂移 强弱区间 通达信指标 源码 贴图

强弱区间 通达信指标 源码 贴图

点击下载强弱区间 通达信指标 源码 贴图


A1:=FORCAST(EMA(CLOSE,3),6);
A2:=FORCAST(EMA(CLOSE,5),6);
A3:=FORCAST(EMA(CLOSE,7),6);
A4:=FORCAST(EMA(CLOSE,11),6);
A5:=FORCAST(EMA(CLOSE,14),6);
B:=A1+A2+A3+A4-4*A5;
TOWERC:=EMA(B,2);
VAR1:=ABS(TOWERC)+ABS(REF(TOWERC,1));
VAR2:=(3*CLOSE+2*OPEN+LOW+HIGH)/7;
A6:=FORCAST(EMA(VAR2,12),6);
S1:=STICKLINE(TOWERC>=REF(TOWERC,1) AND A6>=REF(A6,1),0,VAR1,2,0);
S2:=STICKLINE(TOWERC<REF(TOWERC,1) AND A6>=REF(A6,1),0,VAR1,2,1);
S3:=STICKLINE(TOWERC<REF(TOWERC,1) AND A6<=REF(A6,1),0,VAR1,2,0);
S4:=STICKLINE(TOWERC>=REF(TOWERC,1) AND A6<REF(A6,1),0,VAR1,2,1);
TDXSTEP131:STICKLINE(TOWERC>=REF(TOWERC,1) AND A6>=REF(A6,1),ADVANCE,OPEN,3,0),COLORRED;
TDXSTEP132:STICKLINE(TOWERC<REF(TOWERC,1) AND A6>=REF(A6,1),ADVANCE,OPEN,3,0),COLORRED;
TDXSTEP133:STICKLINE(TOWERC>=REF(TOWERC,1) AND A6>=REF(A6,1),VOLINSTK,QHJSJ,0,0.0009),COLORRED;
TDXSTEP134:STICKLINE(TOWERC<REF(TOWERC,1) AND A6>=REF(A6,1),VOLINSTK,QHJSJ,0,0.0009),COLORRED;
TDXSTEP135:STICKLINE(TOWERC<REF(TOWERC,1) AND A6<=REF(A6,1),ADVANCE,OPEN,3,0),COLORFFFF54;
TDXSTEP136:STICKLINE(TOWERC>=REF(TOWERC,1) AND A6<REF(A6,1),ADVANCE,OPEN,3,0),COLORFFFF54;
TDXSTEP137:STICKLINE(TOWERC<REF(TOWERC,1) AND A6<=REF(A6,1),VOLINSTK,QHJSJ,0,0.0009),COLORFFFF54;
TDXSTEP138:STICKLINE(TOWERC>=REF(TOWERC,1) AND A6<REF(A6,1),VOLINSTK,QHJSJ,0,0.0009),COLORFFFF54;

若上述公式在汇盈系列行情数据分析软件中有异常,请尝试如下公式:
A1:=FORCAST(EMA(CLOSE,3),6);
A2:=FORCAST(EMA(CLOSE,5),6);
A3:=FORCAST(EMA(CLOSE,7),6);
A4:=FORCAST(EMA(CLOSE,11),6);
A5:=FORCAST(EMA(CLOSE,14),6);
B:=A1+A2+A3+A4-4*A5;
TOWERC:=EMA(B,2);
VAR1:=ABS(TOWERC)+ABS(REF(TOWERC,1));
VAR2:=(3*CLOSE+2*OPEN+LOW+HIGH)/7;
A6:=FORCAST(EMA(VAR2,12),6);
S1:=STICKLINE(TOWERC>=REF(TOWERC,1) AND A6>=REF(A6,1),0,VAR1,2,0);
S2:=STICKLINE(TOWERC<REF(TOWERC,1) AND A6>=REF(A6,1),0,VAR1,2,1);
S3:=STICKLINE(TOWERC<REF(TOWERC,1) AND A6<=REF(A6,1),0,VAR1,2,0);
S4:=STICKLINE(TOWERC>=REF(TOWERC,1) AND A6<REF(A6,1),0,VAR1,2,1);
TDXSTEP131:STICKLINE(TOWERC>=REF(TOWERC,1) AND A6>=REF(A6,1),CLOSE,OPEN,3,0),COLORRED;
TDXSTEP132:STICKLINE(TOWERC<REF(TOWERC,1) AND A6>=REF(A6,1),CLOSE,OPEN,3,0),COLORRED;
TDXSTEP133:STICKLINE(TOWERC>=REF(TOWERC,1) AND A6>=REF(A6,1),HIGH,LOW,0,0.0009),COLORRED;
TDXSTEP134:STICKLINE(TOWERC<REF(TOWERC,1) AND A6>=REF(A6,1),HIGH,LOW,0,0.0009),COLORRED;

TDXSTEP135:STICKLINE(TOWERC<REF(TOWERC,1) AND A6<=REF(A6,1),CLOSE,OPEN,3,0),COLORFFFF54;
TDXSTEP136:STICKLINE(TOWERC>=REF(TOWERC,1) AND A6<REF(A6,1),CLOSE,OPEN,3,0),COLORFFFF54;
TDXSTEP137:STICKLINE(TOWERC<REF(TOWERC,1) AND A6<=REF(A6,1),HIGH,LOW,0,0.0009),COLORFFFF54;
TDXSTEP138:STICKLINE(TOWERC>=REF(TOWERC,1) AND A6<REF(A6,1),HIGH,LOW,0,0.0009),COLORFFFF54;

{-----------------------------------}


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式