通达信分时T 0神器公式源码
综合分时主图源码 做T+0必备通达信指标公式源码
通达信综合分时主图源码做T+0必备这个公式指标是我综合了几个分时指标。
经修改加工而成,经试有一段时间,效果非常不错!现发出来与大家共同研究学习,共同担高。
指标标注非常清楚,除了极弊端行情,大部份时间是很有用的!现价:CLOSE,COLORFFFFFF,LINETHICK2;均价:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L11:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L11;阻力:L11+P1*7/8,COLOR00DD00;支撑:L11+P1*0.5/8,COLORMAGENTA;中:阻力*0.5+支撑*0.5,DOTLINE;STICKLINE(CROSS(支撑,现价),中,现价,2,0),COLORYELLOW,LINETHICK5;STICKLINE(CROSS(现价,阻力),现价,中,2,0),COLORFFCC66,LINETHICK5;DRAWTEXT(LONGCROSS(支撑,C,2),C,'--反弹'),COLORYELLOW;DRAWTEXT(LONGCROSS(C,阻力,2),C,'--出货'),COLORYELLOW;A1:=(DVOL/C)/2,NODRAW;A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);A5:=SUM(IF(A1<100 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)));机构买盘:=(A2),LINETHICK2;机构卖盘:=(A3),LINETHICK2;散户买盘:=(A4);散户卖盘:=(A5);机构买:=(A2),LINETHICK6,COLORRED;机构卖:=(A3),LINETHICK6,COLORGREEN;DD1:=1;AAA1:=STRCAT(STRCAT('机构买',CON2STR((100*A2)/A6,0)),'%'); AAA2:=STRCAT(STRCAT('机构卖',CON2STR((100*A3)/A6,0)),'%'); AAA3:=STRCAT(STRCAT('净买入',CON2STR((100*(A2-A3))/A6,0)),'%'); DRAWTEXT_FIX(DD1=1,0,0.04,0,AAA1),COLORRED;DRAWTEXT_FIX(DD1=1,0,0.12,0,AAA2),COLORGREEN; DRAWTEXT_FIX(DD1=1,0,0.20,0,AAA3),COLOR00FFFF;A11:=C>REF(C,4);NT:=BARSLASTCOUNT(A11);TJ11:=NT=9;TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT; DRAWTEXT(AY>0,H*1.001,VAR2STR(AY,0)),COLORFF00FF; DRAWTEXT(NT=9,H*1.001,'9'),COLORGREEN;B1:=C<REF(C,4);NT0:=BARSLASTCOUNT(B1);TJ21:=NT0=9 ;TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;DRAWTEXT(AY1>0,L*0.999,VAR2STR(AY1,0)),COLORFF00FF;DRAWTEXT(NT0=9,L*0.999,'9'),COLORGREEN;ZRS:=CONST(DYNAINFO(3)),NODRAW;A12:=3.5*(EMA(CLOSE,48)-EMA(CLOSE,104))+ZRS,COLORLIMAGENTA;A22:=EMA(A12,36),COLORLIBLUE;MACD:=(A12-A22)*2+ZRS;DRAWKLINE(H,O,L,C);STICKLINE(A12>=A22,ZRS,MACD ,0,0),COLORRED;STICKLINE(A12>=A22 AND MACD<REF(MACD,1),ZRS,MACD ,0,0),COLORYELLOW; STICKLINE(A12<A22,ZRS,MACD ,0,0),COLORCYAN;STICKLINE(A12<A22 AND MACD>REF(MACD,1),ZRS,MACD ,0,0),COLORFFFFFF;。
通达信经典分时主图 源码指标公式
DRAWGBK(O>=0,RGB(60,35,0),RGB(0,60,60),0,'背景图',0),LINETHICK2;{========================额外==========================} Z1:=STRCAT(DYBLOCK,' ');Z2:=STRCAT(Z1,HYBLOCK);Z3:=STRCAT(Z2,' ');Z4:=STRCAT(Z3,GNBLOCK);Z5:=STRCAT(Z4,' ');Z6:=STRCAT(Z5,FGBLOCK);DRAWTEXT_FIX(ISLASTBAR,0.01,0.012,0,STRCAT(Z6,ZHBLOCK)),COLORCYAN;DRAWTEXT_FIX(ISLASTBAR,0,0.14,0,STRCAT('概念: ',GNBLOCK)),COLORWHITE;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);突破:=REF(EMA(C,14),1);A1X:=(EMA(C,10)-突破)/突破*100;多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL); STICKLINE(A1X>=0,多方,突破,0,0),COLOR000099;STICKLINE(A1X<0,空方,突破,0,0),COLOR00CC66;最新:CLOSE,LINETHICK1,COLORWHITE;AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));BB:=BETWEEN(C/AA,C+H,C-H);DRAWTEXT( ISLASTBAR AND 最新>REF(最新,1),最新,STRCAT(' 涨▲',CON2STR(最新,2))),COLORMAGENTA;DRAWTEXT( ISLASTBAR AND 最新<REF(最新,1),最新,STRCAT(' 跌▼',CON2STR(最新,2))),COLOR00FF00;DRAWTEXT_FIX(1,0.880,1-0.97,0,DYBLOCK),COLORWHITE;DRAWTEXT_FIX(1,0.940,1-0.97,0,HYBLOCK),COLORYELLOW;均价:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;DXJP:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,21)-LLV(LOW,34))*100;FSZX:=(EMA(DXJP,3)-50)*2,COLORGRAY;BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)) )/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU))) ));DRAWICON(FSZX<=-95,C,38);DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),C,'板'),COLORCYAN; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),C,'追'),COLORYELLOW;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:=L1+P1*7/8,COLORGREEN;支撑:=L1+P1*0.5/8,COLORMAGENTA;DRAWICON(LONGCROSS(支撑,C,2),C,5);AYGB1:=(DVOL/C)/2,NODRAW;AYGB2:=SUM(IF(AYGB1>100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);AYGB3:=SUM(IF(AYGB1>100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB4:=SUM(IF(AYGB1<100 AND CLOSE>REF(CLOSE,1),AYGB1,0),0);AYGB5:=SUM(IF(AYGB1<100 AND CLOSE<REF(CLOSE,1),AYGB1,0),0);AYGB6:=AYGB2+AYGB3+AYGB4+AYGB5;机买:=(AYGB2/AYGB6)*100-100,LINETHICK1,COLORRED;机卖:=(AYGB3/AYGB6)*100-100,LINETHICK1,COLORGREEN;主力差:=机买-机卖;LQH:=主力差>0 AND REF(主力差,1)<=0;DRAWICON(LQH,C,25);JJXX:=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;JJXXH:=(JJXX*1.007 ),COLORFF6600;FFLL:=SUM(VOL,6)>REF(MA(VOL,30),1)*10;HHPP:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)< 1;HHZZ:=HHPP AND FFLL AND (C>JJXXH);TTPP2:=FILTER(HHZZ,100);DRAWICON(TTPP2,C,26);ZS:=DYNAINFO(3);KP:=DYNAINFO(4);ZX:=DYNAINFO(7);ZG:=DYNAINFO(5);ZD:=DYNAINFO(6);分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW;RC:=DYNAINFO( 3);量比超2.5:=IF(DYNAINFO(17)>2.5,RC-0.15,DRAWNULL),COLORFF9933;量比超5:=IF(DYNAINFO(17)>5,RC-0.15,DRAWNULL),COLORBA75FF;DRAWBAND(量比超2.5,RGB(51,153,255),量比超2.5+0.015,RGB(51,153,255)); DRAWBAND(量比超5,RGB(255,118,188),量比超5+0.015,RGB(255,118,188));{首次起爆}TT:=BARSCOUNT(C);{取得有效收盘价}均价黄:SUM(C*V,TT)/SUM(V,TT),LINETHICK1,COLOR00FFE1;{分时均线的取值}量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);价上岗量破5:=C>均价黄AND V>MA(V,5);量起爆:=V>=REF(V,1)*2 ;价创新高:=C>=HHV(C,0);量创新高:=V>=HHV(V,0);对昨日涨幅:=C/DYNAINFO(3)<=1.02;{涨幅控制2个点以内}每日一点:=量两步AND 价两步AND 价上岗量破5 AND 量起爆AND 价创新高AND 量创新高AND 对昨日涨幅;{计算收益、已爆分钟}VC:=BARSSINCE(每日一点)+1;首次起爆价:REF(C,VC-1),NODRAW;今天收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;起爆时间:REF(TIME/10000,VC),NODRAW;已爆分钟:VC-1,NODRAW;首次起爆量:=REF(VOL,VC-1);DRAWICON(已爆分钟>=2,RC-0.1,11);{出现金手指,至少已经确认2分钟了};R1:=MA(C,13);R2:=SMA(R1,5,2);DRAWBAND(R1,RGB(255,0,125),R2,RGB(0,111,255));C,LINETHICK2,COLORDDDDDD;{涨停}地:=DYNAINFO(11)+(DYNAINFO(11)*0.021);涨停:IF(DYNAINFO(7)>地,1,0),NODRAW,COLOR0088FF;涨:=IF(涨停=1,C+0.0075,DRAWNULL),COLOR8000FF,LINETHICK2;DRAWBAND(涨,RGB(255,211,0),C-0.0075,RGB(255,125,0));时间:=TIME=100000;N:=BARSLAST(时间);常数:=CONST(IF(N=0,C,REF(C,N))),COLORGREEN,DOTLINE;CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N)));CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N)));STICKLINE(时间=1,CS1,CS2,1.2,0),COLOR008888;{涨停2}AAZ:=BARSLAST(TIME=103000);CC:=REF(HHV(C,0),AAZ+1);VV:=REF(HHV(V,0),AAZ+1);ZF:=CC/DYNAINFO(3)<1.05;涨停2:=CROSS(C,CC) AND V>VV AND ZF,COLOR0000FF; DRAWICON(涨停2,RC-0.06,13);A:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03; DRAWTEXT(ABS(A)>0,L, '假阴'),COLORYELLOW;均价5:AMOUNT/VOL/100,NODRAW;假阴0:=O>C AND 均价5>REF(C,1);DRAWTEXT(假阴0,L-0.2,'假阴真阳'),COLORE8E8E8; STICKLINE(假阴0,O,C,1,0),COLORRED;时间N:=TIME=100000;NN:=BARSLAST(时间N),COLOR808080;常数N:CONST(IF(NN=0,C,REF(C,N))),COLOR004848,DOTLINE;。
实盘T+0分时通达信指标公式源码
根据图中的信号及文字说明操作,成功率还是挺高的XG:HHV(H,480),DOTLINE,COLORCYAN;STICKLINE(FILTER(CROSS(C,REF(XG,1)),10) ANDC>REF(XG,1),C*0.995,C,1,0),COLORMAGENTA;DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10) AND C>REF(XG,1),C*0.995,'突'),COLORYELLOW;RQ:=DATETODAY(DATE)-DATETODAY(REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT ))+1;JY:=BARSLAST((RQ-REF(RQ,1))!=WEEKDAY-REF(WEEKDAY,1) OR TOTALBARSCOUNT-CURRBARSCOUNT=0)+1;MA1:=REF(C,JY);MA2:=REF(MA1,JY);MA3:=REF(MA2,JY);MA4:=REF(MA3,JY);MA5:=REF(MA4,JY);MA6:=REF(MA5,JY);MA7:=REF(MA6,JY);MA8:=REF(MA7,JY);MA9:=REF(MA8,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(AM OUNT,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 ANDMACD1>=0,DYNAINFO(3),MACD1+DYNAINFO(3),0,-1),COLORLIGRAY; STICKLINE(MACD1<MACD2 ANDMACD1>0,DYNAINFO(3),MACD1+DYNAINFO(3),0,-1),COLORLICYAN; STICKLINE(MACD1>=MACD2 ANDMACD1<0,DYNAINFO(3),MACD1+DYNAINFO(3),0,-1),COLORLIGRAY; STICKLINE(MACD1<MACD2 ANDMACD1<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,26);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-0.01,' 买'),COLORYELLOW; DRAWICON(LONGCROSS(支撑,C,2),C-0.01,23);STICKLINE(LONGCROSS(支撑,C,2),C,阻力,0,-1),COLORCYAN; DRAWTEXT(LONGCROSS(C,阻力,2),C+0.01,' 卖'),COLORGREEN; DRAWICON(LONGCROSS(C,阻力,2),C+0.01,15);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;BA1:=STRCAT(CON2STR(YEAR,0),'年');BA2:=STRCAT(CON2STR(MONTH,0),'月');BA3:=STRCAT(CON2STR(DAY,0),'日');BA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));AA:=STRCAT(STRCAT(STRCAT(BA1,BA2),STRCAT(BA3,BA4)),'');DRAWTEXT_FIX(D1,0.905,0,0,AA),COLORGRAY;WA1:=V*C/100;WA2:=SUM((IF(((WA1/8>20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);WA3:=SUM((IF(((WA1/8>20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0);WA4:=SUM((IF(((WA1/8<20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);WA5:=SUM((IF(((WA1/8<20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0);WA6:=((A2+A3)+A4)+A5;WA7:=IF((ISLASTBAR),((100*WA2)/WA6),0);WA8:=IF((ISLASTBAR),((100*WA3)/WA6),0);WA9:=IF((ISLASTBAR),((100*WA4)/WA6),0);WA10:=IF((ISLASTBAR),((100*WA5)/WA6),0);机构买盘:=(WA2);机构卖盘:=(WA3);散户买盘:=(WA4);散户卖盘:=(WA5);DRAWTEXT_FIX(1,0.752,1-0.088,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),' 万')),COLORRED;DRAWTEXT_FIX(1,0.752,1-0.001,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),' 万')),COLORGREEN;DRAWTEXT_FIX(1,0.883,1-0.088,0,STRCAT(STRCAT('【散户买盘】',CON2STR(散户买盘,2)),' 万')),COLORMAGENTA;DRAWTEXT_FIX(1,0.883,1-0.001,0,STRCAT(STRCAT('【散户卖盘】',CON2STR(散户卖盘,2)),' 万')),COLORCYAN;。
?做T神器分时T0主图,源码、主图、通达信
做T神器分时T0主图,源码、主图、通达信做T神器分时T0主图,源码、主图、通达信● 支撑线(绿线) 压力线(红线) ● 买入:股价到达支撑线,第1次买点信号出现后,激进者可介入。
第2次买点信号出现后,但股价持平或高于第1次买入信号出现时的股价,稳健者可介入。
● 卖出:只要有的挣,在哪里卖都是对的,当然,可以参考第一次出现的卖点信号出货。
同一个指标,在不同的人手里,效果是完全不一样的,很多人只看表面出现的信号,自己没研究,或发布者没详细介绍使用方法,本来很好的指标,结果用起来处处是坑,其实指标想说:“世界上没有100%成功率的指标,但我也算个优质或精品指标啊,这种锅我不背”。
所以我会尽可能详细说明指标用法、激进派和保守派分别的买卖时机。
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;MA1:=REF(C,JY);MA2:=REF(MA1,JY);MA3:=REF(MA2,JY);MA4:=REF(MA3,JY);MA5:=REF(MA4,JY);MA6:=REF(MA5,JY);MA7:=REF(MA6,JY);MA8:=REF(MA7,JY);MA9:=REF(MA8,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,BARS COUNT(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-0.01,' 买入'),COLOR0000FF;DRAWICON(LONGCROSS(支撑,C,2),C-0.01,1);STICKLINE(LONGCROSS(支撑,C,2),C,阻力,0,-1),COLORCYAN;DRAWTEXT(LONGCROSS(C,阻力,2),C+0.01,' 卖出'),COLORGREEN;DRAWICON(LONGCROSS(C,阻力,2),C+0.01,45);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;BA1:=STRCAT(CON2STR(YEAR,0),'年');BA2:=STRCAT(CON2STR(MONTH,0),'月');BA3:=STRCAT(CON2STR(DAY,0),'日');BA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));AA:=STRCAT(STRCAT(STRCAT(BA1,BA2),STRCAT(BA3,BA4)),'' );DRAWTEXT_FIX(D1,0.905,0,0,AA),COLORGRAY;WA1:=V*C/100;WA2:=SUM((IF(((WA1/8>20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);WA3:=SUM((IF(((WA1/8>20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0);WA4:=SUM((IF(((WA1/8<20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);WA5:=SUM((IF(((WA1/8<20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0);WA6:=((A2+A3)+A4)+A5;WA7:=IF((ISLASTBAR),((100*WA2)/WA6),0);WA8:=IF((ISLASTBAR),((100*WA3)/WA6),0);WA9:=IF((ISLASTBAR),((100*WA4)/WA6),0);WA10:=IF((ISLASTBAR),((100*WA5)/WA6),0);机构买盘:=(WA2);机构卖盘:=(WA3);散户买盘:=(WA4);散户卖盘:=(WA5);DRAWTEXT_FIX(1,0.752,1-0.088,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),' 万')),COLORRED;DRAWTEXT_FIX(1,0.752,1-0.001,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),' 万')),COLORGREEN;DRAWTEXT_FIX(1,0.883,1-0.088,0,STRCAT(STRCAT('【散户买盘】',CON2STR(散户买盘,2)),' 万')),COLORMAGENTA;DRAWTEXT_FIX(1,0.883,1-0.001,0,STRCAT(STRCAT('【散户卖盘】',CON2STR(散户卖盘,2)),' 万')),COLORCYAN;。
通达信极品T 0指标源码炒股10年珍藏自用
通达信极品T+0指标源码炒股10年珍藏自用V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主力撤: IF(V4<=0,V4,0),COLORGREEN;主力进: IF(V4>=0,V4,0);V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(IN DEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(IND EXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),COLORYELLOW;大盘资金撤走:IF(VB<=0,VB,0),COLORRED;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5, 1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100 ,5,1),3,1);趋势线: EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现金: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);DRAWTEXT (AA,30,'准备现金'),COLORCC9900;买入股票: STICKLINE(趋势线<=13 ANDV12>13,0,50,5,0),COLOR0099FF;BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;见顶清仓: STICKLINE(趋势线>=90 ANDV12,0,30,5,0),COLORRED;CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);。
分时T+0通达信指标公式源码
V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主力撤: IF(V4<=0,V4,0),COLORBLUE;主力进: IF(V4>=0,V4,0),COLORFF00FF;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3); VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),COLORRED;大盘资金撤走:IF(VB<=0,VB,0),COLORGREEN;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/ (HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线: EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现金: STICKLINE(趋势线<=13,0,8,5,0),COLORCC9900;AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);DRAWTEXT (AA,20,'准备'),COLORCC9900;买入股票: STICKLINE(趋势线<=13 AND V12>13,0,16,5,0),COLOR0099FF;BB:= 趋势线<=13 AND V12>13 AND FILTER((趋势线<=13 AND V12>13),10); DRAWTEXT (BB,5,'买入'),COLORYELLOW;卖临界: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00; 见顶清仓:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8); DRAWTEXT( 见顶清仓,90,'逃顶'),COLORYELLOW; CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);STICKLINE(大盘资金进场AND 趋势线<13,0,30,10,0),COLORRED; STICKLINE(大盘资金撤走AND 趋势线>90,0,30,10,0),COLORGREEN;STICKLINE(主力进AND 趋势线<13,0,40,10,0),COLORFF00FF; STICKLINE(主力撤AND 趋势线>90,0,40,10,0),COLORBLUE;。
通达信指标公式源码 好用分时突破指标
均线: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, LINETHICK1;均线H:=(均线*1.007 ),COLORLICYAN;均线L:=(均线/1.005 ),COLORWHITE;均线横盘:=C<均线H AND C>均线L;放量:=SUM(VOL,6)>REF(MA(VOL,30),1)*10;横盘:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/ CLOSE)<1;收:DYNAINFO( 3),COLORWHITE,LINETHICK2;横涨:=横盘AND 放量AND (C>均线H);横跌:=横盘AND 放量AND CROSS(均线L,C) ;突破:=FILTER(横涨,100);下破:=FILTER(横跌,50) ;DRAWTEXT(突破,C*1.01,'突破'),COLORWHITE;现价:C,COLORWHITE;AA:=MA((2*CLOSE+HIGH+LOW)/4,5);谷1:AA*102/100,COLORMAGENTA;BGTYU:=IF(DATE<=1130107,1,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOS E*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95); VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU)) ),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUN T((DCLOSE*BGTYU)))));DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),现价*0.98,'买进'),COLORWHITE;DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),现价*0.99,1);DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/V BNH),120)),现价,'主穿散')COLORWHITE;DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),现价*0.98,55),COLORWHITE;MA30:=EMA(CLOSE,30);强弱界定:=EMA(CLOSE,900);DRAWICON(CROSS(MA30,强弱界定),现价*0.98,34);VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2;VAR3:=(VAR1+VAR2)/2;VAR4:=EMA(VAR3,30);VAR5:=EMA(VAR3,60);VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);趋势关注:=IF(CROSS(VAR1,EMA(VAR1,60)) ANDVAR6,1,0);DRAWBAND(VAR1*0.96,RGB(150,30,30),EMA(VAR1,60)*0.96,RGB( 0,110,30));DRAWTEXT(趋势关注=1,C*0.97,'转折'),COLORWHITE;DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF-DEA)*2;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) AND CROSS(DIFF,DEA);DRAWTEXT(底背离,L*0.98,'↖底背'),COLORYELLOW; GDK:=(SMA(C,2,1)-SMA(C,6,1))*8;ZSR:DYNAINFO( 3)*0.96;STICKLINE(GDK>0,ZSR,ZSR+GDK,0,0) ,COLORRED;STICKLINE(GDK<=0,ZSR,ZSR+GDK,0,0) ,COLORGREEN;STICKLINE(GDK>0 ,ZSR+GDK*0.05,ZSR+GDK*0.15,0,0) ,COLORRED; STICKLINE(GDK>0 ,ZSR+GDK*0.2,ZSR+GDK*0.35,0,0) ,COLORRED; STICKLINE(GDK>0 ,ZSR+GDK*0.4,ZSR+GDK*0.55,0,0) ,COLORRED; STICKLINE(GDK>0 ,ZSR+GDK*0.6,ZSR+GDK*0.75,0,0) ,COLORRED; STICKLINE(GDK>0 ,ZSR+GDK*0.8,ZSR+GDK*0.95,0,0) ,COLORRED; STICKLINE(GDK>0 ,ZSR+GDK*0.86,ZSR+GDK*0.999,0,0) ,COLORRED; STICKLINE(GDK<=0 ,(ZSR+GDK*0.05),(ZSR+GDK*0.15),0,0) ,COLORGREEN; STICKLINE(GDK<=0 ,(ZSR+GDK*0.2),(ZSR+GDK*0.35),0,0) ,COLORGREEN; STICKLINE(GDK<=0 ,(ZSR+GDK*0.4),(ZSR+GDK*0.55),0,0),COLORGREEN; STICKLINE(GDK<=0 ,(ZSR+GDK*0.6),(ZSR+GDK*0.75),0,0) ,COLORGREEN; STICKLINE(GDK<=0 ,(ZSR+GDK*0.8),(ZSR+GDK*0.95),0,0) ,COLORGREEN; STICKLINE(GDK<=0 ,(ZSR+GDK*0.86),(ZSR+GDK*0.999),0,0) ,COLORGREE N;均价:DYNAINFO(11),COLORGREEN,DOTLINE;神奇:=HHV(MA(H,13),45),COLORGREEN,LINETHICK4;奇特:=LLV(MA(H,13),1),COLORWHITE;STICKLINE(神奇=奇特,DYNAINFO( 3)*0.935,DYNAINFO( 3)*0.938,2,1),COLORMAGENTA;MA25:= EMA(CLOSE,25);牛熊分水岭:=EMA(CLOSE,905);STICKLINE((MA25 > 牛熊分水岭),DYNAINFO( 3)*0.925,DYNAINFO( 3)*0.928,4,0),COLORRED; 均线2:=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; 均线H1:=(均线2*1.005 ),COLORFF6600;均线L1:=(均线2/1.002 ),COLOR00FF00;均线横盘1:=C<均线H1 AND C>均线L1;STICKLINE(均线横盘1,DYNAINFO( 3)*0.921,DYNAINFO( 3)*0.923,3,0),COLORYELLOW;。
通达信指标公式源码分时多空指标
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);VAR1E:=EMA(VAR1D,30);VAR1F:=2*(VAR1D-VAR1E)*10;VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);VAR25:=IF(YEAR<2058 AND VAR1F>0.015,VAR20,0)/45/4;JJ :=(C*2+H+L)/4;SKK :( EMA(JJ,7) - EMA(JJ,13))*180,COLORRED;SDD : EMA(SKK,2),COLORYELLOW;多方:(SKK-SDD)*0.000000001,COLORRED,LINETHICK0;空方:-1*(SKK-SDD)*0.000000001,COLORGREEN,LINETHICK0; RC:=DYNAINFO(3);RC,COLORWHITE;MAV:=(2*C+H+L)/4;SK:(SLOPE(EMA(MAV,2),7)*15+MAV)*0.8*0.0001,COLORRED; SD:EMA(SK,2),COLORGREEN;SJ:2.8*SK-1.8*SD,COLORYELLOW;S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:2*(S2-S6)*15*4*1.5, COLORSTICK;STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK,0.01,0),COLORFF00FF;STICKLINE(DK>0 AND SK>SD ,RC,RC+DK,0.01,0),COLOR0000FF;STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,0.01,0),COLORFFFF00;STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,0.01,0),COLOR00FF00;STICKLINE(CROSS(多方,空方),RC,RC+DK,2,0),COLOR00FFFF;STICKLINE(CROSS(空方,多方),RC,RC+DK,2,0),COLORFF0000;STICKLINE(DK<0 AND 多方<空方AND SK<SD,RC,RC+DK,0.01,0),COLOR00FF00;VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;VAR4:=EMA(VAR3,5);操盘:=3*VAR3-2*VAR4;A1:=CROSS(操盘,VAR3) AND VAR3<2.1 AND C>O;STICKLINE(A1,8,0,4,0),COLOR0000FF;AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;BB:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;CC:=EMA(AA,2);DD:=EMA(BB,5);TJ0:=CROSS(CC,DD);上:=EMA(C,3);中:=EMA(C,5);下:=EMA(中,5);TJ1:=CROSS(上,中);TJ2:=上>REF(上,1);X1:=(C+L+H)/3;BB5:=ATAN(EMA(X1,5)-REF(EMA(X1,5),1))*3.1416*10;EMA3:=EMA(C,3);TJ3:=BB5>1 AND EMA(X1,5)>REF(EMA(X1,3),1);STICKLINE(TJ1 AND TJ2 AND TJ0 AND TJ3,0,8,8,0)COLOR00FFFF;DRAWICON(TJ1 AND TJ2 AND TJ0 AND TJ3,0,15);DRAWBAND(SKK,RGB(200,50,55),SDD,RGB(50,100,10));持:IF(SKK>=SDD,SKK,DRAWNULL),COLORRED;观:IF(SDD>=SKK,SDD,DRAWNULL),COLORFF9900;股:IF(SKK>=SDD,SDD,DRAWNULL),COLOR00FFFF;望:IF(SDD>=SKK,SKK,DRAWNULL),COLOR00FF00;FT1:=FILTER(CROSS(SKK,SDD),5) AND SKK<0 AND SKK>REF(SKK,1) AND REF(SKK,1)>REF(SKK,2); DRAWICON(FT1,SKK,26);FT2:=FILTER(CROSS(SKK,0) AND 多方,8);DRAWICON(FT2,0,23);DRAWICON(FILTER(CROSS(SDD,SKK) AND SDD>10,3),SDD,19);。
通达信指标公式源码 分时神线副图分时
{分时神线-和谐完整版}现价:CLOSE,COLORWHITE,LINETHICK1;赚钱1:=(BARSLAST(((HOUR = 9) AND (MINUTE = 31))) + 1);赚钱2:=SUM(CLOSE*VOL,BARSCOUNT(C))/SUM(VOL,BARSCOUNT(C));赚钱3:=(SUM((CLOSE * VOL),0) / SUM(VOL,0));赚钱4:=(((SETCODE = 0) OR (SETCODE = 1)) AND (CLOSE < 500));均价:=IF(赚钱4,赚钱2,赚钱3),COLORYELLOW;赚钱11:=MA((REF(MAX(H,REF(C,1)),1)-REF(MIN(L,REF(C,1)),1))/REF(C,2)*100,5) /4;赚钱12:=(赚钱11 * 1.3);赚钱15:=((CLOSE > REF(CLOSE,1)) AND ((CLOSE / 均价) > (1 + (赚钱11 / 100))));赚钱16:=((CLOSE < REF(CLOSE,1)) AND ((CLOSE / 均价) < (1 - (赚钱11 / 100))));HH1:=((REF(SUM(赚钱15,0),1) = 0) AND (SUM(赚钱15,0) = 1));LL1:=((REF(SUM(赚钱16,0),1) = 0) AND (SUM(赚钱16,0) = 1));赚钱19:=(SUM(HH1,0) * CROSS(COUNT((CLOSE <REF(CLOSE,1)),BARSLAST(HH1)),0.5));赚钱20:=(SUM(LL1,0) * CROSS(COUNT((CLOSE >REF(CLOSE,1)),BARSLAST(LL1)),0.5));CS1:CONST(SUM(IF(赚钱19,REF(CLOSE,1),DRAWNULL),0)),COLORGREEN,LINETHICK1;CB1:CONST(SUM(IF(赚钱20,REF(CLOSE,1),DRAWNULL),0)),COLORLIMAGENTA,LINETHICK1; HH2:=CROSS(SUM((赚钱15 AND (CLOSE > (CS1 * (1 + (赚钱12 / 100))))),0),0.5);LL2:=CROSS(SUM((赚钱16 AND (CLOSE < (CB1 * (1 - (赚钱12 / 100))))),0),0.5);赚钱25:=(SUM(HH2,0) * CROSS(COUNT((CLOSE <REF(CLOSE,1)),BARSLAST(HH2)),0.5));赚钱26:=(SUM(LL2,0) * CROSS(COUNT((CLOSE >REF(CLOSE,1)),BARSLAST(LL2)),0.5));CS2:CONST(SUM(IF(赚钱25,REF(CLOSE,1),DRAWNULL),0)),COLORGREEN,LINETHICK1;CB2:CONST(SUM(IF(赚钱26,REF(CLOSE,1),DRAWNULL),0)),COLORLIMAGENTA,LINETHICK1; DRAWICON((HH1 OR HH2),(CLOSE * 1.001),2);DRAWICON((LL1 OR LL2),(CLOSE * 0.988),1);DRAWICON((赚钱20 OR 赚钱26),(REF(C,1) * 0.988),7); DRAWICON((赚钱19 OR 赚钱25),(REF(CLOSE,1) * 1.001),8);。
通达信指标公式源码 分时主图 打板 做t 追涨
使用说明:1,加入量比指标,粉色条:量比>5, 兰色条:量比>2.5,2,macd大家不用教,3,彩带是分时均线,做t.结合macd,粉进兰出。
4,分时线变桔黄色,涨停可能较大,如左上角三色带全紫,涨幅不大可追!(新手慎为)5,狮子,红球,金指,均为强势信号,如多指标共振,果断杀入!指标只做参考,同一只枪,高手弹无虚发,低手可能自伤,祝大家投顺利!无法导入的用这个去掉了左上角色条先建一引用公式否则左上角色条不显示引用公式源码如下{FSKY 分时K线引用}今量:VOL;昨量:REF(VOL,1);前量:REF(VOL,2);昨开:REF(O,1);昨收:REF(C,1);前开:REF(O,2);前收:REF(C,2);源码:{反转MACD 参数: p, 0, 20, 4;}{前量:="FSKY.前量#DAY";昨量:="FSKY.昨量#DAY";今量:="FSKY.今量#DAY";前总:=前量;昨总:=昨量;总:=今量,NODRAW;BMM:=MAX(前总,昨总);AMM:=IF(总/BMM>2,BMM*3,BMM);MM:=200/AMM;KP:=DYNAINFO(4);ZX:=DYNAINFO(7);A1:=IF(ZX>=KP,355,0);A2:=IF(ZX>=KP,0,355);A3:=IF(ZX>=KP,0,0);DRAWRECTREL(0,80,MM*今量,110,RGB(A1,A2,A3));昨开:="FSKY.昨开#DAY";昨收:="FSKY.昨收#DAY";A4:=IF(昨收>=昨开,355,0);A5:=IF(昨收>=昨开,0,355);A6:=IF(昨收>=昨开,0,0);DRAWRECTREL(0,40,MM*昨量,70,RGB(A4,A5,A6));前开:="FSKY.前开#DAY";前收:="FSKY.前收#DAY";A7:=IF(前收>=前开,355,0);A8:=IF(前收>=前开,0,355);A9:=IF(前收>=前开,0,0);DRAWRECTREL(0,0,MM*前量,30,RGB(A7,A8,A9));}RC:=DYNAINFO( 3);量比超2.5:=IF(DYNAINFO(17)>2.5,RC-0.15,DRAWNULL),COLORFF9933;量比超5:=IF(DYNAINFO(17)>5,RC-0.15,DRAWNULL),COLORBA75FF; DRAWBAND(量比超2.5,RGB(51,153,255),量比超2.5+0.015,RGB(51,153,255)); DRAWBAND(量比超5,RGB(255,118,188),量比超5+0.015,RGB(255,118,188));{首次起爆}TT:=BARSCOUNT(C);{取得有效收盘价}均价黄:SUM(C*V,TT)/SUM(V,TT),LINETHICK1,COLOR00FFE1;{分时均线的取值}量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);价上岗量破5:=C>均价黄AND V>MA(V,5);量起爆:=V>=REF(V,1)*2 ;价创新高:=C>=HHV(C,0);量创新高:=V>=HHV(V,0);对昨日涨幅:=C/DYNAINFO(3)<=1.02;{涨幅控制2个点以内}每日一点:=量两步AND 价两步AND 价上岗量破5 AND 量起爆AND 价创新高AND 量创新高AND 对昨日涨幅;{计算收益、已爆分钟}VC:=BARSSINCE(每日一点)+1;首次起爆价:REF(C,VC-1),NODRAW;今天收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;起爆时间:REF(TIME/10000,VC),NODRAW;已爆分钟:VC-1,NODRAW;首次起爆量:=REF(VOL,VC-1);DRAWICON(已爆分钟>=2,RC-0.1,11);{出现金手指,至少已经确认2分钟了}; {MACD P:1,20,4;}{RC:=DYNAINFO( 3);}S2:=SMA(C,2,1);S6:=SMA(C,6,1);DK:=2*(S2-S6);STICKLINE(DK>0,RC,RC+DK,0,1),COLOR0000AA;STICKLINE(DK<0,RC,RC+DK,0,1),COLOR00AA00;AP1:=REF(C,P)=HHV(C,2*P+1);BB1:=FILTER(AP1,P);CC1:=BACKSET(BB1,P+1);DD1:=FILTER(CC1,P);{高点}AP2:=REF(C,P)=LLV(C,2*P+1);BB2:=FILTER(AP2,P);CC2:=BACKSET(BB2,P+1);DD2:=FILTER(CC2,P);{低点}上:=REF(C,BARSLAST(DD1)),COLORFF00FF,NODRAW;下:=REF(C,BARSLAST(DD2)),COLOR00FF00,NODRAW;相对能量:(C-下)/(上-下)*100,COLORYELLOW,NODRAW;R11:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);S11:=R11>REF(R11,1);压力线:DRAWLINE(DD1,C,S11,C,1),COLOR00FF00;T11:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);U11:=T11>REF(T11,1);支撑线:DRAWLINE(DD2,C,U11,C,1),COLOR00FFFF;STICKLINE(C>0,下,下,1,0),COLOR00FF00;STICKLINE(C>0,上,上,1,0),COLORFF00FF;DRAWNUMBER(ISLASTBAR,压力线,压力线),COLOR00FF00; DRAWNUMBER(ISLASTBAR,支撑线,支撑线),COLOR00FFFF;R1:=MA(C,13);R2:=SMA(R1,5,2);DRAWBAND(R1,RGB(255,0,125),R2,RGB(0,111,255));C,LINETHICK2,COLORDDDDDD;{涨停}地:=DYNAINFO(11)+(DYNAINFO(11)*0.021);涨停:IF(DYNAINFO(7)>地,1,0),NODRAW,COLOR0088FF;涨:=IF(涨停=1,C+0.0075,DRAWNULL),COLOR8000FF,LINETHICK2; DRAWBAND(涨,RGB(255,211,0),C-0.0075,RGB(255,125,0));时间:=TIME=100000;N:=BARSLAST(时间);常数:=CONST(IF(N=0,C,REF(C,N))),COLORGREEN,DOTLINE;CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N)));CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N)));STICKLINE(时间=1,CS1,CS2,1.2,0),COLOR008888;均价A:=SUM(V*C,0)/SUM(V,0),COLORYELLOW;{CONST(IF(时间,HHV(H,0),REF(HHV(H,0),N))),COLOR000066,DOTLINE; CONST(IF(时间,LLV(L,0),REF(LLV(L,0),N))),COLOR006600,DOTLINE; CONST(IF(N,LLV(L,1),REF(LLV(L,0),N))),COLOR888888;CONST(IF(N,HHV(L,1),REF(HHV(L,0),N))),COLOR888888;}{涨停2}AA:=BARSLAST(TIME=103000);CC:=REF(HHV(C,0),AA+1);VV:=REF(HHV(V,0),AA+1);ZF:=CC/DYNAINFO(3)<1.05;涨停2:=CROSS(C,CC) AND V>VV AND ZF,COLOR0000FF;DRAWICON(涨停2,RC-0.06,13);{开量冲板}资金:=C*IF(PERIOD=0 AND MINUTE=31,VOL,0),COLORSTICK,NODRAW;{√}冲板线:=(CAPITAL/100)*1/20,COLORCYAN,LINETHICK1,NODRAW;单量必板线:=资金>1000;{分时图单量超1000万资金};单量冲板线:=资金>冲板线AND 资金<1000;{分时图单量超500万资金}; DRAWICON(单量必板线ANDDYNAINFO(4)/DYNAINFO(3)>1.01,RC+0.03,31);{1000万处画仙人指} DRAWICON(单量冲板线ANDDYNAINFO(4)/DYNAINFO(3)>1.01,RC-0.03,23);{500万处画十字星,以示警戒};。
通达信指标公式源码 不错的分时指标 副图源码
VAR1:=EMA(EMA(CLOSE,13),13);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,1,1),COLOR00FF00;STICKLINE(控盘>REF(控盘,1) AND 控盘<0,控盘,0,1,1),COLORFF00FF;无庄控盘:=控盘<0;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLOR0000FF;有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLORFFFF00;主力出货:=控盘<REF(控盘,1) AND 控盘>0;STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,1),COLOR00FFFF; 高度控盘: VAR2>50 AND COST(85)<CLOSE AND 控盘>0,COLOR00FFFF,LINETHICK2; A10:=CROSS(控盘,0);控盘B:=FILTER(IF(A10,1,0),5);{分时价格原码}JJ:=DYNAINFO(11);{波段买卖原码}P:=55;S:=8;M1:=3;财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;神:=EMA(财,M1),COLORGREEN,LINETHICK1;DRAWBAND(财,RGB(255,0,0),神,RGB(0,100,50));{股价与均线偏离买卖条件}BTJ1:=(C-JJ)/JJ<-0.03;BTJ11:=(C-JJ)/JJ<-0.03;BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005; STJ1:=(C-JJ)/JJ>0.005;{控盘买卖条件}STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;STJ02:=控盘>0;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;{波段买卖条件}BTJ3:=CROSS(财,神) AND 财<-0.3;BTJ32:=CROSS(财,神) AND 财<-0.1;STJ31:=CROSS(神,财);STJ32:=CROSS(神,财) AND 财>1.618;{以下为信号};BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13); DRAWTEXT(BTJ81,神,'↑买底'),COLORRED; DRAWTEXT(BTJ811,神*1.2,'↑有庄'),COLORWHITE; STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);STJ82:=FILTER(STJ02 AND STJ32 ,13);STJ83:=STJ81 AND STJ82;DRAWTEXT(STJ83,神,'↓卖'),COLOR00FF00;DIFF: (EMA(CLOSE,8) - EMA(CLOSE,55))*10,COLORRED; DEA: EMA(DIFF,3),COLORGREEN;庄:= BTJ11 AND BTJ2 AND BTJ3;有庄:FILTER(庄,55),COLORWHITE;DRAWTEXT(BTJ811,有庄,'有庄'),COLORWHITE;。
通达信最好用的T0指标分时指标公式
通达信最好用的T0指标分时指标公式以下是通达信最好用的T+0指标分时指标公式(无源码的请下载附件导入)我认为最好用的T+0指标分时指标目前最好用TO指标我认为还是我这个顶部出仓指标,第一指标分时不漂移,特别是在弱势的大盘行情严格执行尤为重要,每一次提出都是逃命一次机会,此指标是结合大盘指数做出买卖判断。
卖错也要卖,卖出后完全有机会买回的。
附件两张图片自己去体会.这个比较直观,我也用了一段时间,感觉不错,奉献大家,共同学习,制造财富,只有多学才能发财,才能实现财富自由。
我比较喜欢找到个单边上升的股票,做T+O,应为资金有限,只做一只,每天也有不少收获。
所以少不了指标,但是并不一定只看指标,我一般看一分钟走势图。
急拉放大量就走人,低位就接回。
需要说明的是,大家一定要保留底仓,用其中一部分做波段,这样才不会被庄家踹下车。
切记切记。
回首这么多年的炒股经历,刚开始发现一些炒股指标感觉特别好用,一查过去每次的涨跌一目了然感觉如获珍宝,其实后来操作呵呵,该赔还是赔,慢慢的学习实践,从原来的追涨杀跌到现在的我只做一只股票,找一个上升通道的票,天天盯,看看庄家如何操作,从吸筹,洗盘,拉升,出货,跟着庄家学习,发现了其中很多技巧,其实没有万能指标,要是有早就成亿万富翁了,其实你如果有时间盯1分钟周期,也能看出庄家如何操作,在吸筹期间如何操作,洗盘、拉升、出货、都能捕捉到,从小周期看大周期、再从大周期看小周期,我就不信你发现不了庄家的操盘手法,我现在就紧盯一个票,别的票涨到天上我也不眼馋,我就做我自己这一个,庄家不拉升我就用其中一千股做波段,底仓2000手,2手2手的卖,2手2手的买,有时间就盯,晚上做总结,看日线图,预测预测庄家明天怎么走法,呵呵成绩不错,还行,比原来天天买这买那好多了,收益稳定增加。
通达信分时T0神器公式源码
通达信分时T0神器公式源码通达信分时T 0神器公式源码以下是通达信分时T 0神器公式源码(无源码的请下载附件导入)通达信分时T 0神器公式源码很简单实用的指标,低点会有提示买入,高点有提示卖出,做T 的成功率很高,本人屡试不爽。
分享给大家吧,一起赚钱!源码N0:=STRCAT(CON2STR(YEAR,0),' 年');Y:=STRCAT(CON2STR(MONTH,0),' 月');R:=STRCAT(CON2STR(DAY,0),' 日');SJ:=STRCAT(STRCAT(N0,Y), R);DRAWTEXT_FIX(C>0,0.68,0,0,SJ);A:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03; DRAWTEXT(ABS(A)>0,L, '假阴'),COLORYELLOW; DRAWICON(C<O AND C>REF(C,1),H,6);{假阴真阳} 均价5:AMOUNT/VOL/100,NODRAW;假阴0:=O>C AND 均价5>REF(C,1);DRAWTEXT(假阴0,L-0.2,'假阴真阳'),COLORE8E8E8;STICKLINE(假阴0,O,C,1,0),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,CODE),COLORYE LLOW;DRAWTEXT_FIX(ISLASTBAR,0.55,0.05,0,STKNAME)COL ORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COL ORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLOR YELLOW;DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COL ORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.55,0.90,0,FGBLOCK),COL ORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK),COL ORYELLOW;时间:=TIME=100000;N:=BARSLAST(时间),COLOR808080;常数:CONST(IF(N=0,C,REF(C,N))),COLOR004848,DOTLINE; CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))),COLORW HITE;CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))),COLORWHITE;STICKLINE(时间=1,CS1,CS2,-1,0),COLOR808080;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1 P1*7/8,COLORFFFFFF,DOTLINE;DRAWTEXT(CURRBARSCOUNT=1,阻力,' 阻力'),COLORFFFFFF;支撑:L1 P1*0.5/8,COLORFFFFFF,DOTLINE; DRAWTEXT(CURRBARSCOUNT=1,支撑,' 支撑'),COLORFFFFFF;中:(支撑阻力)/2,COLORFFFFFF,DOTLINE;现价:CLOSE,COLORWHITE,LINETHICK1;MR:=C<支撑AND CROSS(C,REF(C,2));STICKLINE(CROSS(现价,支撑),C,中,2,0),COLOR00CCCC; STICKLINE(MR=1,支撑,中,2,0),COLOR00CCCC; DRAWICON(MR=1 OR CROSS(现价,支撑),中,34); STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5 支撑,2,0),COLORMAGENTA;MC:=C>阻力AND CROSS(REF(C,2),C);STICKLINE(CROSS(阻力,现价),C,中,2,0),COLOR8C8C00; STICKLINE(MC=1,阻力,中,2,0),COLOR8C8C00;DRAWICON(MC=1 OR CROSS(阻力,现价),中,35); STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORGREEN;DRAWTEXT(ISLASTBAR,(支撑阻力)/2,' 中'),COLORFFFFFF;最新:C,LINETHICK1,COLORWHITE;IF(C>=REF(C,1),C,DRAWNULL),LINETHICK1,COLORW HITE;AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BA RSCOUNT(C));BB:=BETWEEN(C/AA,C H,C-H);DRAWICON(ISLASTBAR AND C>REF(C,1),C,1); DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);。
通达信自用的T+0分时主图指标公式.docx
本人是个指标初级DIY者,近年來比较关注各类指标,大都数都不尽人意,但从中学到和总结不少经验,吸取精华并DIY成自用的比较满意的指标,本指标就是其中之一。
但该指标是本人较满意之作,是加密的。
敬请谅解。
本T+0分时主图名称为【操盘助手】可以和[资金进出]共同组成分时图版面,进行盯盘,操作时可参考日K线图研判,可进行T+0操作,当指标中有两次以上显示卖或买就可以操作。
朋友们也可以多观察几天熟悉一下再操作。
本指标也可以编制成分时买卖预警分时主图包含以下功能(指标中也有注释):现价、支撑、压力、买卖提示,资金进出,机构买入力度,财务,板块。
主动买卖盘彩条形:左上为现手买数据;中间为买卖差(正值为红,负值为绿);右边为现手卖数据。
主动买卖盘是显示多空的重要指标,主动买卖盘多则多方占优势。
{分时主图}MA30: = EMA(CLOSE,30);强弱:EMA(CLOSE Z900);STICKLINE((MA30> 强弱),MA30,强弱,0.8z O)z COLORRED;STICKLINE((MA30< 强弱),MA30,强弱,0.8,0),COLORGREEN;H1: = MAX(D YN AINFO(3)Z DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLORLIGREEN;支撐:L1+P1*0.5/8,COLORLIMAGENTA;中:(支椁+阻力)/2Z COLORWHITE,POINTDOT;均价:SUM(V*C,0)/SU M(V,0),COLORYELLOW,DOTLINE;现价:CLOSE,COLORWHITE 丄INETHICK2;DRAWTEXT( IS3STBAR AND 现价,现价,STRCAT('-:CON2STR(现价,2))),COLORYELLOW; {DRAWNUMBER(CURRBARSCOUNT=1,现价,现价),COLORYELLOW;}STICKLINE(CROSS(支撑,现价),支撑冲,1,0),COLORCCOOFF;STICKLINE(CROSS(现价,阻力),阻力,中,1,0)Z COLOR33FF33;DRAWTEXT(LONGCROSS(支撑,现价,2),支撐*1.001,★买)COLORFF66FF ;{吸}DRAWTEXT(LONGCROSS(现价,阻力,2),阻力*0.999;☆卖)COLOR66FF33;{抛};底买:STICKLINE(C v 支撐,支撐,C,2,0),COLORRED;STICKLINE(CROSS(支撑,现价),支撑,(支撐冲)/5+支撑,2,0),COLORYELLOW;DRAWTEXT(CROSS(支撑,现价),(支撑冲)/5+支撑,底COLORYELLOW;STICKLINE(CROSS(现价,阻力),阻力,阻力■(支撑-^)/5,2,0),COLORLIRED; DRAWTEXT(CROSS(现价,阻力),阻力■(支撑冲)/5,顶'),COLORLIRED;DRAWTEXT(CURRBARSC0UNT=8,阻力+0.003,顶)COLORGREEN,LINETHICK1; DRAWTEXT(CURRBARSC0UNT=8,支撑-0.003;底'),COLORLIRED,LINETHICK1; DRAWTEXT(CURRBARSCOUNT=8,(支撐+阻力)/2,中COLORWHITE 丄INETHICK1;{成交数据}成交额:=V*C/100Z NODRAW;{万元}A2:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE」)))),成交额,0)),0);A3:=SUM((IF(((成交额/8>20) AND (CLOSEv(REF(CLOSE」)))),成交额,0)),0); A6:=(A2+A3); A7:=IF((ISLASTBAR)z((100*A2)/A6)z0);A8:=IF((ISLASTBAR)z((100*A3)/A6)z0);DD1: = 1;AAAI: =STRCAT(STRCAT(* 机构买',CON2STR(( 100*A2)/A6,0)),' %');AAA2: =STRCAT(STRCAT(* 机构卖XON2STR((100*A3)/A6,0)),'%‘);AAA3: =STRCAT(STRCAT('机构总买入,Z CON2STR((100*(A2-A3))/A6Z0));%');A000:=DRAWTEXT_FIX(DDl = l,0,0.02,0,AAAl)z COLORRED;A001:=DRAWTEXT_FIX(DDl=l,0,0.13,0,AAA2)z COLOR00FF00; {DRAWTEXT_FIX(DDl =l,0,0.15,0,AAAl)z COLOR00FFFF;DRAWTEXT_FIX(DDl = l,0,0.20z0,AAA2),COLOR00FFFF;}DRAWTEXT_FIX(DDl = l z O,88,l,0,AAA3),COLOROOFFFF;现手买:BUYVOL*DYNAINFO(7)*100/10000 COLOROOOOFF,NODRAW;现手卖:SELLVOL*DYNAINFO(7)*100/10000 COLOROOFFOO,NODRAW;合:=ABS(现手买)+ABS(现手卖兀OLOR80FFFF,NODRAW;差:=ABS(现手买)-ABS(现手卖兀OLOR80FFFF,NODRAW;MPB1:=ABS(现手买)/合*100;MPB2:=ABS(现手卖)/ 合*100;TESTSKIP(NOT(现手买OR 现手卖OR 合OR 差OR MPB1 OR MPB2)!=0);{绿框卖}DRAWRECTREL(595,1000,795,940,RGB(0,128,0));DRAWRECTREL(595,995,795,945,RGB(0,148,0));DRAWRECTREL(595,990,795,950,RGB(0,168,0));DRAWRECTREL(595,985,795,955z RGB(0,188,0));DRAWRECTREL(595,980z795,960z RGB(0,208,0));DRAWRECTREL(595,975,795,965,RGB(0,228,0));DRAWRECTREL(595,970z795,970z RGB(0,248,0));{红框买}DRAWRECTREL(595,1000,595+现手买*210/^,940,RGB(128,0,0));DRAWRECTREL(595,995,595+现手买*210/合,945,RGB(148,0,0));DRAWRECTREL(595,990,5954-现手买*210/合,950,RGB(168,0,0));DRAWRECTREL(595,985,595+现手买*210/合,955,RGB(188,0,0));DRAWRECTREL(595,980,5954-现手买*210/合,960,RGB(208,0,0));DRAWRECTREL(595,975,595+现手买*210/合,965,RGB(228,0,0));DRAWRECTREL(595,970,595+现手买*210/合,970,RGB(248O0));DRAWRECTREL(595+现手买*210/合,940,595+现手买*210/ 合,1000,RGB(128Q0)); DRAWRECTREL(795,940,795,1000,RGB(0,0.0,10));DRAWRECTREL(594.8,939.8,594.8,1000,RGB(0z0,10));DRAWRECTREL(594.8,939.8z594.8z939.8z RGB(0,0,10));DRAWRECTREL(594.8,1000,594.8,1000,RGB(0,0,10));DRAWTEXT_FIX(l,0・54,0・89QSTRCAT(STRCAT(蔦CON2STR(现手买,1));7J')),COLOROOOOFF;DRAWTEXT_FIX(l,0・785,0.89OSTRCAT(STRCAT(:CON2STR(现手卖,1))/7?')),COLOROOFFOO;DRAWTEXT_FIX(CURRBARSCOUNT= 1AND(差)>0Q65,0.89OSTRCAT(‘ ',STRCAT(CON2STR(差,1),万)))COLOROOOOFF; DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(差)v0,0・65,0.89OSTRCAT(‘',STRCAT(CON2STR(差J),万)))COLOROOFFOO;DRAWTEXT_FIX(CURRBARSCOUNT= 1 AND(差)=0Q65,0.89OSTRCAT(‘ ',STRCAT(CON2STR(差J),万)))COLOR80FFFF;DRAWTEXT_FIX(l z0.8,0.98,0,STRCAT(STRCATC ',CON2STR(MPB2Z1)),'% ')),COLOROOFFOO; DRAWTEXT_FIX(l,0・54,0・98OSTRCAT(STRCAT(蔦CON2STR(MPB1」)),%')),COLOROOOOFF;市盈率:=STRCATC市盈率:;CON2STR(C/FINANCE(33),2));市销率:=STRCATC 市销率:\CON2STR(C/(FINANCE(20)/FINANCE(1)),2));市净率:=STRCAT(* 市净率:',CON2STR(C/FINANCE(34),2));净资收益率:=STRCAT(* 净资收益率:,,CON2STR(FINANCE(33)/FINANCE(34)*100,2)); 毛利率:=STRCAT(*毛利率:'Z CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100Z2));净利润率:=STRCATC 净利润率;CON2STR(FINANCE(30)/FINANCE(20)*100Z2)); 主营利润率:=STRCAT(* 主营利润率\CON2STR(FINANCE(23)/FINANCE(20)*100Z2));利润同比:=STRCAT(* 利润同比:,,CON2STR(FINANCE(43),2));收入同比:=STRCAT(* 收入同比:*,CON2STR(FINANCE(44),2));Xl:=(FINANCE(U)-FINANCE(15))/FINANCE(10)*1.2;X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;{盈余公积用资本公积金代替};X3:=FINANCE(23)/FINANCE(10)*3.3;X4: = FINANCE(19)/FINANCE(15)*0.6;{缺长期负债或负债总额}X5:=FINANCE(20)/FINANCE(15)*0.999;Z 值:=X1+X2+X3+X4+X5;预警:=IF(Z 值<1.2;fi警,IF(Z 值> = 1.2 AND Z 值<2.6,轻警丁无警J);财务预警:=STRCATC财务预警:'Z STRCAT(预警,STRCAT('・Z 值::C0N2STR(Z 值,3))));优质资产率:=STRCAT('优质资产率:',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(2 7))/FINANCE(19),2));{理论上越大越好但不同行业有不同标准};现金负债比:=STRCAT(* 现金负债比::CON2STR(FINANCE(25)/FINANCE(15),3));{缺长期负债或负债总额,理论上越大越好但不同行业有不同标准};财务系数:=STRCAT(*风险系数:\STRCAT(STRCAT(财务预警,优质资产率),现金负债比));DRAWTEXT_FIX(ISLASTBAR,0.025,0.96,0,财务系数),COLORCYAN;{显示日期}D1:=YEAR AND MONTH AND DAY;AA1:=STRCAT(CON2STR(YEAR,0)Z年');AA2:=STRCAT(CON2STR(MONTH,0),'月');AA3:=STRCAT(CON2STR(DAY z O); S ');AA4:=STRCAT('星期',IF(WEEKDAY=l,'j,IF(WEEKDAY=2,zi;IF(WEEKDAY=3/三'Z IF(WEEKDAY=4; H',IF(WEEKDAY=5; E\IF(WEEKDAY=6/A7 B ')))))));AA:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),H);标量比买夹力道竟价图。
[通达信公式]分时控盘(分时指标源码)
[通达信公式]分时控盘(分时指标源码)[通达信公式]分时控盘(分时指标源码)[通达信公式]分时控盘(分时指标源码)源码:{分时控盘}VAR1:=EMA(EMA(CLOSE,13),13);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,1,1),COLOR00FF00;STICKLINE(控盘>REF(控盘,1) AND 控盘<0,控盘,0,1,1),COLORFF00FF;无庄控盘:=控盘<0;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLOR0000FF;有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,1,1),COLORFFFF00;主力出货:=控盘<REF(控盘,1) AND 控盘>0;STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,1,1),COLOR00FFFF;高度控盘: VAR2>50 AND COST(85)<CLOSE AND 控盘>0,COLOR00FFFF,LINETHICK2;A10:=CROSS(控盘,0);控盘B:=FILTER(IF(A10,1,0),5);{分时价格原码}JJ:=DYNAINFO(11);{波段买卖原码}P:=55;S:=8;M1:=3;财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;神:=EMA(财,M1),COLORGREEN,LINETHICK1;DRAWBAND(财,RGB(255,0,0),神,RGB(0,100,50));{股价与均线偏离买卖条件}BTJ1:=(C-JJ)/JJ<-0.005;BTJ11:=(C-JJ)/JJ<-0.03;BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;STJ1:=(C-JJ)/JJ>0.005;{控盘买卖条件}STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;STJ02:=控盘>0;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;{波段买卖条件}BTJ3:=CROSS(财,神) AND 财<-0.3;BTJ32:=CROSS(财,神) AND 财<-0.1;STJ31:=CROSS(神,财);STJ32:=CROSS(神,财) AND 财>1.618;{以下为信号};BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);DRAWICON(BTJ82,神,23);{追买};DRAWICON(BTJ81 AND TIME>10,神,27);{};DRAWICON(BTJ811 AND TIME>10,神,26);{有庄};DRAWTEXT(BTJ81,神,''),COLORRED;DRAWTEXT(BTJ811,神*1.2,'有庄'),COLORWHITE;STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);DRAWICON(STJ81,神,19);STJ82:=FILTER(STJ02 AND STJ32 ,13); DRAWICON(STJ82,神,15);STJ83:=STJ81 AND STJ82; DRAWTEXT(STJ83,神,'必卖'),COLOR00FF00;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
通达信分时T 0神器公式源码
以下是通达信分时T 0神器公式源码(无源码的请下载附件导入)
通达信分时T 0神器公式源码
很简单实用的指标,低点会有提示买入,高点有提示卖出,做T的成功率很高,本人屡试不爽。
分享给大家吧,一起赚钱!
源码
N0:=STRCAT(CON2STR(YEAR,0),' 年');
Y:=STRCAT(CON2STR(MONTH,0),' 月');
R:=STRCAT(CON2STR(DAY,0),' 日');
SJ:=STRCAT(STRCAT(N0,Y), R);
DRAWTEXT_FIX(C>0,0.68,0,0,SJ);
A:=O>C AND C>REF(C,1) AND O/REF(C,1)>1.03; DRAWTEXT(ABS(A)>0,L, '假阴'),COLORYELLOW; DRAWICON(C<O AND C>REF(C,1),H,6);{假阴真阳} 均价5:AMOUNT/VOL/100,NODRAW;
假阴0:=O>C AND 均价5>REF(C,1);
DRAWTEXT(假阴0,L-0.2,'假阴真阳'),COLORE8E8E8;
STICKLINE(假阴0,O,C,1,0),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,CODE),COLORYE LLOW;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.05,0,STKNAME)COL ORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0,HYBLOCK),COL ORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,DYBLOCK),COLOR YELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.85,0,GNBLOCK),COL ORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.90,0,FGBLOCK),COL ORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.95,0,ZSBLOCK),COL ORYELLOW;
时间:=TIME=100000;
N:=BARSLAST(时间),COLOR808080;
常
数:CONST(IF(N=0,C,REF(C,N))),COLOR004848,DOTLINE; CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))),COLORW HITE;
CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))),COLORWH
ITE;
STICKLINE(时间=1,CS1,CS2,-1,0),COLOR808080;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1 P1*7/8,COLORFFFFFF,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,阻力,' 阻力
'),COLORFFFFFF;
支撑:L1 P1*0.5/8,COLORFFFFFF,DOTLINE; DRAWTEXT(CURRBARSCOUNT=1,支撑,' 支撑
'),COLORFFFFFF;
中:(支撑阻力)/2,COLORFFFFFF,DOTLINE;
现价:CLOSE,COLORWHITE,LINETHICK1;
MR:=C<支撑AND CROSS(C,REF(C,2));
STICKLINE(CROSS(现价,支撑),C,中,2,0),COLOR00CCCC; STICKLINE(MR=1,支撑,中,2,0),COLOR00CCCC; DRAWICON(MR=1 OR CROSS(现价,支撑),中,34); STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5 支
撑,2,0),COLORMAGENTA;
MC:=C>阻力AND CROSS(REF(C,2),C);
STICKLINE(CROSS(阻力,现价),C,中,2,0),COLOR8C8C00; STICKLINE(MC=1,阻力,中,2,0),COLOR8C8C00;
DRAWICON(MC=1 OR CROSS(阻力,现价),中,35); STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-
中)/5,2,0),COLORGREEN;
DRAWTEXT(ISLASTBAR,(支撑阻力)/2,' 中
'),COLORFFFFFF;
最新:C,LINETHICK1,COLORWHITE;
IF(C>=REF(C,1),C,DRAWNULL),LINETHICK1,COLORW HITE;
AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BA RSCOUNT(C));
BB:=BETWEEN(C/AA,C H,C-H);
DRAWICON(ISLASTBAR AND C>REF(C,1),C,1); DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);。