投股票网 www.tou18.cn [今日股市行情 股市在线查询 股票大盘行情] 股市有风险 投资需谨慎 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
投股票网
今日股市行情 股市在线查询 股票大盘行情
个股查询: 资金行情 DDX查询 大智慧超赢 同花顺DDE 千股千评 最新提示 股票公告 投资要点 评级查询 大小非 股东 增发配股 股权 高管 股票概况
当前位置: 投股票网 > 股市公式下载 > 通达信公式
股市公式查询:

通达信全息帐户主图指标公式

2021/1/1 18:23:30

股一成本:=10.62;股一数量:=300;股一收盘价:="600098$C";{输入股一成本,股数,代码}
股二成本:=10.79;股二数量:=500;股二收盘价:="601212$C";{输入股二成本,股数,代码}
股三成本:=45.52;股三数量:=800;股三收盘价:="603881$C";{输入股三成本,股数,代码}
DRAWRECTREL(IF(TOTALBARSCOUNT>80,0,455),290,IF(TOTALBARSCOUNT>80,IF(股一成本=0,0,IF(股二成本=0,100,IF(股三成本=0,150,200))),IF(股一成本=0,455,IF(股二成本=0,560,IF(股三成本=0,620,680)))),IF(股二成本!=0,700,610),RGB(1,0,0));
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.05,0.51),0.3,0,'广州发展');{输入股一名称}
DRAWTEXT_FIX(股二成本!=0,IF(TOTALBARSCOUNT>80,0.1,0.57),0.3,0,'白银有色');{输入股二名称}
DRAWTEXT_FIX(股三成本!=0,IF(TOTALBARSCOUNT>80,0.15,0.63),0.3,0,'数据港');{输入股三名称}
{----------------------只有上面部分需要自定义,以下全部不用修改--------------------------}
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.3,0,'★帐户'),COLORRED;
DRAWTEXT_FIX(股一成本=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.3,0,'★目前空仓★'),COLORYELLOW;
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.35,0,'投入金'),COLORRED;
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.4,0,'持股数'),COLORRED;
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.45,0,'成本价'),COLORRED;
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.55,0,'盈亏额'),COLORRED;
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.5,0,'盈亏﹪'),COLORRED;
股一金额:=股一成本*股一数量;
股二金额:=股二成本*股二数量;
股三金额:=股三成本*股三数量;
股一盈亏:=CONST((股一收盘价-股一成本)*股一数量);
股二盈亏:=CONST((股二收盘价-股二成本)*股二数量);
股三盈亏:=CONST((股三收盘价-股三成本)*股三数量);
股一盈亏比例:=(股一收盘价-股一成本)/股一成本*100;
股二盈亏比例:=(股二收盘价-股二成本)/股二成本*100;
股三盈亏比例:=(股三收盘价-股三成本)/股三成本*100;
DRAWTEXT_FIX(股一金额!=0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.35,0,CON2STR(股一金额,0)),COLORRED;
DRAWTEXT_FIX(股二金额!=0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.35,0,CON2STR(股二金额,0)),COLORRED;
DRAWTEXT_FIX(股三金额!=0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.35,0,CON2STR(股三金额,0)),COLORRED;
DRAWTEXT_FIX(股一数量!=0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.4,0,CON2STR(股一数量,0)),COLORRED;
DRAWTEXT_FIX(股二数量!=0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.4,0,CON2STR(股二数量,0)),COLORRED;
DRAWTEXT_FIX(股三数量!=0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.4,0,CON2STR(股三数量,0)),COLORRED;
DRAWNUMBER_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.45,0,股一成本),COLORRED;
DRAWNUMBER_FIX(股二成本!=0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.45,0,股二成本),COLORRED;
DRAWNUMBER_FIX(股三成本!=0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.45,0,股三成本),COLORRED;
DRAWTEXT_FIX(股一盈亏>0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.55,0,CON2STR(股一盈亏,0)),COLORYELLOW;
DRAWTEXT_FIX(股二盈亏>0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.55,0,CON2STR(股二盈亏,0)),COLORYELLOW;
DRAWTEXT_FIX(股三盈亏>0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.55,0,CON2STR(股三盈亏,0)),COLORYELLOW;
DRAWTEXT_FIX(股一盈亏<=0 AND 股一成本!=0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.55,0,CON2STR(股一盈亏,0)),COLORFF8000;
DRAWTEXT_FIX(股二盈亏<=0 AND 股二成本!=0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.55,0,CON2STR(股二盈亏,0)),COLORFF8000;
DRAWTEXT_FIX(股三盈亏<=0 AND 股三成本!=0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.55,0,CON2STR(股三盈亏,0)),COLORFF8000;
DRAWNUMBER_FIX(股一盈亏>0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.5,0,CONST(股一盈亏比例)),COLORYELLOW;
DRAWNUMBER_FIX(股二盈亏>0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.5,0,CONST(股二盈亏比例)),COLORYELLOW;
DRAWNUMBER_FIX(股三盈亏>0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.5,0,CONST(股三盈亏比例)),COLORYELLOW;
DRAWNUMBER_FIX(股一盈亏<=0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.5,0,CONST(股一盈亏比例)),COLORFF8000;
DRAWNUMBER_FIX(股二盈亏<=0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.5,0,CONST(股二盈亏比例)),COLORFF8000;
DRAWNUMBER_FIX(股三盈亏<=0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.5,0,CONST(股三盈亏比例)),COLORFF8000;
DRAWTEXT_FIX(股二成本!=0,IF(TOTALBARSCOUNT>80,0.007,0.46),0.65,0,'持仓盈亏额:'),COLORYELLOW;
DRAWTEXT_FIX(股二成本!=0,IF(TOTALBARSCOUNT>80,0.007,0.46),0.61,0,'持仓盈亏﹪:'),COLORYELLOW;
总成本:=CONST((股一成本*股一数量)+(股二成本*股二数量)+(股三成本*股三数量));
总盈:=CONST(股一盈亏)+CONST(股二盈亏)+CONST(股三盈亏);
总盈比:=总盈/总成本*100;
DRAWTEXT_FIX(总盈>0 AND 股二成本!=0,IF(TOTALBARSCOUNT>80,0.09,0.55),0.65,0,CON2STR(总盈,0)),COLORYELLOW;
DRAWNUMBER_FIX(总盈比>0 AND 股二成本!=0,IF(TOTALBARSCOUNT>80,0.09,0.55),0.61,0,CONST(总盈比)),COLORYELLOW;
DRAWTEXT_FIX(总盈<=0 AND 股二成本!=0,IF(TOTALBARSCOUNT>80,0.09,0.55),0.65,0,CON2STR(总盈,0)),COLORFF8000;
DRAWNUMBER_FIX(总盈比<=0 AND 股二成本!=0,IF(TOTALBARSCOUNT>80,0.09,0.55),0.61,0,CONST(总盈比)),COLORFF8000;

投股 票网 www.tou18 .cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
永创智能 603901+4.01% 评股 实时DDX 大智慧 最新消息 题材分析 股权
安妮股份 002235+4.01% 评股 实时DDX 大智慧 最新消息 题材分析 股权
东港股份 002117+4.00% 评股 实时DDX 大智慧 最新消息 题材分析 股权
世华科技 688093+3.99% 评股 实时DDX 大智慧 最新消息 题材分析 股权
聚灿光电 300708+3.99% 评股 实时DDX 大智慧 最新消息 题材分析 股权
康隆达 603665+3.97% 评股 实时DDX 大智慧 最新消息 题材分析 股权
财达证券 600906+3.97% 评股 实时DDX 大智慧 最新消息 题材分析 股权
古越龙山 600059+3.97% 评股 实时DDX 大智慧 最新消息 题材分析 股权
宜通世纪 300310+3.97% 评股 实时DDX 大智慧 最新消息 题材分析 股权
口子窖 603589+3.96% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120