• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【配资炒股】【通达信】帐户信息主图指标公式

    发布时间: 2020-04-21 09:00 首页:股票一点通>股票公式>通达信公式> 阅读()

    {帐户}
    股一成本:=10.88; 股一数量:=300; 股一收盘价:=”000601$C”;
    股二成本:=66.053; 股二数量:=100; 股二收盘价:=”002281$C”;
    股三成本:=16.293; 股三数量:=400; 股三收盘价:=”002566$C”;
    股四成本:=6.51; 股四数量:=0; 股四收盘价:=”600175$C”;
    股五成本:=9.5; 股五数量:=0; 股五收盘价:=”300301$C”;
    {以上数据应根据自己所购股票的实际情况,交易成功后修改}
    DRAWTEXT_FIX(C>0,0,0.15,0,’韶能股份’),COLORCYAN;
    DRAWTEXT_FIX(C>0,0,0.27,0,’光迅科技’),COLORYELLOW;
    DRAWTEXT_FIX(C>0,0,0.39,0,’益盛药业’),COLORCYAN;
    DRAWTEXT_FIX(C>0,0,0.51,0,’美都能源’),COLORYELLOW;
    DRAWTEXT_FIX(C>0,0,0.63,0,’长方照明’),COLORCYAN;
    {股票名称应与自己实际做修改}
    股一盈亏:=INTPART((股一收盘价-股一成本)*股一数量);
    股二盈亏:=INTPART((股二收盘价-股二成本)*股二数量);
    股三盈亏:=INTPART((股三收盘价-股三成本)*股三数量);
    股四盈亏:=INTPART((股四收盘价-股四成本)*股四数量);
    股五盈亏:=INTPART((股五收盘价-股五成本)*股五数量);
    股一盈亏比例:=(股一收盘价-股一成本)/股一成本*100;
    股二盈亏比例:=(股二收盘价-股二成本)/股二成本*100;
    股三盈亏比例:=(股三收盘价-股三成本)/股三成本*100;
    股四盈亏比例:=(股四收盘价-股四成本)/股四成本*100;
    股五盈亏比例:=(股五收盘价-股五成本)/股五成本*100;
    股一涨跌:=CONST(股一收盘价-股一成本);
    股二涨跌:=CONST(股二收盘价-股二成本);
    股三涨跌:=CONST(股三收盘价-股三成本);
    股四涨跌:=CONST(股四收盘价-股四成本);
    股五涨跌:=CONST(股五收盘价-股五成本);
    DRAWTEXT_FIX(C>0,0.01,0.05,0,’名称’),COLORYELLOW;
    DRAWTEXT_FIX(C>0,0.08,0.05,0,’库存’),COLORYELLOW;
    DRAWTEXT_FIX(C>0,0.15,0.05,0,’成本’),COLORYELLOW;
    DRAWTEXT_FIX(C>0,0.22,0.05,0,’盈额’),COLORYELLOW;
    DRAWTEXT_FIX(C>0,0.29,0.05,0,’盈比’),COLORYELLOW;
    DRAWTEXT_FIX(C>0,0.36,0.05,0,’涨跌’),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.08,0.15,0,股一数量),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.08,0.27,0,股二数量),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.08,0.39,0,股三数量),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.08,0.51,0,股四数量),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.08,0.63,0,股五数量),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.15,0.15,0,股一成本),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.15,0.27,0,股二成本),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.15,0.39,0,股三成本),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.15,0.51,0,股四成本),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.15,0.63,0,股五成本),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.22,0.15,0,CONST(股一盈亏)),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.22,0.27,0,CONST(股二盈亏)),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.22,0.39,0,CONST(股三盈亏)),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.22,0.51,0,CONST(股四盈亏)),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.22,0.63,0,CONST(股五盈亏)),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.29,0.15,0,CONST(股一盈亏比例)),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.29,0.27,0,CONST(股二盈亏比例)),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.29,0.39,0,CONST(股三盈亏比例)),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.29,0.51,0,CONST(股四盈亏比例)),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.29,0.63,0,CONST(股五盈亏比例)),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.36,0.15,0,股一涨跌),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.36,0.27,0,股二涨跌),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.36,0.39,0,股三涨跌),COLORCYAN;
    DRAWNUMBER_FIX(C>0,0.36,0.51,0,股四涨跌),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.36,0.63,0,股五涨跌),COLORCYAN;
    总盈:=CONST(股一盈亏)+CONST(股二盈亏)+CONST(股三盈亏)+CONST(股四盈亏)+CONST(股五盈亏);
    DRAWTEXT_FIX(C>0,0.43,0.05,0,’总盈额’),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.43,0.15,0,INTPART(总盈)),COLORCYAN;
    总成本:=CONST((股一成本*股一数量)+(股二成本*股二数量)+(股三成本*股三数量)+(股四成本*股四数量)+(股五成本*股五数量));
    总盈比:=总盈/总成本*100;
    DRAWTEXT_FIX(C>0,0.43,0.27,0,’总盈比’),COLORYELLOW;
    DRAWNUMBER_FIX(C>0,0.43,0.39,0,总盈比),COLORCYAN;

    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map