以下是最牛最牛的股票指标公式源码和使用说明
最牛最牛的基本面选股股票指标公式源码:
(REF(C,2)-REF(C,3))/REF(C,3) 0AND(REF(C,1)-REF(C,2))/REF(C,2) 0
ANDC REF(C,1)ANDC 0ANDREF(C,1) 0
AND(((C-O)/O)+((REF(C,1)-REF(O,1))/REF(O,1))) 0.05
AND(((C-O)/O)+((REF(C,1)-REF(O,1))/REF(O,1)))
TU:=C/MA(C,40) 0.80;
基本面rrggg5:=EMA(C,2);
指标公式:=EMA(基本面rrggg5,1);
通达信:=基本面rrggg5-REF(基本面rrggg5,1);
rrggg1:=指标公式-REF(指标公式,1);
DIVMA:=ABS(基本面rrggg5-指标公式);
TDJ:=(H-L)/REF(C,1) 0.05;
AVERIMPET:=(通达信+rrggg1)/2;
TDF:=POW(DIVMA,1)*POW(AVERIMPET,3);
NTDF:=TDF/HHV(ABS(TDF),15);
YUL:=COUNT(TDJ,5)
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
rrggg2:=TUANDYUL;
rrggg3:=CROSS(NTDF,-0.9);
rrggg5:=FILTER(REF(rrggg2,1)AND(rrggg3ORC REF(C,1))ANDMACD -0.58,10);
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB2:=RSV1/2+22;
rrggg6:=(RSV1+2) VARB2;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
SHYY:=rrggg6ANDCOUNT(rrggg5,10) =1ANDCCI1 -108;
XG:BARSLASTCOUNT(SHYY)=1;
过滤:=IF(NAMELIKE('S'),0,1)ANDIF(NAMELIKE('*'),0,1)ANDDYNAINFO(17) {滤过ST,停牌}
涨幅小于3:=((C-DYNAINFO(3))/DYNAINFO(3)) 0.03;
涨幅大于负3:=((C-DYNAINFO(3))/DYNAINFO(3)) -0.03;
涨幅小于5:=((C-DYNAINFO(3))/DYNAINFO(3)) 0.05;
涨幅小于6:=((C-DYNAINFO(3))/DYNAINFO(3)) 0.06;
涨幅小于10:=((C-DYNAINFO(3))/DYNAINFO(3)) 0.095;
滤过跌停:=((DYNAINFO(3)-C)/DYNAINFO(3)) 0.090;
过滤总:=过滤AND滤过跌停;
流通市值:=STRCAT(STRCAT('【流通市值】',CON2STR((CAPITAL/1000000)*C,2)),'亿元');
DRAWTEXT_FIX(ISLASTBAR,0.00,0.00,0,流通市值),COLORMAGENTA;
流通盘:=STRCAT(STRCAT('【流通盘】',CON2STR(CAPITAL/1000000,2)),'亿');
DRAWTEXT_FIX(ISLASTBAR,0.15,0.00,0,流通盘),COLORD4FF7F;
总股本:=STRCAT(STRCAT('【总股本】',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
DRAWTEXT_FIX(ISLASTBAR,0.30,0.00,0,总股本),COLORFFBF00;
地域:=STRCAT('【地域】',DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.43,0.00,0,地域),COLORWHITE;
行业:=STRCAT('【行业】',HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.56,0.00,0,行业),COLOR00AA00;
概念:=STRCAT('【概念】',GNBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.68,0.00,0,概念),COLOR0099FF;
净资产收益率:=STRCAT('【净资产收益率★高好】',CON2STR(FINANCE(30)/FINANCE(19)*100,2));{ROE即净资产收益率越高越好}
DRAWTEXT_FIX(ISLASTBAR,0.00,0.25,0,净资产收益率),COLORYELLOW;
市净率:=STRCAT('【市净率PB★低好】',CON2STR(C/FINANCE(34),2));{PB即市净率、越低越好}
DRAWTEXT_FIX(ISLASTBAR,0.20,0.25,0,市净率),COLORFF00FF;
市盈率:=STRCAT('【市盈率(动)PE★0-20】',CON2STR(CONST(DYNAINFO(39)),2));
DRAWTEXT_FIX(ISLASTBAR,0.40,0.25,0,市盈率),COLORYELLOW;
每股经营现金流:=STRCAT('【每股经营现金流】',CON2STR(FINANCE(25)/FINANCE(1),2));
DRAWTEXT_FIX(ISLASTBAR,0.60,0.25,0,每股经营现金流),COLORWHITE;
股息率:=STRCAT('【股息率】',CON2STR(FINANCE(32)/C,2));{这样算法对吗}
DRAWTEXT_FIX(ISLASTBAR,0.80,0.25,0,股息率),COLORCYAN;
流动比率:=STRCAT('【流动比率★1.5-2.5】',CON2STR(FINANCE(11)/FINANCE(15),2));
DRAWTEXT_FIX(ISLASTBAR,0.00,0.50,0,流动比率),COLORCYAN;
毛利率:=STRCAT('【毛利率】',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
DRAWTEXT_FIX(ISLASTBAR,0.50,0.50,0,毛利率),COLORCYAN;
最牛最牛的基本面选股股票指标公式截图