看股吧 www.kanguba.com [今日大盘指数 欧美全球股市行情 股票公式查询网站] 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
看股吧
看股吧股票网-今日大盘指数 欧美全球股市行情 股票公式查询网站
股票查询: 行情分析 DDX指标 走势点评 股票公告 大事 主力持仓 股权质押 分红 大小非 十大股东 股本结构 高管持股 研报 高管 主营 龙虎榜 股吧
当前位置: 看股吧 > 股票公式 > 通达信公式
股票公式搜索:

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

2021/1/1 17:52:14

股一成本:=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.kangub a.com

其它股票公式列表
看股吧查股导航:个股行情分析查询 股票DDX指标查询 走势点评 股票公告查询 大事提醒 股权质押查询 股票分红查询 解禁查询 高管持股 高管查询
西菱动力 300733+4.68% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
许继电气 000400+4.68% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
古鳌科技 300551+4.67% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
永和智控 002795+4.64% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
金能科技 603113+4.61% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
世联行 002285+4.60% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
合康新能 300048+4.56% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
三和管桩 003037+4.54% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
金风科技 002202+4.54% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
蓝海华腾 300484+4.51% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
看股网力求但不保证数据的完全准确,不对因网站全部内容或部分内容而引致的盈亏承担任何责任,本站所有内容仅供参考。
本站不提供任何股票服务,站内广告不代表看股吧的观点,由此引起的一切法律责任均与本站无关,请股民自行识别判断,谨慎投资,预防上当受骗!
联系我们:nlfen9@hotmail.com
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-121