1.通达信分时公式源码
2.求高手写个通达信当天开盘价在分时图上自动画线的指标分时主图指标?谢谢!
通达信分时公式源码
不同的公式炒股软件有很多,其中通达信炒股软件是源码一款定位于提供多功能服务的证券信息平台,由深圳财富趋势科技股份有限公司设计的指标一款移动证券软件。分时图是公式指大盘和个股的动态实时(即时)分时走势图,那么通达信分时图公式源码如何?分时图其在实战研判中的源码广电机顶盒可以源码输出吗地位极其重要,是指标即时把握多空力量转化即市场变化直接的根本所在。分时图是公式刻画股价波动最直接的图表,包含着所有图表中最形象最丰富最迅速的源码股价信息,让我们了解股票目前的指标最即时的多空力量情况。
通达信分时图如何
首先,公式在通信达中点击技术指标一下,源码出来分时指标,指标再看分时指标右上角有:点右键设置指标,公式选择分时指标。源码通达信分时图公式源码:MA:=EMA(CLOSE,);
强弱:EMA(CLOSE,);
STICKLINE((MA强弱),MA,强弱,1,0),COLORFF;
STICKLINE((MA强弱),MA,强弱,1,0),COLORFF;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORDD。
分时图买卖要点规则中,源码设计方案在看分时图中很重要的一点就是看分时线和均价线的位置关系,健康完美的分时线和均线运行状态是,分时线运行在均价线上并保持一定的比例关系,当分时线上涨是均价线应该跟上,如果分时上涨均价反应迟钝是一种异常,说明有资金虚假拉升或者为了出货拉升。第一,分时走势下跌中只做空不做多;第二,分时上升趋势做多不做空;第三,四边形或三角形末端突破买卖法。
求高手写个通达信当天开盘价在分时图上自动画线的分时主图指标?谢谢!
用这个代码:
DYNAINFO(4),COLORFFAA;
很好用的分时主图指标公式:
M1:=;
N1:=;
N:=;
Q:=5;
SHORT:=;
LONG:=;
MID:=;
P2:=;
DRAWGBK(C>0,RGB(,,),RGB(,,),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(CMR:=CDRAWTEXT(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,c语言system源码阻力,'顶'),COLORGREEN;
DRAWTEXT(ISLASTBAR,支撑,'底'),COLORRED;
DRAWTEXT(ISLASTBAR,(支撑+阻力)/2,'中'),COLORWHITE;
每股净资产:=STRCAT(STRCAT('每股净资产:',CON2STR(FINANCE(),2)),'元');
DRAWTEXT_FIX(1,0.,0.,0,每股净资产),COLORWHITE;
主营同比增长:=STRCAT(STRCAT('主营同比增长:',CON2STR(FINANCE(),2)),'%');
DRAWTEXT_FIX(1,0.,0.,0,主营同比增长),COLORCYAN;
净利润同比增长:=STRCAT(STRCAT('净利润同比增长:',CON2STR(FINANCE(),2)),'%');
DRAWTEXT_FIX(1,0.,0.,0,净利润同比增长),COLORYELLOW;
{ 销售毛利率:=STRCAT(STRCAT('销售毛利率:',CON2STR(FINANCE()/FINANCE()*,2)),'%');}
销售毛利率:=STRCAT(STRCAT('销售毛利率:',CON2STR((FINANCE()-FINANCE())/FINANCE()*,2)),'%');
DRAWTEXT_FIX(1,0.,0.,0,销售毛利率),COLORCYAN;
DRAWTEXT_FIX(1,0.,0.,0,'每股收益:')COLORYELLOW;
DRAWTEXT_FIX(1,0.,0.,0,STRCAT(CON2STR(FINANCE()/FINANCE(1),2),'元'))COLORYELLOW;
DRAWTEXT_FIX(1,0.,0.,0,'每股市盈率:')COLORYELLOW;
DRAWTEXT_FIX(1,0.,0.,0,STRCAT(CON2STR(C/FINANCE(),2),'倍'))COLORYELLOW;
DRAWTEXT_FIX(1,0.,0.,0,'流通A股:')COLORCYAN;
DRAWTEXT_FIX(1,0.,0.,0,STRCAT(CON2STR(CAPITAL/,2),'亿股'))COLORCYAN;
DRAWTEXT_FIX(1,0.,0.,0,'每股未分配:元')COLORYELLOW;
DRAWTEXT_FIX(1,0.,0.,0,CON2STR(FINANCE(),2))COLORYELLOW;
DRAWTEXT_FIX(1,0.,0.,0,'经营现金流:元')COLORYELLOW;
DRAWTEXT_FIX(1,0.,0.,0,CON2STR(FINANCE()/FINANCE(1),2))COLORYELLOW;
DRAWTEXT_FIX(1,0.,0.,0,'☆[热点概念]:')COLORYELLOW;
DRAWTEXT_FIX(1,0.,0.,0,EXTERNSTR(0,1))COLORYELLOW;
DRAWTEXT_FIX(1,0.,0.,0,'☆[主营行业]:')COLORCYAN;
DRAWTEXT_FIX(1,0.,0.,0,EXTERNSTR(0,2))COLORCYAN;
{ DRAWTEXT_FIX(1,0.,0.,0,'[高送转信号]:')COLORCYAN;
DRAWTEXT_FIX(1,0.,0.,0,EXTERNSTR(0,3))COLORCYAN;};
所属板块:=STRCAT('☆所属板块',STRCAT(STRCAT(STRCAT('[行业]—',HYBLOCK),STRCAT('[地域]—',DYBLOCK)),STRCAT('[概念]—',GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.,0.,0,所属板块),COLORYELLOW;
今日人气:=DYNAINFO()/DYNAINFO();
DRAWTEXT_FIX(1,0,0.,0,'◆大盘人气:'),COLORYELLOW,LINETHICK4;
DRAWNUMBER_FIX(1,0.,0.,0,CONST(今日人气)),COLORYELLOW;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,,IF(PERIOD=3,,IF(PERIOD=4,,IF(PERIOD=5,,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME虚拟量:=IF(CURRBARSCOUNT=1,vol*TOTAL/CTIME,DRAWNULL);
虚拟量比:=虚拟量/REF(VOL,1),COLORWHITE,LINETHICK0;
虚量值:=(虚拟量-VOL)/VOL,COLORWHITE,LINETHICK0;
DRAWTEXT_FIX(1,0.,0.,0,'▲量比:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.,0.,0,CONST(虚拟量比)),COLORYELLOW;
量价:=(VOL/CLOSE)/3;
统计主动买量:=SUM((IF(((量价>0.)AND(CLOSE>(REF(CLOSE,1)))),量价,0)),0);
统计主动卖量:=SUM((IF(((量价>0.)AND(CLOSE涨停能量:=((统计主动买量)/统计主动卖量)*,COLORFF;
DRAWTEXT_FIX(1,0.,0.,0,'★涨停能量:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.,0.,0,CONST(涨停能量)),COLORYELLOW;