【通达信分享源码】精品指标公式-红盟基本面指标源码
公式源码:
股市红盟:0,COLORRED;
总额万:AMOUNT/10000,COLORFF00FF,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),VAR1*((HIGH-OPEN)+(CLOSE-LOW))),LINETHICK3 COLORRED;
卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),0-VAR1*(HIGH-LOW)),LINETHICK3 COLORGREEN;
盘差:买盘+卖盘,COLORFFFF00,NODRAW;
DRAWTEXT_FIX(1,0.00,0,0,'行业类别:')COLORRED;
DRAWTEXT_FIX(1,0.08,0,0,HYBLOCK)COLORRED;
DRAWTEXT_FIX(1,0.16,0,0,'归属地:')COLORFF00FF;
DRAWTEXT_FIX(1,0.22,0,0,DYBLOCK)COLORFF00FF;
DRAWTEXT_FIX (1,0.30,0,0,'股本: ')COLORFFFF00;
DRAWNUMBER_FIX(1,0.35,0,0,CONST(FINANCE(1)/100000000))COLORFFFF00;
DRAWTEXT_FIX (1,0.41,0,0,'流通盘: ')COLORFFFF00;
DRAWNUMBER_FIX(1,0.47,0,0,CONST(FINANCE(7)/100000000))COLORFFFF00;
DRAWTEXT_FIX (1,0.53,0,0,'每股收益: ')COLORRED;
DRAWNUMBER_FIX(1,0.61,0,0,CONST(FINANCE(33)))COLORRED;
DRAWTEXT_FIX(1,0.67,0,0,'所属概念:')COLOR0080FF;
DRAWTEXT_FIX(1,0.75,0,0,GNBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.00,1,0,'每股净资产: ')COLORRED;
DRAWNUMBER_FIX(1,0.09,1,0,CONST(FINANCE(34)))COLORRED;
DRAWTEXT_FIX (1,0.15,1,0,'收入同比: ')COLORFF00FF;
DRAWNUMBER_FIX(1,0.23,1,0,CONST(FINANCE(44)))COLORFF00FF;
DRAWTEXT_FIX (1,0.31,1,0,'利润同比: ')COLORFFFF00;
DRAWNUMBER_FIX(1,0.39,1,0,CONST(FINANCE(43)))COLORFFFF00;
DRAWTEXT_FIX (1,0.47,1,0,'净利润: ')COLORFFFF00;
DRAWNUMBER_FIX(1,0.53,1,0,CONST(FINANCE(30)))COLORFFFF00;
DRAWTEXT_FIX (1,0.66,1,0,'换手:')COLORRED;
DRAWNUMBER_FIX(1,0.70,1,0,CONST(DYNAINFO(37)*100))COLORRED;
DRAWTEXT_FIX (1,0.75,1,0,'量比:')COLORWHITE;
DRAWNUMBER_FIX(1,0.79,1,0,CONST(DYNAINFO(17)))COLORWHITE;
DRAWTEXT_FIX (1,0.85,1,0,'市盈率:')COLORYELLOW;
DRAWNUMBER_FIX(1,0.91,1,0,CONST(DYNAINFO(39)))COLORYELLOW;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!