炒股指标代码会不会有源代码

jijinwang

什么叫好用?适合自己的,在股市中能挣钱的指标,就是好用的指标。
均线好用吗?其实很好用。均线是分大小,分级别。许多人只是看多头排列,空头排列,金叉死叉,支撑,压力等。说实在的,会这些只能是小学水评。
而真正理解均线,必须要知道均线的由来。许多人可能会认为:知道怎么来的。如30日均线就是由30个交易日的收盘价(或点)相加除以30而得来的平均值。没错。但明天呢?后天哪?再远一点哪?不还沒有收盘价(点),怎么能出来。有聪明人会用推演去画出来。这是可以的,但要是学会扣减。则对于任何均线后期如何走是有很方便的预判,这就是要理解均线的内在含义。
而均线又可以配合乖离率,压力区,能正确预判出来顶部区域而抛出获利股票。
我只是简单举例说说均线而已。电脑中这么多指标,有三~五指标用好,用精。挣钱只是挣多,挣少的事了。
技术不是万能的,没有技术是万万不能的。
本人通过多个指标的配合。比较准确的在顶部区域成功的抛出股票。若有幸观注本人的。在大盘顶部区域本人会有告知的。
操作成功案例:中国平安601318抛出区域。83元--91元。19年至2020年春节前(只留下100股底仓,47元成本)。华侨城在今年,10.2元抛出(顶部区域)。
注:我说的是顶部区域,而不是某个高点或是最高点。我还真不能准确判断最高点的位置,也沒有这个本事。但卖在顶部区域还是可以的。

1、股市中,指标到底有没有用?

编过300多个指标,告诉你,没用,都是事后诸葛亮!股市盈利靠的是策略和纪律!

指标到底有没有,仁者见仁智者见智,每个人接触指标的时间不同,使用的指标不一样,可能效果就 不一样,我给你分享一款自己使用的,挺好用的成功率90%以上的指标,希望对你炒股有所帮助

品种类型:=FINANCE(3);

所属板块:=HYBLOCK;

上市天数:=FINANCE(42);

股总市值:=ROUND(FINANCE(41)/100000000);

流通市值:=ROUND(FINANCE(40)/100000000);

股东人数:=FINANCE(8);

人均持股:=ROUND(FINANCE(7)/FINANCE(8));

DRAWTEXT_FIX(1,0.008,0.01,0,'基本资料:'),COLORLIBLUE;

DRAWTEXT_FIX(1,0.008,0.05,0,'上市天数:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.008,0.09,0,'股东人数:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.008,0.13,0,'人均持股:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.008,0.17,0,'品种类型:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.008,0.25,0,'行业板块:'),COLORLIGREEN;

DRAWTEXT_FIX(品种类型=1,0.066,0.17,0,'沪 深 A 股'),COLORYELLOW;

DRAWTEXT_FIX(品种类型=2,0.066,0.17,0,' 中 小 板'),COLORYELLOW;

DRAWTEXT_FIX(品种类型=3,0.066,0.17,0,' 创 业 板'),COLORYELLOW;

DRAWTEXT_FIX(1,0.068,0.25,0,HYBLOCK),COLORYELLOW;{行业板块}

DRAWTEXT_FIX(1,0.068,0.05,0,CON2STR(上市天数,0)),COLORWHITE;{数值}

DRAWTEXT_FIX(1,0.068,0.09,0,CON2STR(股东人数,0)),COLORWHITE;

DRAWTEXT_FIX(1,0.068,0.13,0,CON2STR(人均持股,0)),COLORWHITE;

DRAWTEXT_FIX(1,0.110,0.05,0,'天'),COLORWHITE;{单位}

DRAWTEXT_FIX(1,0.110,0.09,0,'人'),COLORWHITE;

DRAWTEXT_FIX(1,0.110,0.13,0,'股'),COLORWHITE;

DRAWTEXT_FIX(1,0.008,0.21,0,'地区板块:')COLORLIGREEN;{所属板块}

DRAWTEXT_FIX(1,0.068,0.21,0,DYBLOCK)COLORCYAN;

DRAWTEXT_FIX(1,0.136,0.25,0,'概念板块:')COLORLIGREEN;

DRAWTEXT_FIX(1,0.196,0.25,0,GNBLOCK)COLORCYAN;

DRAWTEXT_FIX(1,0.008,0.29,0,'风格板块:')COLORLIGREEN;

DRAWTEXT_FIX(1,0.068,0.29,0,FGBLOCK)COLORCYAN;

净资收益率:=(FINANCE(33)/FINANCE(34)*100);

主营利润率:=(FINANCE(23)/FINANCE(20)*100);

现金负债比:=(FINANCE(25)/FINANCE(15));

主营收入同比:=FINANCE(44);{主营收入同比增长率}

净利润同比:=FINANCE(43);{净利润同比增长率}

DRAWTEXT_FIX(1,0.133,0.01,0,'财务资料(1):'),COLORLIBLUE;

DRAWTEXT_FIX(1,0.133,0.05,0,'净资产收益率:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.133,0.09,0,'主营业务利润率:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.133,0.13,0,'现金流动负债比:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.133,0.17,0,'主营收入同比:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.133,0.21,0,'净利润同比:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.226,0.05,0,STRCAT(VAR2STR(净资收益率,2),' %')),COLORCYAN;

DRAWTEXT_FIX(1,0.226,0.09,0,STRCAT(VAR2STR(主营利润率,2),' %')),COLORCYAN;

DRAWTEXT_FIX(1,0.226,0.13,0,CON2STR(现金负债比,2)),COLORCYAN;

DRAWTEXT_FIX(1,0.226,0.17,0,STRCAT(VAR2STR(主营收入同比,0),' %')),COLORCYAN;

DRAWTEXT_FIX(1,0.226,0.21,0,STRCAT(VAR2STR(净利润同比,0),' %')),COLORCYAN;

每股收益:=CONST(FINANCE(38));{近期}{每股税后利润}

每股收益年:=CONST(FINANCE(33));

每股净资产:=CONST(FINANCE(34));

每股现金流:=CONST((FINANCE(25)/FINANCE(1)));

每股未分配:=CONST(FINANCE(32));

每股公积金:=CONST(FINANCE(18));

DRAWTEXT_FIX(1,0.285,0.01,0,'财务资料(2):'),COLORLIBLUE;

DRAWTEXT_FIX(1,0.285,0.05,0,'每股收益(近):'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.285,0.09,0,'每股收益年:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.285,0.13,0,'每股净资产:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.285,0.17,0,'每股未分配:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.285,0.21,0,'每股公积金:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.386,0.05,1,CON2STR(每股收益,2)),COLORCYAN;

DRAWTEXT_FIX(1,0.386,0.09,1,CON2STR(每股收益年,2)),COLORCYAN;

DRAWTEXT_FIX(1,0.386,0.13,1,CON2STR(每股净资产,2)),COLORCYAN;

DRAWTEXT_FIX(1,0.386,0.17,1,CON2STR(每股未分配,2)),COLORCYAN;

DRAWTEXT_FIX(1,0.386,0.21,1,CON2STR(每股公积金,2)),COLORCYAN;

市盈率:=DYNAINFO(39);

市销率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));

市净率:=CONST(DYNAINFO(7) / FINANCE(34));

毛利率:=((FINANCE(20)-FINANCE(21))/FINANCE(20)*100);

净利润率:=CONST(FINANCE(30)/FINANCE(20));

DRAWTEXT_FIX(1,0.406,0.01,0,'财务资料(3):'),COLORLIBLUE;

DRAWTEXT_FIX(1,0.406,0.05,0,'市盈率:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.406,0.09,0,'市销率:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.406,0.13,0,'市净率:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.406,0.17,0,'毛利率:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.406,0.21,0,'净利润率:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.489,0.05,1,CON2STR(市盈率,2)),COLORCYAN;

DRAWTEXT_FIX(1,0.489,0.09,1,CON2STR(市销率,2)),COLORCYAN;

DRAWTEXT_FIX(1,0.489,0.13,1,CON2STR(市净率,2)),COLORCYAN;

DRAWTEXT_FIX(1,0.489,0.17,1,CON2STR(毛利率,2)),COLORCYAN;

DRAWTEXT_FIX(1,0.489,0.21,1,CON2STR(净利润率,2)),COLORCYAN;

经营现金流量:=FINANCE(25)/10000;

资产负债率:=FINANCE(9);

应收帐款:=FINANCE(22)/10000;

DRAWTEXT_FIX(1,0.518,0.01,0,'财务资料(4):'),COLORLIBLUE;

DRAWTEXT_FIX(1,0.518,0.05,0,'资产负债率:'),COLORLIGREEN;

DRAWTEXT_FIX(1,0.636,0.05,1,STRCAT(CON2STR(资产负债率,2),' %')),COLORCYAN;

DRAWTEXT_FIX(1,0.518,0.09,0,STRCAT('经营现金流量:',STRCAT(VAR2STR(经营现金流量,0),' 万元'))),COLORWHITE;

DRAWTEXT_FIX(1,0.518,0.13,0,STRCAT('应收帐款:',STRCAT(VAR2STR(应收帐款,0),' 万元'))),COLORWHITE;

市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿元');

DRAWTEXT_FIX(1,0.598,0.01,0,市值),COLOR0080FF;

AAA5:=STRCAT('成交金额:',CON2STR(DYNAINFO(10)/100000000,2));

AAA6:=STRCAT('成交金额:',CON2STR(DYNAINFO(7)/100000000,2)),'亿元';

DRAWTEXT_FIX(1,0.728,0.01,0,AAA5),COLORYELLOW;

DRAWTEXT_FIX(1,0.818,0.01,0,AAA6),COLORYELLOW;

AAA7:=STRCAT('换手率:',CON2STR(DYNAINFO(37)*100,2));

AAA8:=STRCAT('成交金额:',CON2STR(DYNAINFO(7)/100000000,2)),'(%)';

DRAWTEXT_FIX(1,0.868,0.01,0,AAA7),COLORYELLOW;

DRAWTEXT_FIX(1,0.928,0.01,0,AAA8),COLORYELLOW;

STICKLINE(L>REF(H,1) ,REF(H,1),L,4,-1),COLORDF00DF;

STICKLINE(H<REF(L,1) ,REF(L,1),H,4,-1),COLORDFDF00;

MA18:=MA(CLOSE,18);

MTM:=C-REF(C,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));

DRAWTEXT(FILTER(买=1,5),LOW*0.97,'★大机构进场'),COLORRED;

卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);

DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01,'★精准卖'),COLORGREEN;

F(A,3)+0.146*REF(A,4))/2.382; YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A,2),32))/4; YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),32))/4;

SMH:=EMA(YCZXH,21);

SML:=EMA(YCZXL,21);

SMJ:=(SML+SMH)/2;

PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9))/55; A1:=EMA(PJ,3),COLOR00400D;

A2:=EMA(PJ,5),COLOR00400D;

A3:=EMA(PJ,7),COLOR00400D;

A4:=EMA(PJ,9),COLOR00400D;

A5:=EMA(PJ,11),COLOR00400D;A6:=EMA(PJ,1),COLOR00400D;

LX:=REF(XJ,1); ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100; KX1:=(CLOSE>=OPEN) AND ZD>=50;

KX2:=(CLOSE<OPEN) AND ZD>=50;

KX3:=(CLOSE>=OPEN) AND ZD<50;

KX4:=(CLOSE<OPEN) AND ZD<50; DRAWBAND(SMH,RGB(20,220,20),SMH,RGB(0,0,0));

DRAWBAND(SML,RGB(20,220,20),SML,RGB(0,0,0));

DRAWBAND(SMJ,RGB(20,220,20),SMJ,RGB(0,0,0));

DRAWBAND(A6,RGB(250,250,20),A6,RGB(0,0,0)); DRAWBAND(A5,RGB(250,250,20),A5,RGB(0,0,0));

DRAWBAND(A4,RGB(250,250,20),A4,RGB(0,0,0)); DRAWBAND(A3,RGB(250,250,20),A3,RGB(0,0,0));

DRAWBAND(A2,RGB(250,250,20),A2,RGB(0,0,0));

DRAWBAND(A1,RGB(250,250,20),A1,RGB(0,0,0)); DRAWBAND(IF(A6<REF(A6,1),A6,DRAWNULL),RGB(20,200,200),IF(A6<REF(A6,1),A6,DRAWNULL),RGB(0,0,0)); DRAWBAND(IF(A5<REF(A5,1),A5,DRAWNULL),RGB(20,200,200),IF(A5<REF(A5,1),A5,DRAWNULL),RGB(0,0,0)); DRAWBAND(IF(A4<REF(A4,1),A4,DRAWNULL),RGB(20,200,200),IF(A4<REF(A4,1),A4,DRAWNULL),RGB(0,0,0)); DRAWBAND(IF(A3<REF(A3,1),A3,DRAWNULL),RGB(20,200,200),IF(A3<REF(A3,1),A3,DRAWNULL),RGB(0,0,0)); DRAWBAND(IF(A2<REF(A2,1),A2,DRAWNULL),RGB(20,200,200),IF(A2<REF(A2,1),A2,DRAWNULL),RGB(0,0,0)); DRAWBAND(IF(A1<REF(A1,1),A1,DRAWNULL),RGB(20,200,200),IF(A1<REF(A1,1),A1,DRAWNULL),RGB(0,0,0)); DRAWBAND(IF(CURRBARSCOUNT<=100,DD+MACD*1.5,DRAWNULL),RGB(230,12,12),DD,RGB(10,30,230)); DRAWBAND(IF(CURRBARSCOUNT<=100,DD+MACD*1.5,DRAWNULL),RGB(230,30,12),DD,RGB(10,200,30)); IF(CURRBARSCOUNT<100,DD+MACD*1.5,DRAWNULL),COLORYELLOW;

DRAWICON(SS,L,1);DRAWICON(XX,H,2);

源码已经分享给你了,希望对你有所帮助,如有任何问题,可以联系我,我们多交流

有用,关键看你是怎么用,用什么指标!不是所有指标都适合散户,就比如KDJ这个指标,太快了,不适合散户!还有什么布林线上轨,下轨太迟缓了,刚炒股的小散户更看不懂,所以这些指标更没用!我现在只用四个指标,一个就是DKX,二就是TRIX,三就是MACD,还有一个不能说,这个是跟踪大牛股的指标,不是我故弄玄虚,我也是受一高人指点后才醒悟的,所有大牛股的产生都必须出现这个指标!但初入股市的散户只需要把上面的三个指标看懂了,你也就不会亏!

2、有什么股票选股公式?通达信MACD资金流向副图公式源码?

MACD金叉选股

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

XG:MACD>0 AND LAST(MACD>0 AND MACD<REF(MACD,1),3,1) AND MACD>REF(MACD,1);

MACD的DIF 上穿0轴

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

CROSS(MACD,0);

资金流向(副图)

超B:=L2_AMO(0,2)/10000.0;

大B:=L2_AMO(1,2)/10000.0;

中B:=L2_AMO(2,2)/10000.0;

小B:=L2_AMO(3,2)/10000.0;

超S:=-L2_AMO(0,3)/10000.0;

大S:=-L2_AMO(1,3)/10000.0;

中S:=-L2_AMO(2,3)/10000.0;

小S:=-L2_AMO(3,3)/10000.0;

净流入额:(超B+大B+中B+小B)+(超S+大S+中S+小S),COLORRED,NODRAW;

超、大单:(超B)+(超S)+(大B)+(大S),NODRAW;

中、小单:(小B)+(小S)+(中B)+(中S),COLORGREEN,NODRAW;

STICKLINE(净流入额>0,0,净流入额,3,0),COLORRED;

STICKLINE(净流入额<0,0,净流入额,3,0),COLORRED;

STICKLINE(超、大单>0,0,超、大单,1.5,0),COLORYELLOW;

STICKLINE(超、大单<0,0,超、大单,1.5,0),COLORYELLOW;

STICKLINE(中、小单<0,0,中、小单,0.5,0),COLORGREEN;

STICKLINE(中、小单>0,0,中、小单,0.5,0),COLORGREEN;

0,COLORLIGRAY;