您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:通达信 T+0分时 BOLL-M 抄底资金 趋势雷达 指标源码

通达信 T+0分时 BOLL-M 抄底资金 趋势雷达 指标源码


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2017-10-31 10:45:00
公式简介:

通达信 T+0分时 BOLL-M 抄底资金 趋势雷达 指标源码

T+0分时 指标源码
A0:CONST(DYNAINFO(3))NODRAW;
A5:IF(DYNAINFO(14)>0,A0*0.99,A0*1.01),NODRAW;
A1:3*(EMA(CLOSE,12)-EMA(CLOSE,26))+A5,COLORLIMAGENTA;
A2:EMA(A1,9),COLORLIGREEN;
MACD:=(A1-A2)*2+A5;
STICKLINE(A1>=A2,A5,MACD,0,-1),COLORRED;
STICKLINE(A1<A2,A5,MACD,0,-1),COLORLICYAN;

通达信 T+0分时 BOLL-M 抄底资金 趋势雷达 指标源码

BOLL-M 指标新版源码
N:=20;
中轨:SMA(CLOSE,N,1),COLORFFFFFF;
VART1:=POW((C-中轨),2);
VART2:=MA(VART1,N);
VART3:=SQRT(VART2);
UPPER:=中轨+2*VART3;
LOWER:=中轨-2*VART3;
压力:REF(UPPER,1),COLOR00FFFF;
支撑:REF(LOWER,1),COLORFF00FF;

通达信 T+0分时 BOLL-M 抄底资金 趋势雷达 指标源码

抄底资金 指标源码
R:=(LARGETRDINNUM-LARGETRDOUTNUM)/CAPITAL*100;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
相对强弱:=0.5*RSI1+0.31*RSI2+0.19*RSI3;
WAVE1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);
WAVE2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);
WAVE3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);
短线波段:=0.5*WAVE1+0.31*WAVE2+0.19*WAVE3;
机会区:20,POINTDOT,COLORRED;
风险区:80,POINTDOT,COLORGREEN;
低位区:00,POINTDOT,COLORGRAY;
风险系数:0.5*相对强弱+0.5*短线波段,COLORYELLOW;
CD1:=IF(风险系数<20 AND CLOSE>OPEN AND R>0,1,0);
CD2:=IF(风险系数<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND R>0,1,0);
CD3:=IF(REF(风险系数,1)<20 AND 风险系数>REF(风险系数,1),1,0);
SIGNALBUY:=(CD1=1 OR CD2=1 OR CD3=1);
X:=(SIGNALBUY AND COUNT(SIGNALBUY,3)=1);
DRAWICON(X,机会区,1);

趋势雷达 指标源码
MA5:=MA(C,5);
超买:3.2,COLORGRAY;
超卖:0.5,COLORGRAY;
低位:0.0,COLORGRAY;
中位线:=1.75;
最小值:=LLV(LOW,10);
最大值:=HHV(HIGH,25);
CC:=EMA((CLOSE-最小值)/(最大值-最小值)*4,4);
BB:EMA(CC,3);
AA:=BB>=REF(BB,1);
DD:=CLOSE>MA(CLOSE,20)AND CLOSE>MA(CLOSE,5);
EE:=CLOSE<MA(CLOSE,10)AND CLOSE<MA(CLOSE,5);
量:=VOL>MA(VOL,5);
STICKLINE(BB>=REF(BB,1),CC,REF(CC,1),1,0),COLORRED;
STICKLINE(BB<REF(BB,1),CC ,REF(CC,1),1,0),COLORGREEN;
D:=AA=1 AND REF(AA,1)=0 AND (REF(AA,2)+REF(AA,3)=0) AND BB<0.5;
S:=AA=1 AND REF(AA,1)=0 AND (REF(AA,2)+REF(AA,3)=0) AND DD=1 AND REF(DD,1)=0 AND 量=1;
DD1:=BB>2 AND (AA=0 AND REF(AA,1)=1) AND (REF(AA,2)+REF(AA,3)=2);
TZ:=(AA=0 AND REF(AA,1)=1) AND (REF(AA,2)+REF(AA,3)=2) AND MA5<0 AND EE=1 AND BB>1;
DRAWTEXT(D=1,BB,'底');
DRAWTEXT(S=1,BB,'升');
DRAWTEXT(DD1=1,BB,'顶');
DRAWTEXT(TZ=1,BB,'下');
{IF(BB,BB>=REF(BB,1),BB<REF(BB,1)),COLORRED;}


[url=http://www.goodgupiao.com/gupiaogongshi/47340.html][B]通达信 T+0分时 BOLL-M 抄底资金 趋势雷达 指标源码[/B][/url]