下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
通达信T+0超强分时主图指标公式
攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;
攻击量A:=SUM(IF(CREF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;
攻击量B:=-SUM(IF(CREF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;
攻击流量:=攻击量A+攻击量B,COLORSTICK;
攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;
资金攻击:=IF(攻击比=0,(攻击比+50),100-Abs((攻击比-50)));
资金流入:=SUM(IF(CREF(C,1),V,0),FROMOPEN),STICK,COLORRED;
资金流出:=-SUM(IF(CREF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;
资金出入:=资金流入+资金流出,COLORSTICK;
资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;
资金流比:=IF(资金比=0,(资金比+100)/2,100-ABS((资金比-100)/2));
DRAWTEXT_FIX(1,0.180,0.88,0,STRCAT(STRCAT('【资金流比】',CON2STR(资金流比,2)),'%买')),COLORYELLOW;
DRAWTEXT_FIX(1,0.000,0.88,0,STRCAT(STRCAT('【资金攻击】',CON2STR(资金攻击,2)),'%买')),COLORYELLOW;
XG:HHV(H,480),DOTLINE,COLORC0C0C0;
STICKLINE(FILTER(crOSS(C,REF(XG,1)),10)ANDCREF(XG,1),C*0.99,C,8,0),COLORGREEN;
DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10)ANDCREF(XG,1),C*0.99,'突破'),COLORYELLOW;
RQ:=DATETODAY(DATE)-DATETODAY(REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT))+1;
JY:=BARSLAST((RQ-REF(RQ,1))!=WEEkdAY-REF(WEEKDAY,1)ORTOTALBARSCOUNT-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);
CK:=REFDATE((C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10,DATE),COLORAC59FF,CIRCLEDOT;
DRAWTEXT(ISLASTBAR,CK,'参考线'),COLOR0000FF;
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))+DYNAINFO(3);
DEA:=EMA(DIF,9);
macd1:=10*(DIF-DEA);
MACD2:=EMA(MACD1,2);
STICKLINE(MACD1=MACD2ANDMACD1=0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR0000B4;
STICKLINE(MACD1MACD2ANDMACD10,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR00B400;
STICKLINE(MACD1=MACD2ANDMACD10,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR5151A2;
STICKLINE(MACD1MACD2ANDMACD10,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR88743A;
XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));
主力:=expma(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120);
底:=1;1.02,NODRAW;高:=1.03;
DRAWTEXT(CROSS(主力,1.02),C*0.999,'-拉升'),COLORCYAN;
DRAWICON(CROSS(主力,1.04),C,24);
DRAWTEXT(CROSS(主力,1.04),C*0.999,'-冲涨停'),COLORLIMAGENTA;
A1:=(vol/CLOSE)/3;
A2:=SUM((IF(((A140)AND(CLOSE(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A140)AND(CLOSE(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A140)AND(CLOSE(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A140)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);
DRAWTEXT_FIX(1,0.0,1-0.05,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),'万')),COLORYELLOW;
DRAWTEXT_FIX(1,0.18,1-0.05,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),'万')),COLOR00FF00;
DRAWTEXT_FIX(1,0.36,1-0.05,0,STRCAT(STRCAT('【散户买盘】',CON2STR(散户买盘,2)),'万')),COLORYELLOW;
DRAWTEXT_FIX(1,0.54,1-0.05,0,STRCAT(STRCAT('【散户卖盘】',CON2STR(散户卖盘,2)),'万')),COLOR00FF00;
量价:=(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;
BBB1:=STRCAT(STRCAT('买=',CON2STR((100*B2)/B6,0)),'%'),COLORYELLOW;
BBB2:=STRCAT(STRCAT('卖=',CON2STR((100*B3)/B6,0)),'%');
BBB3:=STRCAT(STRCAT('差=',CON2STR((100*(B2-B3))/B6,0)),'%');
DRAWTEXT_FIX(DD1=1,0,0.70,0,BBB1),COLORRED;
DRAWTEXT_FIX(DD1=1,0,0.75,0,BBB2),COLORGREEN;
DRAWTEXT_FIX(DD1=1,0,0.80,0,BBB3),COLOR00FFFF;
市销率:=STRCAT('市销率:',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));市净率:=STRCAT('市净率:',CON2STR(C/FINANCE(34),2));
净资收益率:=STRCAT('净资收益率:',CON2STR(FINANCE(33)/FINANCE(34)*100,2));毛利率:=STRCAT('毛利率:',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
净利润率:=STRCAT('净利润率',CON2STR(FINANCE(30)/FINANCE(20)*100,2));主营利润率:=STRCAT('主营利润率',CON2STR(FINANCE(23)/FINANCE(20)*100,2));利润同比:=STRCAT('利润同比:',CON2STR(FINANCE(43),2));收入同比:=STRCAT('收入同比:',CON2STR(FINANCE(44),2));X1:=(FINANCE(11)-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,'重警',IF(Z值=1.2ANDZ值2.6,'轻警','无警'));财务预警:=STRCAT('财务预警:',STRCAT(预警,STRCAT('-Z值:',CON2STR(Z值,3))));
优质资产率:=STRCAT('优质资产率:',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2));现金负债比:=STRCAT('现金负债比:',CON2STR(FINANCE(25)/FINANCE(15),3));
财务系数:=STRCAT('风险系数:',STRCAT(STRCAT(财务预警,优质资产率),现金负债比));DRAWTEXT_FIX(ISLASTBAR,0.50,0.05,0,财务系数),COLORYELLOW;D1:=YEARANDMONTHANDDAY;AA1:=STRCAT(CON2STR(YEAR,0),'年');
AA2:=STRCAT(CON2STR(MONTH,0),'月');AA3:=STRCAT(CON2STR(DAY,0),'日');AA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));
AA:=STRCAT(STRCAT(STRCAT(AA1,AA2),STRCAT(AA3,AA4)),'');DRAWTEXT_FIX(D1,0.888,0.001,0,AA),COLORLIGRAY;
MZ0:=(BARSLAST(((HOUR=9)AND(MINUTE=31)))+1);
上穿分时:IF(((SETCODE2)AND(CONST(MZ0)241)),CONST(IF((TIME1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*HHV(CLOSE,0)),0))),DRAWNULL)LINETHICK1,DOTLINE,COLOR00FFFF;
底支:IF(((SETCODE2)AND(CONST(MZ0)241)),CONST(IF((TIME1000),HHV(CLOSE,0),SUM((IF((TIME=1000),1,0)*LLV(CLOSE,0)),0))),DRAWNULL),LINETHICK1,COLOR00FFFF;
STICKLINE(TIME=931ORTIME=1000,上穿分时,底支,0,-1),COLORLIBLUE;
分时上突:=CROSS(C,上穿分时);上突:=C上穿分时AND上穿分时底支;
DRAWICON(分时上突,C,11);股价支撑线:=MA(CLOSE,20);
底价线:股价支撑线-2*STD(CLOSE,20),NODRAW,COLORMAGENTA,LINETHICK2;DRAWTEXT_FIX(1,0.0001,0.00,0,STRCAT(STRCAT('【今日强势有效突破】',CON2STR(上穿分时,2)),'元买入可能赚')),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(1,0.5001,0.00,0,STRCAT(STRCAT('【底部得到有效支撑】',CON2STR(底支,2)),'元可以参考')),COLORWHITE,LINETHICK1;
所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT('[行业]',HYBLOCK),STRCAT('[地域]',DYBLOCK)),STRCAT('[概念]',GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.005,0.05,0,所属板块),COLORWHITE;
主营收入同比:=FINANCE(44);{主营收入同比增长率}
净利润同比:=FINANCE(43);{净利润同比增长率}
市盈:=DYNAINFO(39);
市净:=CONST(DYNAINFO(7)/FINANCE(34));
净利:=CONST(FINANCE(30)/FINANCE(20));
DRAWTEXT_FIX(1,0.72,0.71,0,'市盈:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.79,0.71,0,CON2STR(市盈,2)),COLORRED;
DRAWTEXT_FIX(1,0.72,0.77,0,'市净:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.79,0.77,0,CON2STR(市净,2)),COLORWHITE;
DRAWTEXT_FIX(1,0.72,0.83,0,'净利:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.79,0.83,0,CON2STR(净利,2)),COLORWHITE;
DRAWTEXT_FIX(1,0.72,0.89,0,'主营同比:'),COLORWHITE;
DRAWTEXT_FIX(1,0.79,0.89,0,STRCAT(VAR2STR(主营收入同比,0),'%')),COLORYELLOW;
DRAWTEXT_FIX(1,0.72,0.95,
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 乳酸菌饮料市场分析报告
- 教案 冷热不均引起大气运动
- 测距仪账务处理实例-记账实操
- 房地产 -中建大商务管理低成本运营
- 2024年直联式真空泵项目评估分析报告
- 消防栓使用方法介绍
- 2019湘美版 高中美术 选择性必修1 绘画《第三单元 主题性表现》大单元整体教学设计2020课标
- 2024届贵州省罗甸县第一中学高三年级第六次月考数学试题
- 参赛选手合同范本
- 槟榔租赁合同
- 检测设备检查维护保养记录
- 普法讲座-治安管理处罚法课件
- 云南省学校食堂“六T”管理检查评分标准
- 工程建设项目招投标领域整治强调发言
- 公务员考试议论文范文精选5篇
- 高考模拟作文写作:“如何辨别取舍信息”导写(附:写作指导及范文点评)
- 四年级数学老师家长会ppt
- 喜马拉雅有声书用户行为市场报告课件
- 2009-2022历年江苏省苏州工业园区管委会直属事业单位统一公开招聘人员《综合知识与能力素质》试题(管理类)含答案2022-2023上岸必备汇编4
- ACS510变频器参数表
- G344项目临建工程施工方案-12号定稿
评论
0/150
提交评论