软件名称:[B]通达信 T+0分时、BOLL-M、抄底资金、趋势雷达 指标源码[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:5.00 KB
官方主页:Home Page
更新时间:2017-10-31 03:02:01
软件简介:
网上找到的用法你们自己研究
T+0分时
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;{www.70822.com}
STICKLINE(A1>=A2,A5,MACD,0,-1),COLORRED;
STICKLINE(A1<A2,A5,MACD,0,-1),COLORLICYAN;
BOLL-M 源码
{BOLL-M 指标新版源码}
{WWW.70822.com}
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;
同花顺转通达信
抄底资金 指标源码
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;{www.70822.com}
风险区: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);{WWW.70822.com}
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.70822.com/soft/sort013/sort05/down-117693.html]通达信 T+0分时、BOLL-M、抄底资金、趋势雷达 指标源码[/url]