一:疑点解答(希望您能够看完)
1.指标无私分享,源码直接分享在文章里面,可以自行复制,最好使用电脑版微信复制,手机版好像容易出现网页格式转化出错的情况。
2.不要问我那个指标最好用,这个问题没法回答,因为每个人的认知,性格是不同的,那么他的交易风格也是不同的。
我只能告诉你,没有最好的,只有最适合自己的。
3.指标源码通达信手机和电脑是共用的,没有手机版一说。
4.TN6格式文件和源码本质上是一样的,两者之间可以相互转换。
5.主图,副图指标和选股指标需要分开复制,分开安装,别全部复制一起安装。
二:指标说明
通达信分时主图指标,主要用于日内做T使用,正T和反T都行。
本指标集合了机构和散户的买盘情况,旨在确定日内的支撑和压力情况。进而确定在支持位买入,在压力位卖出。
指标比较简单,出现买信号的时候作做T买入,出现卖信号的时候做T卖出,其余阶段都是持股和空仓等待做T信号出现。
三:指标源码
XG:HHV(H,480),DOTLINE,COLORCYAN;
RQ:=DATETODAY(DATE)-DATETODAY(REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT))+1;
JY:=BARSLAST((RQ-REF(RQ,1))!=WEEKDAY-REF(WEEKDAY,1) OR TOTALBARSCOUNT-CURRBARSCOUNT=0)+1;
ABC1:=REF(C,JY);
ABC2:=REF(ABC1,JY);
ABC3:=REF(ABC2,JY);
ABC4:=REF(ABC3,JY);
ABC5:=REF(ABC4,JY);
ABC6:=REF(ABC5,JY);
ABC7:=REF(ABC6,JY);
ABC8:=REF(ABC7,JY);
ABC9:=REF(ABC8,JY);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*8/9,COLORLIRED,DOTLINE;
支撑:L1+P1*0.5/9,COLORGREEN,DOTLINE;
均线:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW,DOTLINE;{微信公众号:指标汇集}
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))+DYNAINFO(3);
DEA:=EMA(DIF,9);
MACD1:=10*(DIF-DEA);
MACD2:=EMA(MACD1,2);
STICKLINE(MACD1>=MACD2 AND MACD1>=0,DYNAINFO(3),MACD1+DYNAINFO(3),0,-1),COLORLIGRAY;
STICKLINE(MACD1<MACD2 AND MACD1>0,DYNAINFO(3),MACD1+DYNAINFO(3),0,-1),COLORLICYAN;
STICKLINE(MACD1>=MACD2 AND MACD1<0,DYNAINFO(3),MACD1+DYNAINFO(3),0,-1),COLORLIGRAY;
STICKLINE(MACD1<MACD2 AND MACD1<0,DYNAINFO(3),MACD1+DYNAINFO(3),0,-1),COLORLIGREEN;
XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));
主力:=EXPMA(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120);
底:=1;1.022,NODRAW;高:=1.033;
DRAWTEXT(CROSS(主力,1.02),C*0.999,' 拉'),COLORMAGENTA;
DRAWICON(CROSS(主力,1.04),C,45);
DRAWTEXT(CROSS(主力,1.04),C*0.999,' 冲'),COLORRED;
A1:=(VOL/CLOSE)/3;{微信公众号:指标汇集}
A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((BARSTATUS=2),((100*A2)/A6),0);
A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));
A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));
A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));
DRAWTEXT(LONGCROSS(支撑,C,2),C,' 买入'),COLOR0000FF;
DRAWICON(LONGCROSS(支撑,C,2),C-0.01,5);
STICKLINE(LONGCROSS(支撑,C,2),C,阻力,0,-1),COLORCYAN;
DRAWTEXT(LONGCROSS(C,阻力,2),C+0.01,' 卖出'),COLORGREEN;
DRAWICON(LONGCROSS(C,阻力,2),C+0.01,6);
STICKLINE(LONGCROSS(C,阻力,2),C,支撑,0,-1),COLORRED;
量价:=(VOL/CLOSE)/3;
B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);
B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);
B6:=B2+B3;DD1:=1;比:=B2/B3;
D1:=YEAR AND MONTH AND DAY;
ACB1:=V*C/100;
ACB2:=SUM((IF(((ACB1/8>20) AND (CLOSE>(REF(CLOSE,1)))),ACB1,0)),0);
ACB3:=SUM((IF(((ACB1/8>20) AND (CLOSE<(REF(CLOSE,1)))),ACB1,0)),0);
ACB4:=SUM((IF(((ACB1/8<20) AND (CLOSE>(REF(CLOSE,1)))),ACB1,0)),0);
ACB5:=SUM((IF(((ACB1/8<20) AND (CLOSE<(REF(CLOSE,1)))),ACB1,0)),0);
联系客服