⑴ 分时指标公式
分时指标的意思就是股票的日走势图,也就是可以准确反映股票每时每刻价格波动的图。股票的分时指标包括白色曲线、黄色曲线、红绿柱线、黄色柱线、委买委卖手数、比数值等等指标,其中最常见的就是白色曲线与黄色曲线,白线与黄线之间的关系+分紧密。
通信达分时指标公式
MA30:=EMA(CLOSE,30);
强弱:EMA(CLOSE ,900);
STICKLINE((MA30>强弱),MA30,强弱,1,0),COL .OR0000FF;
STICKLINE((MA30<强弱),MA30,强弱,1,0),COL .OR00FF0O;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撑:L1+P1*0.5/8,COLOR00DD0O;
现价:CLOSE,COLORWHITE,LINETHICK1;
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑* 1.001,'* B),COLORYELLOW;{吸}
DRAWTEXT(L .ONGCROSS(现价,阻力,2),现价;★'),COLORRED;抛};
DRAWICON(CROSS(MA30,强弱),H,9);
⑵ 跪求通达信决战分时指标源码 (见下面效果图)分不够还可追加
是分时突破,这样吧:
⑶ 你好,我看到你编辑的关于一分钟成交次数的公式,可以用,也算是偶得,我想是不是可以在分时图中显示出
这建立两个指标,第一个指标源码如下,指标名为A-HD
ccjs:count(last(c>0),barslast(minute<>ref(minute,1))+1);
fz:minute;
第二个指标是用来看1分钟的成交次数,其源码如下,指标名可以任意取:
ccjs:="a-hd.ccjs#tick";
fz:="a-hd.fz#tick";
cctj:if(fz<>ref(fz,1),ccjs,0),stick,colormagenta;
这个可以在分时图上和1分钟图上都能看其该分钟的成交次数。
⑷ 求高手写个通达信当天开盘价在分时图上自动画线的分时主图指标谢谢!
用这个代码:
DYNAINFO(4),COLORFF00AA;
很好用的分时主图指标公式:
M1:=36;
N1:=13;
N:=100;
Q:=5;
SHORT:=21;
LONG:=44;
MID:=11;
P2:=11;
DRAWGBK(C>0,RGB(50,60,250),RGB(17,21,89),0,ཇ',0);
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,COLORRED;
中:(支撑+阻力)/2,COLORWHITE,POINTDOT;
现价:CLOSE,COLORWHITE,LINETHICK2;
顶卖:stICKLINE(C>阻力,阻力,C,5,0),COLORGREEN;
底买:STICKLINE(C<支撑,支撑,C,5,0),COLORRED;
MR:=C<支撑ANDcrOSS(C,REF(C,2));
DRAWTEXT(CROSS(现价,支撑),中,'★买'),COLORRED;
STICKLINE(CROSS(现价,支撑),C,中,2,0),COLORRED;
STICKLINE(MR=1,支撑,中,2,0),COLORRED;
DRAWICON(MR=1ORCROSS(现价,支撑),中,1);
STICKLINE(CROSS(支撑,现价),支撑,(支撑-中)/5+支撑,2,0),COLORYELLOW;
DRAWTEXT(CROSS(支撑,现价),(支撑-中)/5+支撑,'★底'),COLORYELLOW;
MC:=C>阻力ANDCROSS(REF(C,2),C);
DRAWTEXT(CROSS(阻力,现价),中,'★卖'),COLORGREEN;
STICKLINE(CROSS(阻力,现价),C,中,2,0),COLORGREEN;
STICKLINE(MC=1,阻力,中,2,0),COLORGREEN;
DRAWICON(MC=1ORCROSS(阻力,现价),中,2);
STICKLINE(CROSS(现价,阻力),阻力,阻力-(支撑-中)/5,2,0),COLORMAGENTA;
DRAWTEXT(CROSS(现价,阻力),阻力-(支撑-中)/5,'★顶'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,阻力,'顶'),COLORGREEN;
DRAWTEXT(ISLASTBAR,支撑,'底'),COLORRED;
DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,'中'),COLORWHITE;
每股净资产:=STRCAT(STRCAT('每股净资产:',CON2STR(FINANCE(34),2)),'元');
DRAWTEXT_FIX(1,0.22,0.92,0,每股净资产),COLORWHITE;
主营同比增长:=STRCAT(STRCAT('主营同比增长:',CON2STR(FINANCE(44),2)),'%');
DRAWTEXT_FIX(1,0.33,0.99,0,主营同比增长),COLORCYAN;
净利润同比增长:=STRCAT(STRCAT('净利润同比增长:',CON2STR(FINANCE(43),2)),'%');
DRAWTEXT_FIX(1,0.33,0.92,0,净利润同比增长),COLORYELLOW;
{销售毛利率:=STRCAT(STRCAT('销售毛利率:',CON2STR(FINANCE(21)/FINANCE(20)*100,2)),'%');}
销售毛利率:=STRCAT(STRCAT('销售毛利率:',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2)),'%');
DRAWTEXT_FIX(1,0.22,0.99,0,销售毛利率),COLORCYAN;
DRAWTEXT_FIX(1,0.11,0.99,0,'每股收益:')COLORYELLOW;
DRAWTEXT_FIX(1,0.16,0.99,0,STRCAT(CON2STR(FINANCE(30)/FINANCE(1),2),'元'))COLORYELLOW;
DRAWTEXT_FIX(1,0.11,0.92,0,'每股市盈率:')COLORYELLOW;
DRAWTEXT_FIX(1,0.17,0.92,0,STRCAT(CON2STR(C/FINANCE(33),2),'倍'))COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.99,0,'流通A股:')COLORCYAN;
DRAWTEXT_FIX(1,0.06,0.99,0,STRCAT(CON2STR(CAPITAL/1000000,2),'亿股'))COLORCYAN;
DRAWTEXT_FIX(1,0.11,0.87,0,'每股未分配:元')COLORYELLOW;
DRAWTEXT_FIX(1,0.17,0.87,0,CON2STR(FINANCE(32),2))COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.92,0,'经营现金流:元')COLORYELLOW;
DRAWTEXT_FIX(1,0.07,0.92,0,CON2STR(FINANCE(25)/FINANCE(1),2))COLORYELLOW;
DRAWTEXT_FIX(1,0.50,0.99,0,'☆[热点概念]:')COLORYELLOW;
DRAWTEXT_FIX(1,0.57,0.99,0,EXTERNSTR(0,1))COLORYELLOW;
DRAWTEXT_FIX(1,0.50,0.92,0,'☆[主营行业]:')COLORCYAN;
DRAWTEXT_FIX(1,0.57,0.92,0,EXTERNSTR(0,2))COLORCYAN;
{DRAWTEXT_FIX(1,0.00,0.63,0,'[高送转信号]:')COLORCYAN;
DRAWTEXT_FIX(1,0.05,0.63,0,EXTERNSTR(0,3))COLORCYAN;};
所属板块:=STRCAT('☆【所属板块】',STRCAT(STRCAT(STRCAT('[行业]—',HYBLOCK),STRCAT('[地域]—',DYBLOCK)),STRCAT('[概念]—',GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.50,0.87,0,所属板块),COLORYELLOW;
今日人气:=DYNAINFO(60)/DYNAINFO(61);
DRAWTEXT_FIX(1,0,0.87,0,'◆大盘人气:'),COLORYELLOW,LINETHICK4;
DRAWNUMBER_FIX(1,0.07,0.87,0,CONST(今日人气)),COLORYELLOW;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
虚拟量:=IF(CURRBARSCOUNT=1,vol*TOTAL/CTIME,DRAWNULL);
虚拟量比:=虚拟量/REF(VOL,1),COLORWHITE,LINETHICK0;
虚量值:=(虚拟量-VOL)/VOL,COLORWHITE,LINETHICK0;
DRAWTEXT_FIX(1,0.33,0.87,0,'▲量比:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.37,0.87,0,CONST(虚拟量比)),COLORYELLOW;
量价:=(VOL/CLOSE)/3;
统计主动买量:=SUM((IF(((量价>0.20)AND(CLOSE>(REF(CLOSE,1)))),量价,0)),0);
统计主动卖量:=SUM((IF(((量价>0.20)AND(CLOSE<(REF(CLOSE,1)))),量价,0)),0);
涨停能量:=((统计主动买量)/统计主动卖量)*10,COLOR4080FF;
DRAWTEXT_FIX(1,0.22,0.87,0,'★涨停能量:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.28,0.87,0,CONST(涨停能量)),COLORYELLOW;
⑸ 主力大量买入分时图指标公式
主力分时买卖指标公式
N:=60;
K1:=IF(CLOSE>=REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW+CLOSE-REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW);
K2:=IF(CLOSE<=REF(CLOSE,1),OPEN-LOW+HIGH-CLOSE+REF(CLOSE,1)-CLOSE,OPEN-LOW+HIGH-CLOSE);
DT:=VOL*K1/(K1+K2);
KT:=VOL-DT;
主力买量:SUM(DT,N),COLORRED;
主力卖量:SUM(KT,N),COLORCYAN;
拓展资料:
通达信分时图买入指标
A1:=(DVOL/C)/2,NODRAW;
A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A3:=SUM(IF(A1>100 AND CLOSEA4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);
A5:=SUM(IF(A1<100 AND CLOSEA6:=A2+A3+A4+A5;
机买:(A2/A6)*100,LINETHICK2,COLORRED;
机卖:(A3/A6)*100,LINETHICK2,COLORGREEN;
散买:(A4/A6)*100,LINETHICK0;
散卖:(A5/A6)*100,LINETHICK0;
主力差:机买-机卖,LINETHICK2,NODRAW;
散户差:散买-散卖,LINETHICK0,NODRAW;
DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.85,'●机构'),COLORRED;
DRAWTEXT(主力差<0 AND REF(主力差,1)>=0,-C*0.85,'○机构'),COLORWHITE;
DRAWTEXT(散户差>0 AND REF(散户差,1)<=0,C*0.15,'▲散户'),COLORCYAN;
DRAWTEXT(散户差<0 AND REF(散户差,1)>=0,-C*0.15,'△散户'),COLORWHITE;
主力买卖指标是敏感度比较高的指标.通常表现主力的活跃程度如何,进RO出.从上图可以看到大盘的想对应指标。(60分钟K线图)
可以看到这个指标从2372点涨到2600左右出现了顶部.然后一直到今天最高的2646.明显看得出.从2600点的地方到2646点的位置是逐步下降的.意味着大盘准备要跌.指数上升,但是指标向下走.这个时候就要注意了.一旦指标从上向下交叉就意味着新的一轮大跌刚开始.反之上涨刚开始.所以做短线投资的朋友.要留意这个指标.他从上向下穿直到走平向上穿的过程没走好的话千万不要进场,不然后果自己知道.不用说了!你们可以参考大盘以往的走势来仔细研究这个指标.做短线的参考30分钟和60分钟K线更为准确!
该指标大智慧和通达信都有.方便易看.
指数下跌创新低或横盘,指标的底部持平或不断抬高.意味着准备上涨.
指数上涨创新高或横盘,指标的高点持平或不断降低,意味着准备下跌.
白线为短期趋势线,黄线为中期趋势线,紫线为长期趋势线。
1、主力买卖与主力进出配合使用时准确率极高。
2、当底部构成发出信号,且主力进出线向上时判断买点,准确率极高。
3、当短线上穿中线及长线时,形成最佳短线买点交叉形态(如底部构成已发出信号或主力进出线也向上且短线乖离率不大时)。
4、当短线、中线均上穿长线,形成中线最佳买点形态(如底部构成已发出信号或主力进出线也向上且三线均向上时)。
5、当短线下穿中线,且短线与长线正乖离率太大时,形成短线最佳卖点交叉形态。
6、当短线、中线下穿长线,且是主力进出已走平或下降时,形成中线最佳卖点交叉形态。
7、在上升途中,短、中线回落受长线支撑再度上行之时,为较佳的买入时机。
8、指标在0以上表明个股处于强势,指标跌穿0线表明该股步入弱势。
⑹ 求大智慧分时横盘长达1小时以上,不下破均价线预警指标源码怎么写谢谢!!!
TT:=BARSCOUNT(C);
CC:=CLOSE;
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
均线:=IF(ZZ1=0,MA(C,TT),ZZ);
上均:=均线 + AVEDEV(C,TT)*2;
下均:=均线 - AVEDEV(C,TT)*2;
时长:=IF(HOUR>=11 AND HOUR<15 ,1,0);
涨幅:=(CLOSE/DYNAINFO(3))>=1.03;
跌幅:=(CLOSE/DYNAINFO(3))<=0.97;
涨跌幅:=涨幅 OR 跌幅;
YY:=SMA(VOL,30,1);
放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0;
横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;
横盘上涨:=涨跌幅=0 AND 横盘 AND 时长 AND 放量 AND CROSS(CC,上均)AND DYNAINFO(22)<DYNAINFO(23);
上突:FILTER(横盘上涨,100);
⑺ 求分时均价线,通达信指标的源码,
均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;
IF(均价<=REF(均价,1),均价,DRAWNULL),COLORGREEN,LINETHICK3;
IF(均价>=REF(均价,1),均价,DRAWNULL),COLORYELLOW,LINETHICK3;
DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORYELLOW,LINETHICK3;
DRAWNUMBER(CURRBARSCOUNT=2,均价,均价),COLORYELLOW,LINETHICK3;
简单一点就是
均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;