❶ 你对股票公式了解多少roa数值代表了什么含义
股票中的roa是资产回报率也叫资产收益率是用来衡量每单位资产创造多少净利润的指标。计算公式:资产回报率=税后净利润/总资产。评估公司相对其总资产值的盈利能力的有用指标。是业界应用最为广泛的衡量银行盈利能力的指标之一。
ROE反应仅由股东投入的资金所产生的利润率,ROA反映股东和债权人共同的资金所产生的利润率,想要真正了解一家公司的真实运营能力,应当结合几个指标一起分析。 ROS是销售回报率,被广泛采用评估企业营运效益的比率。ROI是投资回报率,是(净收益) 占(投入总成本) 的百分比。最后就是用户在投资股票时一定要具备承担风险的能力因为股票投资极易出现本金的损失。而且在投资时一定要使用个人的闲钱不能借款投资。在买入一只股票时要时刻注意股价的变化不要错过最佳的卖点。
❷ 请高手帮忙将股票指标公式改为选股公式,源码如下:
额,源码你没打出来啊
❸ 秒杀一切妖股指标公式源码是什么
如下:
{百底公式1}
{AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);
BA:=EMA(AB,5);
顶1:=REFDATE(REF(HHV(H,100),5),DATE);
底1:=REFDATE(REF(LLV(L,100),5),DATE);
中1:=((顶1)+(底1))/2;
顶:IF(AB>0 AND AB-BA<=0,顶1,顶1),COLOR00FF00;
中:IF(AB>0 AND AB-BA<=0,中1,中1),COLORWHITE;
底:IF(AB>0 AND AB-BA<=0,底1,底1),COLORYELLOW;
DRAWTEXT(ISLASTBAR,(顶),STRCAT('',CON2STR(顶,2))),COLORWHITE;
DRAWTEXT(ISLASTBAR,(中),STRCAT('',CON2STR(中,2))),COLORWHITE;
DRAWTEXT(ISLASTBAR,(底),STRCAT('',CON2STR(底,2))),COLORWHITE;
{百底公式2}
N:100 NODRAW ;
高:IF(CURRBARSCOUNT<=N,CONST(HHV(H,N)),DRAWNULL),COLORGREEN ;
低:IF(CURRBARSCOUNT<=N,CONST(LLV(L,N)),DRAWNULL),COLORYELLOW;
NOTEXT中:低+(高-低)/2 COLORWHITE;
{涨幅:(C-低)/低*100 NODRAW COLORFF00FF;}
涨幅:((C-低)/(高-低))*100 NODRAW COLORFF00FF;
涨天数:LLVBARS(L,100)COLORWHITE NODRAW;
{跌幅:((C-高)/高)*100 NODRAW COLORD9D919;};
跌幅:((C-高)/(高-低))*100 NODRAW COLORD9D919;
跌天数:HHVBARS(H,100)COLORWHITE NODRAW;
DRAWTEXT(ISLASTBAR,(高-(高-低)/50),STRCAT('',CON2STR(高-(高-低)/50,2))),COLORWHITE;
DRAWTEXT(ISLASTBAR,(NOTEXT中),STRCAT('',CON2STR(NOTEXT中,2))),COLORWHITE;
DRAWTEXT(ISLASTBAR,(低),STRCAT('',CON2STR(低,2))),COLORWHITE;
MA5:MA(C,5),COLORYELLOW;
NOTEXT5:IF((C<=MA5 OR MA5<=REF(MA5,1)),MA5,DRAWNULL),COLORFFFF00;
振幅:((高-低)/低)*100 NODRAW COLORGREEN;
均周月:INBLOCK('均周')AND INBLOCK('均月') COLORWHITE NODRAW;
逃周月:INBLOCK('逃周')AND INBLOCK('逃月')NODRAW COLORYELLOW;
{VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(82,VAR7),H*1.01,'高抛'),COLORFFFFFF;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB = 1),(LOW * 0.99),'低吸'),COLORYELLOW;};
{百底距:=((C-低)/低)*100;
XG1:=BETWEEN(C,低,低*(1+0.03));
盘整天:BARSLASTCOUNT(XG1)NODRAW COLORYELLOW;}
{上涨值:=MA((H+REF(L,1))/2,3);
买进高点:=MA((H+REF(H,1))/2,3);
VAR1:=((O+H+L+2*C)/5)*2-L;
突破买入值:=MA(VAR1,3);{LSS轴点突破买入值}
{下跌值:=MA((REF(H,1)+L)/2,3);
卖出低点:=MA((REF(L,1)+L)/2,3);
VAR2:=((O+H+L+2*C)/5)*2-H;
突破卖出值:=MA(VAR2,3);
次日卖出点:=(上涨值+买进高点+突破买入值+H)/4;
次日买入点:=(下跌值+卖出低点+突破卖出值+L)/4;
均价:=(2*C+L+H/4);
买入价:IF(均价/REF(均价,1)>1,次日买入点*1.01,次日买入点)COLORWHITE NODRAW;
次低价:IF(均价/REF(均价,1)>1,次日买入点/1.0382,次日买入点)NODRAW COLORYELLOW;
卖出价:IF(均价/REF(均价,1)>1,次日卖出点*1.0191,次日卖出点)NODRAW;
必卖价:IF(均价/REF(均价,1)>1,次日卖出点*1.05,次日卖出点)COLORD9D919 NODRAW;}
{AC:=REF(C,1);
涨停K线:=IF((C-AC)*100/AC>=(10-0.01*100/AC),1,0);
跌停K线:=IF((AC-C)*100/AC>=(10-0.01*100/AC),1,0);
STICKLINE(涨停K线,OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(跌停K线,OPEN,CLOSE,2.5,0),COLORED9564;}
{涨停颜色粉色,完美区分20%10%5%,创业板20200823前10%照样变色}
BK:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)));
XA_1:=IF(DATE<=1200823,1,0);
STICKLINE((C>=ZTPRICE(REF(CLOSE,1),0.1) AND C=H) AND XA_1=1,O,C,3,0),COLORYELLOW;
STICKLINE((C<=DTPRICE(REF(CLOSE,1),0.1) AND C=L) AND XA_1=1,O,C,3,0),COLORED9564;
STICKLINE((C>=ZTPRICE(REF(C,1),BK) AND C=H),C,O,3,0),COLORYELLOW;
STICKLINE((C<=DTPRICE(REF(C,1),BK) AND C=L),C,O,3,0),COLORED9564;
{STICKLINE((H>=ZTPRICE(REF(C,1),BK) AND C<H) OR (H>=ZTPRICE(REF(CLOSE,1),0.1) AND C<H AND XA_1=1),H,MAX(C,O),0.1,0),COLORYELLOW;{涨停后回落}
{STICKLINE((L<=DTPRICE(REF(C,1),BK) AND C>L) OR (L<=DTPRICE(REF(CLOSE,1),0.1) AND C>L AND XA_1=1),L,MIN(C,O),0.1,0),COLORED9564;{跌停后回升}
{Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,10,0,STRCAT(Z3,GNBLOCK)),COLORWHITE;}
{DRAWTEXT_FIX(1,0.00,0.00,0,'主题投资:')COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0.00,0,EXTERNSTR(0,1))COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.06,0,'主营业务:')COLORWHITE;
DRAWTEXT_FIX(1,0.06,0.06,0,EXTERNSTR(0,2))COLORWHITE;
DRAWTEXT_FIX(1,0.00,0.12,0,'公司亮点:')COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0.12,0,EXTERNSTR(0,3))COLORYELLOW; }
{流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;}
{涨停统计}
{涨停:=CLOSE/REF(CLOSE,1)>=1.095;
ZTCS:=COUNT(涨停,BARSSINCE(涨停)+1);}
{DRAWNUMBER(涨停,HIGH*1.04,ZTCS),COLORYELLOW;}
{GZT1:=STRCAT('共涨停: ',CON2STR(ZTCS,0));
GZT2:=STRCAT(GZT1,'次');
SSTS1:=STRCAT('上市: ',CON2STR(FINANCE(42),0));
SSTS2:=STRCAT(SSTS1,'天');
NTZZT1:=STRCAT('距今:',CON2STR(CONST(BARSLAST(涨停)),0));
NTZZT2:=STRCAT(NTZZT1,'天有涨停');
ZTTJ1:=STRCAT(SSTS2,GZT2);
ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);
ZTTJ:=STRCAT('涨停统计:',ZTTJ2);
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.18,0,ZTTJ),COLORWHITE;}。
❹ 有那位见过这样的股票指标,请发我一份源码可以吗
我没有,但我给你提个思路和建议,直观上看就是macd+kdj 指标的合体,至于红绿柱状,可能会引用未来数据,才能表达如此神准,要依照红绿柱操作,结果绝对好不了,
❺ 求一通达信的股票指标公式或源码(有图有悬赏)
这个指标,就是通达信系统公式“ZJTJ”(庄家抬轿)加了一个未来函数,没啥了不起,想要给你订做一个,不过是带未来的,要否?
❻ 谁能知道加密的股票指标源码啊
朋友,那要看是什么样的指标,有些简单的可以看出来的,复杂的只能通过通过其他途径来破解了。
❼ 股票指标源码
别名: 彩色棒状线
所属类别: 线型描述 参数数量: 0
以零轴为中心画彩色棒状线,零轴下为阴线颜色,零轴上为阳线颜色
例如: CLOSE-OPEN,COLORSTICK;
别名: 分笔数量
所属类别: 行情函数 参数数量: 0
取得该周期成交分笔。
用法:
QT
柱状的 每笔 源码 : (VOL,VOLSTICK;这个是成量的柱形,把vol换成 qt就行)
qt,COLORSTICK;//这个macd的柱形
以上是飞狐的,其他 软件也差不多,最多是函数名称 不同而以
❽ 求股票好用的有买卖提示的技术指标源码
{这是我用的同花顺‘粉进黄出’主图指标,不知是不是楼主想要的?}
日均线5: MA(CLOSE,5),COLOR00FFFF;
日均线10: MA(CLOSE,10),COLORFF00FF;
BOLL中线: MA(CLOSE,20),COLORFF0000;
BOLL顶线: BOLL中线+2*STD(CLOSE,26),COLORFFFF10;
BOLL底线: BOLL中线-2*STD(CLOSE,26),COLORFFCC66;
MA6:= MA(CLOSE,6);
MA18:= MA(CLOSE,18);
MA30:= MA(CLOSE,30);
MA60:= MA(CLOSE,60);
AAF:= LLV(LOW,34);
BBF:= MA(AAF,4);
LC:= REF(CLOSE,1);
RSI:= SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
DRAWICON(CROSS(84,RSI),HIGH*1.03,5),COLOR0000FF;
DRAWICON(CROSS(RSI,11),LOW*0.99,4),COLOR008000;
VAR27:= REF(CLOSE,1);
VAR28:= SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;
DRAWICON(IF(CROSS(76,VAR28),1,0),HIGH*1.03,5),COLORFF0000;
DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5),LOW,'☆'),COLORFF00FF;
VARA:= AMOUNT/VOL/100;
VARB:= (3*HIGH+LOW+OPEN+2*CLOSE)/7;
VARC:= SUM(AMOUNT,7)/VARA/100;
VARD:= DMA(VARB,VOL/VARC);
VARE:= (CLOSE-VARD)/VARD*100;
VARF:= (CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VARJ:= MA(VARE,20)+STD(VARE,20);
BIAS18:= (CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
AA:= SMA(VARF,3,1);
SS:= REF(BIAS18,1)>=5 AND CROSS(VARJ,VARE) AND AA>79;
DRAWTEXT(REF(BIAS18,1)>=5 AND CROSS(VARJ,VARE) AND AA>SS,HIGH*1.02,'☆'),COLOR008000;
VAR1:= ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
VAR2:= ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
STICKLINE(VAR1,CLOSE,OPEN,8,0),COLOR00FFFF;
STICKLINE(VAR1,CLOSE,OPEN,3,0),COLOR00FFFF;
STICKLINE(VAR1,HIGH,LOW,1,0),COLOR00FFFF;
STICKLINE(VAR2,CLOSE,OPEN,8,0),COLORFF00FF;
STICKLINE(VAR2,CLOSE,OPEN,3,0),COLORFF00FF;
STICKLINE(VAR2,HIGH,LOW,1,0),COLORFF00FF;
VAR2,LINETHICK0,COLOR0000FF;
引用的,其实我也在用同花顺,不过技术没你这么高了。还要用到指标源码了,是工具里面的?
❾ 这个股票指标源码含有未来函数么
DRAWLINE 属于未来函数;