指标公式大全款款经典建议珍藏

合集下载

指标公式大全

指标公式大全

指标公式大全
以下是一些常用的指标公式,供您参考:
1. 相对强弱指数(RSI):RSI = 100 - 100 / (1 + RS),其中RS = 平均上涨日数÷ 平均下跌日数
2. 移动平均线(MA):MA = 昨日收盘价× (N - 1)/ N,其中N为计算周期
3. 布林带(Bollinger Bands):中轨= 移动平均线+ 标准差× 2 / N,上轨= 移动平均线+ 标准差+ N,下轨= 移动平均线- 标准差- N,其中N为计算周期
4. 相对成交量指标(VOL):VOL = 成交量× 相对成交量指标系数,其中相对成交量指标系数为14天
5. 相对成交量指标(RSIV):RSIV = (当日成交量- 昨日成交量) / (昨日成交量+ 今日成交量) × 100
6. 随机指标(KDJ):K = (今日最高价- 昨日最高价) / (昨日最高价- 昨日最低价) × 100,D = 3 × K - K²,RSI = 100 - 2 × (1 - KDJ)
7. 成交量指标(VOL):VOL = 成交量× 相对成交量指标系数,其中相对成交量指标系数为14天
需要注意的是,不同的指标公式适用于不同的市场情况和投资策略,投资者应根据自己的需求和风险承受能力选择适合自己的指标公式。

同时,也应注意指标公式的使用方法
和限制,避免出现误判和投资风险。

33个财务分析指标与计算公式【会计实务经验之谈】

33个财务分析指标与计算公式【会计实务经验之谈】

33个财务分析指标与计算公式【会计实务经验之谈】1995年财政部公布的企业经济效益评价指标(10个)1.销售利润率=利润总额÷产品销售收入净额2.总资产报酬率=(利润总额+利息支出)÷平均资产总额3.资本权益率=净利润÷实收资本4.资本保值增值率=期末所有者权益总额÷期初所有者权益总额5.资产负债率=负债总额÷资产总额6.流动比率=流动资产总额÷流动负债总额7.应收账款周转率=赊销净额÷平均应收账款余额8.存货周转率=产品销售成本÷平均存货成本9.社会贡献率=企业社会贡献总额÷平均资产总额收入)、劳保退休统筹及其他社会福利支出、利息支出净额、应交或己交的各项税款、附加及福利等。

10.社会积累率=上交国家财政总额÷企业社会贡献总额上交国家财政总额,包括应交增值税、应交所得税及其他税收等。

各项财务指标分析一、偿债能力分析(一)短期偿债能力分析1.流动比率=流动资产÷流动负债2.速动比率=速动资产÷流动负债3.现金流动负债比率=年经营现金净流量÷年末流动负债×100%(二)长期偿债能力分析1.资产负债率=负债总额÷资产总额2.产权比率=负债总额÷所有者权益3.己获利息倍数=息税前利润÷利息支出4.长期资产适合率=[(所有者权益+长期负债)÷(固定资产+长期投资)]×100%二.营运能力分析(一)人力资源营运能力分析劳动效率=主营业务收入净额或净产值÷平均职工人数(二)生产资料营运能力分析1.流动资产周转情况分析(1)应收账款周转率(次)=主营业务收入净额÷平均应收账款余额应收账款周转天数=平均应收账款×360÷主营业务收入净额(2)存货周转率(次数)=主营业务成本÷平均存货存货周转天数=平均存货×360÷主营业务成本(3)流动资产周转率(次数)=主营业务收入净额÷平均流动资产总额流动资产周转期(天数)=平均流动资产总额×360÷主营业务收入净额2.固定资产周转率=主营业务收入净额÷固定资产平均净值3.总资产周转率=主营业务收入净额÷平均资产总额三.盈利能力分析(一)企业盈利能力的一般分析1.主营业务利润率=利润÷主营业务收入净额2.成本费用利润率=利润÷成本费用3.总资产报酬率=(利润总额+利息支出)÷平均资产总额4.净资产收益率=净利润÷平均净资产×100%5.资本保值增值率=扣除客观因素后的年末所有者权益÷年初所百者权益×100%(二)社会贡献能力的分析1.社会贡献率=企业社会贡献总额÷平均资产总额2.社会积累率=上交国家财政总额÷企业社会贡献总额四.发展能力分析1.销售(营业)增长率=本年销售(营业)增长额÷上年销售(营业)收入总额×100%2.资本积累率=本年所有者权益增长额÷年初所有者权益×100%3.总资产增长率=本年总资产增长额÷年初资产总额×100%4.固定资产成新率=平均固定资产净值÷平均固定资产原值×100%小编寄语:不要指望一张证书就能使你走向人生巅峰。

国民经济统计公式大全(不好用你找我)

国民经济统计公式大全(不好用你找我)
(5)贷款周转率=贷款累计回收额/贷款平均余额
(6)贷款产出率=报告期某产出指标值/报告期平均贷款余额×100%
①现金收入总额=各项现金收入合计额+现金投放额
(现金投放额是指期内现金支出合计额大于现金收入额的差额)
②现金支出总额=各项现金支出合计额+现金回笼额
(现金回笼额是指现金收入额大于现金支出额的差额)
5、指数
销售额指数=销售量指数×销售价格指数
6、抽样推断
7、相关分析与回归分析
一元线性回归方程系数估计:
8、
人口出生率。人口出生率是一定时期内(通常为一年)出生人数与年平均人口数对比的相对数,用‰表示。
人口增长量=人口自然增长量+人口机械增长量
=(出生人口数—死亡人口数)+(迁入人口数—迁出人口数)
其中:
•折算系数=某产品的实际规格(含量)/标准品的规格或含量
12国民经济流通统计
在我国,出口商品用离岸价格,
进口商品以到岸价格计算
直接标价法(应付报价法)
间接标价法(应收报价法
1、本期已实现的商品购买力
2、结余商品购买力(期初与期末之分)
3、本期形成的商品购买力
4、本期全部商品购买力
公式:
4=1+期末结余的商品购买力=3+期初结余的商品购买力
合同执行情况分析
出口合同履约率=实际交货数/同期应交合同数
进口贸易额与出口贸易额达平衡分析
进口贸易差额=出口总额-进口总额
进出口比价指数
进出口比价指数=出口商品价格指数/进口商品价格指数
13国民经济分配统计
GDP=GNP-(本国居民在国外投资的收入-外国居民在本国投资的收入
初次分配追求效率(物质生产部门),再次分配追求公平;

通达信指标公式大全

通达信指标公式大全

通达信指标公式大全:1.主力大单指标公式ZZ:=(HHV(H,3)+LLV(L,3))/2;A:=IF(C>ZZ,VOL,0);B:=IF(C<ZZ,VOL,0);总0:=(A-B);BBD:EMA(总0,3)/SUM(VOL,5)*100,LINETHICK;STICKLINE(BBD>=0,0,BBD,3,0),COLOR000088;STICKLINE(BBD>=0,0,BBD,1.5,0),COLOR0000AA;STICKLINE(BBD>=0,0,BBD,1,0),COLOR0000CC;STICKLINE(BBD>=0,0,BBD,0.5,0),COLOR0000FF;STICKLINE(BBD<0,0,BBD,3,0),COLOR888800;STICKLINE(BBD<0,0,BBD,1.5,0),COLORAAAA00;STICKLINE(BBD<0,0,BBD,1,0),COLORCCCC00;STICKLINE(BBD<0,0,BBD,0.5,0),COLORFFFF00;XH1:=REF(BBD,1)<REF(BBD,2) AND REF(BBD,1)<-10 AND BBD>REF(BBD,1) AND BBD>0;XH2:=REF(BBD,1)>=REF(BBD,2) AND REF(BBD,1)>8 AND BBD<REF(BBD,1) AND BBD<0;DRAWICON(XH1,-20,1);DRAWICON(XH2,20,2);2.主力控盘指标公式V AR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);V AR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);V AR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);V AR5:=(((V AR2 + (2 * V AR3)) + (3 * V AR4)) / 6);V AR6:=MA(V AR5,3);开始控盘:STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF;STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF;STICKLINE((V AR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;V AR1:=EMA(EMA(CLOSE,3),1);控盘:=(V AR1-REF(V AR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;无控盘:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE;高度控盘:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00;STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货:0,COLOR00FF00;3.通达信资金进出分时指标公式(C,1),C*V,0),FROMOPEN),STICK,COLORRED;资金流出:-SUM(IF(C<REF(C,1),C*V,0),FROMOPEN),STICK,COLOR00FF00;资金差:资金流入+资金流出,COLORYELLOW;4.通达信做T+0的分时公式MA30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLOR00DD00;支撑:L1+P1*0.5/8,COLOR00DD00;现价:CLOSE,COLORWHITE,LINETHICK1;STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★B'),COLORYELLOW;{吸} DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★'),COLORRED;{抛};5.通达信超准分时图指标公式BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*1 00,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AMOUNT,BARS COUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))));底线:1.003,COLORRED,LINETHICK2;高线:1.03,COLORRED,LINETHICK3;黄色起动线:EXPMA((DCLOSE/VBNH),20),COLORYELLOW,POINTDOT;绿色散户线:EXPMA((DCLOSE/VBNH),120),COLORGREEN,LINETHICK2;DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/VBNH),120)),EXPMA((DCLOSE/ VBNH),60)*1,1);DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),EXPMA((DCLOSE/VBNH),60)),EXPMA((DCLOSE/ VBNH),120)*1,2);DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02+0.005,18);STICKLINE(CROSS(EXPMA((DCLOSE/VBNH),20),1.02),1.02,1.025,4,0), , COLORMAGENTA; STICKLINE(EXPMA(C,10)>EXPMA(C,60) ,1.03,1.034,1.0,0),COLORRED;STICKLINE(EXPMA(C,10)<EXPMA(C,60) ,1.03,1.025,1.0,0),COLORGREEN;DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),20),1.04),1.04,'可能涨停'),COLORWHITE; STICKLINE(EXPMA((DCLOSE/VBNH),120)>1.003 ,1.03,1.039,1.0,0),COLORMAGENTA; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),1.028,'买进'),COLORWHITE; DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),120),1.0029),1.036,'观察分时量 '),COLORWHITE; DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),120),1.004),1.003*1,13);6.通达信观察分时指标公式BG:=IF(DATE<=1150530,1,0);GH:=BETWEEN((DCLOSE*BG)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOU NT((DCLOSE*BG)))),1.05,0.95);VB:=IF(GH=0,MA((DCLOSE*BG),BARSCOUNT((DCLOSE*BG))),(SUM(AMOUNT,BARSCOUNT((DCLOSE*BG)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BG)))));中线:1,COLORBLUE,LINETHICK2;快趋势线:EXPMA((DCLOSE/VB),21),COLORYELLOW,,LINETHICK1;慢趋势线:EXPMA((DCLOSE/VB),54),COLORGREEN,LINETHICK1;DRAWICON(CROSS(快趋势线,中线),快趋势线,1);DRAWICON(CROSS(慢趋势线,中线) AND (快趋势线>中线),中线-0.002,15);DRAWTEXT(CROSS(EXPMA((DCLOSE/VB),20),1),快趋势线-0.0025,'涨'),COLORRED; DRAWTEXT(CROSS(快趋势线,中线),快趋势线-0.0055,'买进'),COLORYELLOW;DRAWICON(CROSS(快趋势线,慢趋势线),慢趋势线,13);STICKLINE(快趋势线>中线 AND 快趋势线>REF(快趋势线,1) AND 快趋势线>慢趋势线,快趋势线,快趋势线+0.0015,1,0),COLORMAGENTA;DRAWTEXT(CROSS(中线,快趋势线),中线,'注意'),COLORWHITE;DRAWICON(CROSS(慢趋势线,快趋势线),慢趋势线,2);V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线:= EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);见顶清仓:= STICKLINE(趋势线>=90 AND V12,中线,快趋势线,2,0),COLORCYAN; DRAWICON(CCC,快趋势线,12);DRAWICON(BB,快趋势线,23);DRAWTEXT (BB,快趋势线,'补仓'),COLORLIRED;7.通达信分时买卖力道指标公式A1:=(VOL/CLOSE)/3;A2:=SUM((IF(((A1>0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A3:=SUM((IF(((A1>0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A4:=SUM((IF(((A1<0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A5:=SUM((IF(((A1<0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A6:=((A2+A3)+A4)+A5;A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));机构买盘:(A2),LINETHICK0;机构卖盘:(A3),LINETHICK0;散户买盘:(A4),LINETHICK0;散户卖盘:(A5),LINETHICK0;STICKLINE(机构买盘>0 AND 机构买盘>=机构卖盘 AND 机构买盘>=REF(机构买盘,1),20,20+100,1,0),COLORRED;STICKLINE(机构卖盘>0 AND 机构卖盘>=机构买盘 AND 机构卖盘>=REF(机构卖盘,1),20,20+100,1,0),COLORWHITE;STICKLINE(散户买盘>0 AND 散户买盘>=散户卖盘 AND 散户买盘>=REF(散户买盘,1),-20,-20-100,1,0),COLORLIMAGENTA;STICKLINE(散户卖盘>0 AND 散户卖盘>=散户买盘 AND 散户卖盘>=REF(散户卖盘,1),-20,-20-100,1,0),COLORCYAN;VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;买卖力道: SMA(VAR2,3,1),COLORLIGRAY;VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));VAR4:=(IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),V OL/2))/(IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-L OW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3 *(HIGH-OPEN+CLOSE-LOW),VOL/2)));VAR5:=AMOUNT/(100*VOL);VAR6:=MA(VAR5,40);VAR7:=100*(CLOSE-VAR6)/VAR6;底部追击:= IF(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,300,200),COLORGREEN; STICKLINE(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08,1200,200,10,0) , COLORGREEN; VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;VAR9:=SMA(VAR8,3,1);VARA:=SMA(VAR9,3,1);D: SMA(VARA,5,1)*20, COLORCYAN;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线:= EMA(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;BB:(趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10);买入股票:= (趋势线<=13 AND V12>13),COLORRED;CCC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);清仓:=FILTER(趋势线>=90 AND V12 AND CROSS(D,买卖力道),5),COLORYELLOW;卖出区: 清仓+1800,COLORYELLOW;中:(0+卖出区)/2, COLORGREEN;{股旁网-股票公式网站 }STICKLINE(买卖力道>=中 AND 买卖力道>=REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORMAGENTA;STICKLINE(买卖力道>=中 AND 买卖力道< REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORBROWN;STICKLINE(买卖力道<中 AND 买卖力道>=REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORGREEN;STICKLINE(买卖力道<中 AND 买卖力道< REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORBLUE;DRAWICON(买入股票,中,15);DRAWTEXT (BB,0,'买股'),COLORYELLOW;DRAWTEXT(清仓,买卖力道,'顶'),COLORYELLOW;STICKLINE(清仓,买卖力道,买卖力道+0.01,2,0),COLORBLUE; DRAWICON(CROSS(D,中),中,13);DRAWICON(CROSS(中,买卖力道),买卖力道,2);DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=(DIF-DEA)*3;红线:=IF(MACD>=0 AND MACD>REF(MACD,1),中,DRAWNULL);青线:=IF(MACD>=0 AND MACD< REF(MACD,1),中,DRAWNULL);粉线:=IF(MACD<0 AND MACD>=REF(MACD,1),中,DRAWNULL);蓝线:=IF(MACD<0 AND MACD< REF(MACD,1),中,DRAWNULL); STICKLINE(红线,200,250,1,0),COLORRED,LINETHICK1;STICKLINE(青线,200,250,1,0),COLORCYAN,LINETHICK1;STICKLINE(粉线,200,250,1,0),COLORMAGENTA,LINETHICK1; STICKLINE(蓝线,200,250,1,0),COLORBLUE,LINETHICK1;DRAWICON(CROSS((A2),(A3)),200,23);通达信如何使用分时指标的教程找到通达信软件的安装位置,打开“T0002”文件夹,找到“user.ini”文件,用记事本打开,把里面“Zstzb=MACD”这一句中的MACD修改为自己要用的指标名称就OK啦。

通达信技术指标公式

通达信技术指标公式

通达信技术指标公式通达信是国内知名的股票分析软件,其所提供的技术指标具有一定的实用价值。

以下是通达信常用的技术指标公式,包括趋势指标、震荡指标和成交量指标:一、趋势指标1、移动平均线(MA)MA=N日收盘价的总和/N2、指数平滑移动平均线(EMA)EMA(C,N)=2/(N+1)×[C-昨日EMA]+昨日EMA3、相对强弱指标(RSI)RSI=N日内上涨总幅度÷(N日内上涨总幅度+ N日内下跌总幅度)×100%4、平均趋向指标(ADX)DM=当日高价-昨日高价、昨日低价-当日低价真实波幅(TR)=当日最高价-当日最低价、当日最高价-昨日收盘价、昨日收盘价-当日最低价上升动向变动值(+DI)=14日上升动向值(+DM)÷14日真实波幅×100%下降动向变动值(-DI)=14日下降动向值(-DM)÷14日真实波幅×100%DX=(+DI- -DI)÷(+DI+ -DI)×100%ADX=DX的平均数二、震荡指标1、随机指标(KDJ)RSV=(收盘价-N日内最低价)÷(N日内最高价- N日内最低价)×100% K=2/3×昨日K值+1/3×当日RSVD=2/3×昨日D值+1/3×当日KJ=3×当日K-2×当日D2、布林带指标(BOLL)中轨线=MA(N)上轨线=中轨线+k×样本标准差下轨线=中轨线-k×样本标准差3、相对强弱指标(CCI)TP=(最高价+最低价+收盘价÷3)MA= N日内TP的平均值MD=绝对值(TP-MA)的N日简单移动平均CCI=(TP-MA)÷0.015×MD三、成交量指标1、成交量指标(VOL)MA= N日内成交量的总和÷N2、能量潮指标(OBV)当日OBV=前一日OBV+当日交易日的股票数×当日股票价格3、广义移动平均线(GMMA)短期移动平均线:N日移动平均线长期移动平均线:N+k)日移动平均线四、总结以上介绍的通达信技术指标公式并非全部,但这些是最常用的指标之一。

26个财务指标以及实用实用标准值

26个财务指标以及实用实用标准值

26个财务指标以及标准值1变现能力比率类指标1、流动比率=流动资产合计/流动负债合计标准值:2.0。

意义:体现企业的偿还短期债务的能力。

流动资产越多,短期债务越少,则流动比率越大,企业的短期偿债能力越强。

分析提示:低于正常值,企业的短期偿债风险较大。

一般情况下,营业周期、流动资产中的应收账款数额和存货的周转速度是影响流动比率的主要因素。

2、速动比率=(流动资产合计-存货)/流动负债合计保守速动比率=(货币资金+短期投资+应收票据+应收账款净额)/流动负债标准值:1/0.8意义:比流动比率更能体现企业的偿还短期债务的能力。

因爲流动资产中,尚包括变现速度较慢且可能已贬值的存货,因此将流动资产扣除存货再与流动负债对比,以衡量企业的短期偿债能力。

分析提示:低于1的速动比率通常被认爲是短期偿债能力偏低。

影响速动比率的可信性的重要因素是应收账款的变现能力,账面上的应收账款不一定都能变现,也不一定非常可靠。

2资产管理比率类指标3、存货周转率=产品销售成本/[(期初存货+期末存货)/2]标准值:3。

意义:存货的周转率是存货周转速度的主要指标。

提高存货周转率,缩短营业周期,可以提高企业的变现能力。

分析提示:存货周转速度反映存货管理水平,存货周转率越高,存货的占用水平越低,流动性越强,存货转换爲现金或应收账款的速度越快。

它不仅影响企业的短期偿债能力,也是整个企业管理的重要内容。

4、存货周转天数=360/存货周转率=[360*(期初存货+期末存货)/2]/产品销售成本标准值:120。

意义:企业购入存货、投入生产到销售出去所需要的天数。

提高存货周转率,缩短营业周期,可以提高企业的变现能力。

分析提示:存货周转速度反映存货管理水平,存货周转速度越快,存货的占用水平越低,流动性越强,存货转换爲现金或应收账款的速度越快。

它不仅影响企业的短期偿债能力,也是整个企业管理的重要内容。

5、应收账款周转率=销售收入/[(期初应收账款+期末应收账款)/2]标准值:3。

全头条最详细——通达信指标公式大全

全头条最详细——通达信指标公式大全

全头条最详细——通达信指标公式大全一、K线的基本形态1、当天收阳:CLOSE>OPEN;2、当天收阴:CLOSE<OPEN;3、当天股价高开,言下之意开盘高于昨日收盘:OPEN>REF (CLOSE,1);4、当天股价低开:OPEN<REF(CLOSE,1);5、跳空高开:OPEN>REF(HIGH,1);当日开盘在昨日最高价之上6、跳空低开:OPEN<REF(LOW,1);7、长阳:C/O>1.03 或者 (C-O)/O*100>5 或者 (C-O)/O>0.05 意思是收盘价比开盘价上涨5%以上。

当然,用7%以上也可。

8、长阴:C/O<>9、高开大阴:O/REF(C,1)>1.04 AND C/O<1.94;>10、标准十字星:CLOSE=OPEN AND HIGH<>LOW更多见的是近似十字星。

例:ABS(C-O)<0.02 and="" h-c="">0.03 AND C-L>0.03; 该语句用上了一个函数:ABS,意思是求绝对值。

这样,该近似十字星即可能是阳星也可能是阴星。

再认识两个函数:MAX(A,B) 求A和B中的最大值。

MIN(A,B) 求A和B中的较小值有了这两个函数,近似十字星还可这样表述:ABS(C-O)<0.02 and="" h=""> MAX(C,O) AND L<>另外,该公式还可以用比例数编写。

11、长下影线:也有收阴收阳之分。

以阳线长下影线为例:C>O AND (O-L)>(C-O);此公式只表达了下影线比实体线长,并没有表达长度比例和有无上影线。

留个习题吧:不限制阴阳线,上影小于5分钱,下影线是实体的两倍以上。

形态还有许多,有几十种,不一一例举了,大家举一反三,慢慢摸索吧。

指标公式大全

指标公式大全

黑马初现:(副图)V AR3:=LLV(HIGH,240);V AR4:=100*(CLOSE-VAR3)/V AR3;V AR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(L OW,528))*100;V AR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LL V(CLOSE,530))*100;V AR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA( ABS(CLOSE-REF(CLOSE,1)),7,1)*100;V AR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA( ABS(CLOSE-REF(CLOSE,1)),13,1)*100;V ARA:=BARSCOUNT(CLOSE);V ARB:=V AR8<20 AND V AR9<23 AND V ARA>35;V ARC:=V ARB AND COUNT(V ARB,1)=1;V ARD:=EMA(CLOSE,21)-EMA(CLOSE,8);V ARE:=EMA(V ARD,5);V ARF:=TROUGHBARS(3,6,1)<4 AND CROSS(V ARD,V ARE);V AR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);V AR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);V AR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);V AR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);V AR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);V AR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);V AR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);V AR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);V AR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);V AR19:=EMA(CLOSE,2)-EMA(CLOSE,150);V AR1A:=EMA(V AR19,100);V AR1B:=2*(V AR19-V AR1A);V AR1C:=POW(V AR1B,3)*0.1+POW(V AR1B,1);V AR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));V AR1E:=EMA(V AR1D*0.97,3);V AR1F:=(HIGH+LOW+CLOSE)/3;V AR20:=(V AR1F-MA(V AR1F,14))/(0.015*A VEDEV(V AR1F, 14));V AR21:=CROSS(V AR1E,LOW);选股买点: V AR10, , COLORYELLOW;组合买: (V AR11+V AR13+V AR15+V AR17), , COLORRED; 组合卖: (V AR12+V AR14+V AR16+V AR18), , COLORGREEN;黑马线: IF(MONTH<2008 AND V AR1B>0.1,V AR1C,0)*1, , COLOR6699CC;黑马信号介入点: 选股买点AND V ARF AND V ARC AND V AR21 AND VAR4<0 AND V AR5<2 AND VAR6=0, , COLORFFFF99;DRAWTEXT(V AR13,0.6,'●'), ,COLORRED; DRAWICON(组合买,组合买,1);DRAWICON(组合卖,组合卖,9);DRAWTEXT(黑马信号介入点>0,4.5,'●我的黑马介入点'), , COLORRED;DRAWICON(选股买点>0,4.2,1);DRAWTEXT(选股买点AND V ARF AND V ARC,2.8,' 30%下单莫错过!'), , COLORMAGENTA;DRAWTEXT(V AR18,3,'空仓'), , COLORGREEN; DRAWTEXT(V AR20<-110 AND 选股买点>0,2,'选股买点'), ,COLORYELLOW;买进大涨:(副图)V1:=EMA(CLOSE,60)-EMA(CLOSE,300);V2:=EMA(V1,300);V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100 ;V4:SMA(V3,2,1);V5:SMA(V4,2,1);V6:=CLOSE/REF(CLOSE,3)>=1.1;V7:=BACKSET(V6,3);大涨买:IF((V7 AND COUNT(V7,3)=1),50,0),COLORMAGENTA,LINETHICK2; DRAWTEXT(大涨买,50,0'大涨买'),COLORMAGENTA;V10:=PEAKBARS(3,15,1)<10;V12:=IF(V10=1,50,0);头部:= IF(V12=50,100,0);卖:IF(头部>REF(头部,1),50,0),COLORGREEN,LINETHICK2; V9:=TROUGHBARS(3,15,1)<10;V11:=IF(V9=1,50,0);底部:= IF(V11=50,50,0);买:IF( 底部>REF(底部,1),40,0),COLORRED,LINETHICK2; DRAWTEXT(买,40,'买'),COLORYELLOW;见红必大涨:(副图)MA5:MA(C,5);MA10:MA(C,10);MA20:MA(C,20);MA40:MA(C,40);MA60:MA(C,60);STICKLINE(MA5>=MA60 AND MA60>=MA10,MA10,MA60,4,0),COLORBLUE;STICKLINE(MA5>=MA10 AND MA5<=MA60,MA10,MA5,4,0),COLORBLUE;STICKLINE(MA20>=MA60 AND MA60>=MA40,MA40,MA60,4,0),COLORFF00FF; STICKLINE(MA20>=MA40 ANDMA20<MA60,MA40,MA20,4,0),COLORFF00FF;STICKLINE(MA5>=MA20 AND MA20>=MA10,MA10,MA20,4,0),COLORWHITE; STICKLINE(MA5>=MA10 AND MA5<MA20,MA10,MA5,4,0),COLORWHITE;STICKLINE(C>=O,H,L,0,0),COLORRED;STICKLINE(C<O,H,L,0,0),COLORFFFF52;STICKLINE(C>=O,C,O,4,1),COLORRED;STICKLINE(C<O,C,O,4,0),COLORFFFF52;强势主升浪:(副图)清仓:=1.66*MA(FORCAST(CLOSE,2),40),COLORRED;出货:=1.36*MA(FORCAST(CLOSE,2),40),COLOR08FFFF;高抛:=1.16*MA(FORCAST(CLOSE,2),40),COLORFF82FF;低吸:=0.82*MA(FORCAST(CLOSE,2),40),COLORF7E300;满仓:=0.72*MA(FORCAST(CLOSE,2),40),COLORGREEN;强通1:=清仓>REF(清仓,1),;强通2:=出货>REF(出货,1),;强通3:=高抛>REF(高抛,1),;强通4:=低吸>REF(低吸,1),;强通5:=满仓>REF(满仓,1),;上升通道:=强通1 AND 强通2 AND 强通3 AND 强通4 AND强通5,;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10),;MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);五强:=MA5>REF(MA5,1),;十强:=MA10>REF(MA10,1),;二十强:=MA20>REF(MA20,1),;三十强:=MA30>REF(MA30,1),;六十强:=MA60>REF(MA60,1),;小均强:=五强AND 十强,;均强:=十强AND 二十强AND 三十强,;大均强:=十强AND 二十强AND 三十强AND 六十强,;JJD:=(H+L+C)/3;强势线1:=HHV(MA((((LOW + HIGH) + CLOSE) / 3),8),60),COLORRED,LINETHICK2;强势线2:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.18),8),20),COLORWHITE,LINETHICK2;强势线3:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.258),8),10),COLORYELLOW,LINETHICK2;强势线4:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.08),80),13),COLORLIMAGENTA,LINETHICK2;开始走强1:=强势线1>REF(强势线1,1),;开始走强2:=强势线2>REF(强势线2,1),;开始走强3:=强势线3>REF(强势线3,1),;开始走强4:=强势线4>REF(强势线3,1),;双强1:=开始走强1 AND 开始走强2,;双强2:=开始走强2 AND 开始走强3,;双强3:=开始走强2 AND 开始走强3,;双强4:=开始走强3 AND 开始走强4,;三强:=开始走强1 AND 开始走强2 AND 开始走强3,;四强:=开始走强1 AND 开始走强2 AND 开始走强3 AND 开始走强4,;强势为王:=双强1 OR 双强2 OR 双强3 OR 双强4 OR 三强OR 四强,;VV:=(C+L+H)/3;DSA:=SMA(XMA(VV,15),2,1)LINETHICK3;顶部1:=DSA*1.0888,COLORMAGENTA,LINETHICK1;顶部2:=DSA*1.158,COLORBROWN,LINETHICK1;顶部3:=DSA*1.218,COLORRED,LINETHICK1;底部1:=DSA*0.9518,COLORLICYAN,LINETHICK1;底部2:=DSA*0.888,COLORLIMAGENTA,LINETHICK1;底部3:=DSA*0.8,COLORGREEN,LINETHICK1;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);MA4:=MA(CLOSE,60);五日走强:=MA1>REF(MA1,1),;十日走强:=MA2>REF(MA2,1),;二十日走强:=MA3>REF(MA3,1),;六十日走强:=MA4>REF(MA4,1),;低位主升:=五日走强AND 十日走强AND 六十日走强,;主升浪:=五日走强AND 十日走强AND 二十日走强,;大主升浪:=十日走强AND 二十日走强AND 六十日走强,;大主升浪2:=五日走强AND 十日走强AND 二十日走强AND 六十日走强,;总主升:=主升浪AND 大主升浪AND 大主升浪2,;总主升浪:=低位主升OR 主升浪OR 大主升浪OR 大主升浪2 OR 总主升,;强势主升低买:L<底部 1 AND 总主升浪AND 强势为王AND C<DSA,COLORYELLOW,LINETHICK2;猎股小王:L<底部 1 AND C<DSA AND 强势为王,COLORMAGENTA,LINETHICK2,LINESTICK;DRAWICON(猎股小王>0,1.1,1);猎股大王出击:=强势主升低买AND 猎股小王AND H<DSA,COLORRED,;;A:=MA(C,30);A1:=A*1.1;A4:=A*0.9;A2:=A1-(A1-A4)*0.191;持仓:=IF(HIGH*1.01>A2 OR REF(HIGH,1)>REF(A2,1),A1,A4),LINETHICK3,COLORRED; 生命线:=IF(HIGH*1.01>A2 OR REF(HIGH,1)>REF(A2,1),A2,A4),LINETHICK3,COLORFFFF FF;主升持仓:=持仓>生命线,;主升1:=持仓>REF(持仓,1),;主升2:=生命线>REF(生命线,1),;主升:=主升1 AND 主升2,;主升猎股王:=(猎股大王出击AND 主升持仓AND 主升) OR (猎股小王AND 主升持仓AND 主升),;绝对的主升:(主升猎股王AND 小均强) OR (猎股小王AND 小均强),COLORYELLOW,LINETHICK4,STICK;DRAWICON(绝对的主升>0,1.1,1);DRAWICON(绝对的主升>0,1.1,1);DRAWICON(绝对的主升>0,0.6,9);DRAWICON(绝对的主升>0,0.3,9);银疙瘩选股(副图)RSV:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);GVV:=EMA(CLOSE,12) - EMA(CLOSE,15);AA1:=CROSS(K,D);AA2:=CROSS(DIFF,DEA);AA3:=CROSS(DIFF,0);AA4:=CROSS(GVV,(-0.01));MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);OK1:=(CLOSE > MA5) AND (CLOSE > MA10) AND (CLOSE > MA20) AND (CLOSE > MA30) AND ((LOW)*(0.9) < MA5) AND ((LOW)*(0.9) < MA10) AND ((LOW)*(0.9) < MA20) AND ((LOW)*(0.9) < MA30);OK2:=(CLOSE > MA5) AND (CLOSE > MA10) AND (CLOSE > MA20) AND (CLOSE > MA30) AND (CLOSE > MA30) AND ((LOW)*(0.9) < MA5) AND ((LOW)*(0.9) < MA10) AND ((LOW)*(0.9) < MA20) AND ((LOW)*(0.9) < MA30) AND ((LOW)*(0.9) < MA60);银疙瘩1:=AA1 AND (BARSLAST(AA2) < 6) AND OK1;银疙瘩2:=AA2 AND (BARSLAST(AA1) < 6) AND OK1;银疙瘩3:=AA3 AND (BARSLAST(AA1) < 6) AND OK1;银疙瘩4:=AA4 AND (BARSLAST(AA1) < 6) AND OK1;需要判研点:银疙瘩1 OR 银疙瘩2 OR 银疙瘩3 OR 银疙瘩4,COLORYELLOW;银疙瘩5:=AA1 AND (BARSLAST(AA2) < 6) AND OK2;银疙瘩6:=AA2 AND (BARSLAST(AA1) < 6) AND OK2;银疙瘩7:=AA3 AND (BARSLAST(AA1) < 6) AND OK2;银疙瘩8:=AA4 AND (BARSLAST(AA1) < 6) AND OK2;重点判研点:银疙瘩5 OR 银疙瘩6 OR 银疙瘩7 OR 银疙瘩8,COLOR00FF00;综合信号点:银疙瘩5 OR 银疙瘩6 OR 银疙瘩7 OR 银疙瘩8,COLORFF50FF;机构建仓选股(副图)V AR2:=REF(LOW,1);V AR3:=SMA(ABS(LOW-V AR2),13,1)/SMA(MAX(LOW-V AR2, 0),13,1)*100;V AR4:=EMA(IF(CLOSE*1.2,V AR3*13,V AR3/13),13);V AR5:=LLV(LOW,34);V AR6:=HHV(V AR4,34);V AR7:=IF(LLV(LOW,56),1,0);V AR8:=EMA(IF(LOW<=V AR5,(V AR4+V AR6*2)/2,0),3)/618*V A R7;AA:V AR8>REF(V AR8,1);机构建仓(副图){机构建仓}V AR2:=REF(LOW,1);V AR3:=SMA(ABS(LOW-V AR2),13,1)/SMA(MAX(LOW-V AR2, 0),13,1)*100;V AR4:=EMA(IF(CLOSE*1.2,V AR3*13,V AR3/13),13);V AR5:=LLV(LOW,34);V AR6:=HHV(V AR4,34);V AR7:=IF(LLV(LOW,56),1,0);V AR8:=EMA(IF(LOW<=V AR5,(V AR4+V AR6*2)/2,0),3)/618*V A R7;V AR9:=EMA(CLOSE,5);V AR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(10);V AR11:=EMA(IF(LOW<=V AR5,(V AR4+V AR6*2)/2,0),3)/618*V AR7*(-1);V AR12:=EMA(CLOSE,5)*(-1);STICKLINE(V AR12<REF(V AR12,1),0,V AR12*0.08,4,1),COLO R10E410;减仓:IF(V AR12<REF(V AR12,1),V AR12,0),COLOR10E410,LINET HICK0;STICKLINE(V AR9<REF(V AR9,1),0,V AR9*0.08,6,1),COLOR10 10FF;增仓:IF(V AR9<REF(V AR9,1),V AR9*0.2,0),COLORRED,LINETH ICK0;STICKLINE(V AR8>REF(V AR8,1),0,V AR8,6,1),COLOR10FFFF ,LINETHICK0;买进很准、(副图)V AR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(CLOSE, 9))*100;V AR2:=SMA(V AR1,3,1)/2*1.1;地: SMA(V AR2,3,1)-41;V AR3:=(CLOSE-LLV(CLOSE,9))/(HHV(HIGH,9)-LLV(CLOSE ,9))*100;V AR4:=(SMA(V AR3,3,1)/2+40)*1.1;天: SMA(V AR4,3,1)-34;相交: 8.18;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC), 4.1,1)*100;蛮准:CROSS(RSI,11)*80,COLORRED;V AR1A:=3;V AR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LL V(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(H HV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);启动: IF(CROSS(V AR2A,V AR1A),100,0);捕食: IF(V AR2A<=3,25,0);补仓: IF(V AR2A<5,45,0)COLORYELLOW;短买: IF(V AR2A<7,65,0)COLORGREEN;黄金坑【副图】REFLINE: -15, {0}, {20}, {40}, {60};V AR1:=MA(WINNER(CLOSE),9)*100;买!: CROSS(V AR1,2)*30,COLOR0000FF ,LINETHICK3 ;V AR2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LL V(LOW,15)),15))*100;V AR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,2 1))*100;V AR4:=SMA(V AR3,9,1);V AR5:=SMA(V AR4,9,1);V AR6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100) ;V AR7:=REF(V AR6,1)>13 AND REF(V AR6,1)/V AR6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;春笋: IF(V AR7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK ,COLOR00FF00, LINETHICK2;V AR8:=MA(CLOSE,27);V AR9:=(CLOSE-V AR8)/V AR8*100;V ARA:=MA(V AR9,2);V ARB:=BARSLAST(CROSS(-10,V ARA)=1);V ARC:=BARSLAST(CROSS(V ARA,10)=1);V ARD:=V ARA<-10 AND V ARB>3;V ARE:=V ARA>10 AND V ARC>3;黄金坑: IF(V ARD,V ARA,0),LINESTICK ,LINETHICK2, COLORYELLOW;财神到: IF(V ARE,V ARA,0),LINESTICK , COLORGREEN;贪嘴乐: IF(V ARA>REF(V ARA,1) AND V ARD AND V ARA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF; DRAWICON(贪嘴乐>0,40,1);V ARF:=REF(LOW,1)*0.9;V AR10:=LOW*0.9;V AR11:=(V AR10*VOL+V ARF*(CAPITAL-VOL))/CAPITAL;V AR12:=EMA(V AR11,30);V AR13:=CLOSE-REF(CLOSE,1);V AR14:=MAX(V AR13,0);V AR15:=ABS(V AR13);V AR16:=SMA(V AR14,7,1)/SMA(V AR15,7,1)*100;V AR17:=SMA(V AR14,13,1)/SMA(V AR15,13,1)*100;V AR18:=BARSCOUNT(CLOSE);V AR19:=SMA(MAX(V AR13,0),6,1)/SMA(ABS(V AR13),6,1)*100 ;V AR1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LL V(LOW,60))+100;V AR1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW, 15))*100;V AR1C:=SMA((SMA(V AR1B,4,1)-50)*2,3,1);V AR1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LL V(INDEXL,14))*100;V AR1E:=SMA(V AR1D,4,1);V AR1F:=SMA(V AR1E,3,1);V AR20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;V AR21:=V AR19<=25 AND V AR1A<-95 AND V AR20>20 AND V AR1C<-30 AND V AR1F<30 AND V AR12-CLOSE>=-0.25 AND V AR16<22 AND V AR17<28 AND V AR18>50;血战超跌: STICKLINE(V AR21,0,60,5,0);稳赚3%【副图】V AR1:=(2*CLOSE+HIGH+LOW)/4;V AR2:=LLV(LOW,34);V AR3:=HHV(HIGH,34);XX:EMA((V AR1-V AR2)/(V AR3-V AR2)*100,13);YY:EMA(0.667*REF(XX,1)+0.333*XX,2) , ;STICKLINE(CROSS(XX,20) AND YY<XX,XX+19,XX-10,4,0),COLORRED;DRAWTEXT(CROSS(XX,20) AND YY<XX,XX-5,'百分之三!');STICKLINE(YY<XX,XX,YY,4,0),COLORRED;选股:IF(CROSS(XX,YY) AND XX<20 ,30,0);逃顶:IF(FILTER(CROSS(YY,XX) AND XX>80 ,3),60,90),COLORFF0000;200万公式【主图】多:EMA(C,3),COLORYELLOW;空:EMA(C,5),COLOR00FF00;均衡:EMA(空,5),COLORWHITE,;V ARF1:=COUNT(CROSS(多,均衡),2)=1;V ARF2:=COUNT(CROSS(空,均衡),2)=1;ZAI:=FILTER(V ARF1 AND V ARF2,2);DRAWTEXT(ZAI,均衡,' →◆●¤主升行情'),COLORFF00FF; VV2:=REF(CLOSE,1);VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*1 00;DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2); DRAWTEXT(REF(VV3,1)>81 AND VV3<80,HIGH,' →◆●沽空↓'),COLORYELLOW;VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),COLORRED;V ARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;V ARB:=EMA(0.667*REF(V ARA,1)+0.333*V ARA,5); DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=V ARB AND V ARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');V ARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLO SE-REF(C,1)),6,1)*100;DRAWICON(CROSS(82,V ARR1),HIGH,2);DRAWTEXT(CROSS(82,V ARR1),HIGH,'短空↓'),COLORYELLOW;V AR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;V AR2:=REF(V AR1,1);V AR3:=SMA(MAX(V AR1-V AR2,0),10,1)/SMA(ABS(V AR1-V AR 2),10,1)*100;HY3:=IF(COUNT(V AR3<20,5)>=1 AND COUNT(VAR1=LLV(V AR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0); DRAWTEXT(HY3,LOW,' →◆●▲注意买入'),COLORRED; S:=MA(VOL,5)/MA(VOL,60),COLORRED,,LINETHICK2; A:=MA(S,5),COLORGREEN,,LINETHICK2;BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;F:=MA(S,121);RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45) )*100;K:=SMA(RSV,15,1);D:=SMA(K,15,1);J:=3*K-2*D;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6, 1)*100;DRAWTEXT(CROSS(84,RSI) , HIGH,' →◆●逃顶!!◆●'),COLORYELLOW ;S1:=IF((J<11 AND BIAS>-11 AND CROSS( S,F) AND (S-F)>0.010),2,0),STICK,LINETHICK3,COLORGREEN; DRAWTEXT(S1=2,LOW,' →◆●关注!! ◆●'), COLORGREEN;中轨:HHV(MA(H,13),13),COLORRED,LINETHICK2;趋势:LLV(MA(H,13),1),COLORGREEN,LINETHICK2;小护士【副图】V ARTIME:=IF(YEAR>=2050 AND MONTH>=11 ANDDAY>=07,0,1);V ARDTIME:=IF(YEAR=2050 AND MONTH=11 AND DAY=06,1,0);DRAWTEXT(V ARDTIME,115,''),COLOR008000; DRAWTEXT(V ARDTIME,100,''),COLOR008000; DRAWTEXT(V ARDTIME,85,''),COLOR008000; DRAWTEXT(V ARDTIME,70,''),COLOR008000; DRAWTEXT(V ARDTIME,45,''),COLOR008000;QW1:=(HIGH+LOW+CLOSE*2)/4*V ARTIME;QW3:=EMA(QW1,10)*V ARTIME;QW4:=STD(QW1,10)*V ARTIME;QW5:=(QW1-QW3)*100/QW4*V ARTIME;QW6:=EMA(QW5,5)*V ARTIME;RK7:=EMA(QW6,10)*V ARTIME;涨:EMA(QW6,10)+100/2-5,LINETHICK1, COLORBLUE;跌:EMA(涨,4),LINETHICK1,COLORFFFF34;多线:IF(CROSS(涨,跌) AND 跌<-10,30,0),LINETHICK2,COLORFF00FF;空线:IF(CROSS(跌,80),70,100),COLOR0099FF,LINETHICK2; 买1:EMA(跌,4)*V ARTIME,COLORWHITE;买2:EMA(买1,4)*V ARTIME,COLORGREEN;买M3:=EMA(买2,4)*V ARTIME,COLORYELLOW;买M4:=EMA(买M3,4)*V ARTIME,COLORCC9900; STICKLINE(涨<REF(涨,1)*V ARTIME,涨,MA(涨,3),0,0 ),COLORWHITE;STICKLINE(涨<REF(涨,1)*V ARTIME,涨,MA(涨,3),3,0 ),COLOR008800;STICKLINE(涨<REF(涨,1)*V ARTIME,涨,MA(涨,3),2.7,0 ),COLOR009900;STICKLINE(涨<REF(涨,1)*V ARTIME,涨,MA(涨,3),2.4,0 ),COLOR00AA00;STICKLINE(涨<REF(涨,1)*V ARTIME,涨,MA(涨,3),2.1,0 ),COLOR00BB00;STICKLINE(涨<REF(涨,1)*V ARTIME,涨,MA(涨,3),1.8,0 ),COLOR00CC00;STICKLINE(涨<REF(涨,1)*V ARTIME,涨,MA(涨,3),1.5,0 ),COLOR00DD00;STICKLINE(涨<REF(涨,1)*V ARTIME,涨,MA(涨,3),1.2,0 ),COLOR00EE00;STICKLINE(涨<REF(涨,1)*V ARTIME,涨,MA(涨,3),0.9,0 ),COLOR00FF00;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),0,0) ,COLOR00BBFF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0011FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2.7,0) ,COLOR0022FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2.4,0) ,COLOR0044FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2.1,0) ,COLOR0066FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1.8,0) ,COLOR0088FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1.5,0) ,COLOR0099FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1.2,0) ,COLOR00AAFF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),0.9,0) ,COLOR00BBFF;V AR811:=SUMBARS(VOL,FINANCE(7)*100)*V ARTIME;V AR822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL)* V ARTIME;V AR883:=(CLOSE-V AR822)/V AR822*100*V ARTIME;V AR884:=HHV(V AR883,V AR811)*V ARTIME;V AR885:=LLV(V AR883,V AR811)*V ARTIME;V AR886:=(V AR883-V AR885)/(V AR884-V AR885)*100*V ARTIME;K:=SMA(V AR886,3,1)*V ARTIME;D:=SMA(K,3,1)*V ARTIME;J:=3*K-2*D;MA1:=MA(J,3)*V ARTIME,COLORGREEN;STICKLINE(FILTER(J>MA1 AND J<=3,5)=1 AND 跌<0,涨,涨+20,2,0),COLORYELLOW;V AR2:=MA(CLOSE,194);V AR3:=V AR2+2*STD(CLOSE,170);顶:=(CLOSE>V AR3)*13*10,COLORBLUE,LINETHICK2;V AR7B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);DRAWTEXT(V AR7B>0,60,'★探底'),COLORYELLOW;。

指标公式大全款款经典建议珍藏

指标公式大全款款经典建议珍藏

指标公式大全款款经典建议珍藏1. 平均数(Mean):平均数是一组数据的总和除以数据的个数。

公式:Mean = (x1 + x2 + ... + xn) / n2. 中位数(Median):中位数是一组数据按照大小排列后,处于中间位置的数值。

公式(当数据个数为奇数):Median = xn/2+1公式(当数据个数为偶数):Median = (xn/2 + xn/2+1) / 2 3. 众数(Mode):众数是一组数据中出现次数最多的数值。

4. 极差(Range):极差是一组数据中最大值与最小值之间的差值。

公式:Range = Max - Min5. 方差(Variance):方差是一组数据与其平均数之差的平方的平均数。

公式:Variance = Σ(xi - Mean)^2 / n6. 标准差(Standard Deviation):标准差是方差的算术平方根,表示数据的离散程度。

公式:Standard Deviation = √Variance7. 百分位数(Percentile):百分位数是一组数据按照大小排列后,处于对应百分比位置的数值。

公式:Percentile = (p/100)(n + 1)8. 回报率(Return):回报率是一项投资在一段时间内所产生的利润或损失与投资成本之比。

公式:Return = (CurrentValue - InitialValue) / InitialValue复合年均增长率衡量了一段时间内,投资组合的平均年增长率。

公式:CAGR = (CurrentValue / InitialValue)^(1/n) - 110. 销售增长率(Sales Growth Rate):销售增长率用于衡量一段时间内销售额的增长速度。

公式:Sales Growth Rate = (Current Sales - Previous Sales) / Previous Sales11. 利润率(Profit Margin):利润率用于衡量企业每个销售额单位所获得的利润。

几个经典实用的通达信条件选股公式(高手归纳)

几个经典实用的通达信条件选股公式(高手归纳)

⼏个经典实⽤的通达信条件选股公式(⾼⼿归纳)今天分享很⽜的指标,供⼤家学习,适合⾃⼰的就是最好的,选⼀款适合你操作就⾏了!记住,都是运⽤通达信来选股的。

1,5⽇均线拐头向上MA1:=MA(CLOSE,5);向下天数:=COUNT(MA1向下天数>4 AND MA1>REF(MA1,1);2,⽼⿏仓AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;展开剩余92%EE1:=V<MA(V,5)*1.5;⽼⿏仓:BB1 AND CC1 AND DD1 AND EE1;3,2阳夹1阴选股REF(C,2)>REF(O,2) AND REF(C,1)C>O AND C>=REF(O,1);4,回踩10均线VAR1:=MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30) AND MA(C,30)>MA(C,60);VAR2:=MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) ANDMA(C,30)>REF(MA(C,30),1) AND MA(C,60)>REF(MA(C,60),1);COUNT(VAR1 AND VAR2,3)=3 AND ABS((MA(C,10)-L)/L)*100<0.3 AND C>MA(C,10);5,涨停板敢死队Lx1:=(EMA((AMOUNT/10000000),1) /3);Lx2:=(WINNER(C)/0.3);Lx3:=IF(c<0,Lx1,V);Lx4:=IF(c<0,Lx2,V);Lx5:=IF((BARSCOUNT(C)>100),Lx3,Lx4);量:=Lx5/1000;动量:=(EMA(量,13)*1.5);A01:=IF((量>动量),量,0);A02:=BARSLAST((A01>0));A03:=REF(量,A02);趋势:=IF((量<=A01),量,A03);突破:=IF(((((量=趋势) and (C>REF(C,1))) and (量>REF(量,1))) and (REF(A02,2)>0)),888,0);量价突破:FILTER(突破 ,5 )*6;6,短线之王VAR1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));CROSS(VAR1,-87) AND OPEN<MA(CLOSE,5) AND CLOSE>=1.099*REF(CLOSE,1) AND INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV(CLOSE,58);7,主⼒介⼊VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR4:=(VAR1+2*VAR2+3*VAR3)/6;VAR5:=MA(VAR4,3)-STD(VAR4,3);VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(VARA,3,1),COLORYELLOW;VARB:=SMA(K,3,1);J:=3*K-2*VARB,COLORGREEN;主⼒介⼊: CROSS(J,VARB) AND COUNT(VAR5<-16,4)>=1,COLORWHITE;8,中短波选股HZ:=EMA(CLOSE,13);短波:=EMA(HZ,1);中波:=EMA(HZ,26);均线148天:=EMA(C,148);成本:=SUM(AMOUNT,0)/SUM(VOL,0)/100;HZ2:=EMA(HZ,8);CROSS(短波,HZ2);{结合中短波主图使⽤};9,30⽇线低吸AA:=CLOSEBB:=CLOSE>=MA(CLOSE,30);CC:=MA(CLOSE,20)>MA(CLOSE,30);AA AND BB AND CC;10,周KDJ⾦叉A:='KDJ.K#DAY';B:='KDJ.D#DAY';AA:='KDJ.K#WEEK';BB:='KDJ.D#WEEK';周⾦叉:CROSS(AA,BB)AND CROSS(A,B);11,10、20、30、60五条均线粘合条件选股公式MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);MA4:=MA(CLOSE,30);MA5:=MA(CLOSE,60);N5:=(MA1*5-REF(C,4)+C)/5;最⼤:=MAX(MAX(MAX(MAX(MA1,MA2),MA3),MA4),MA5);最⼩:=MIN(MIN(MIN(MIN(MA1,MA2),MA3),MA4),MA5);⽐值:=(最⼤/最⼩-1)*100;粘合:⽐值<2 AND MA1100;12,涨停缩量回调N:=8;M:=13;回踩线:=MA(C,M OR 60);中期线:=MA(C,30);长期线:=MA(C,60);均线多头:=中期线>REF(中期线,1) AND 长期线>REF(长期线,1);⼤阳:=C/REF(C,1)>=1.08;DYSJ:=BARSLAST(⼤阳);跟踪:=DYSJ<=13 AND COUNT(H>REF(L,DYSJ),DYSJ)=DYSJ AND C/REF(C,DYSJ)<0.95;阻击点:=V/REF(V,DYSJ)<0.65 AND L<回踩线 AND C>回踩线;机会:跟踪 AND 阻击点 AND 均线多头,COLOR00FF00;13,K线双底形态选股公式MA5 :=EMA(CLOSE,5);趋势:=MA5-EMA(MA5,2);JCSJ1:=BARSLAST(CROSS(趋势,0))+1;JCSJ2:=JCSJ1+REF(JCSJ1,JCSJ1);双底:IF(JCSJ1=1 AND MA5>REF(MA5,JCSJ2) AND COUNT(趋势<0,4)>=2,1,0);14,横盘放量突破——抓强势股选股LAST((H-L)/REF(C,1)<0.1,20,0) AND VOL>REF(VOL,1)*2 AND C>REF(C,1)*1.03AND 'DMI.PDI'>'DMI.MDI' AND CROSS('DMI.ADX','DMI.ADXR')AND'DMI.ADXR'>'DMI.MDI' AND 'DMI.PDI'>'DMI.ADX' AND'KDJ.D'>REF('KDJ.D',1); 15,MACD的拐点公式DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;MACD:=2*(DIFF-DEA);拐点:ref(macd,2)>ref(macd,1) and ref(macd,1)<macd;16,起爆点选股指标公式起爆:'KDJ.J'-REF('KDJ.J',1)>30 AND C/REF(C,1)>1.043 AND 'MACD.MACD'>0 AND 'MACD.DEA'>0;17,黄⾦坑RSV1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;RSV2:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,14);中线:=SMA(RSV2,5,1)+2*STD(CLOSE,14);RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;长线:=SMA(RSV3,5,1);黄⾦坑:短线<20 AND 中线<20 AND 长线<20;附加:放量收阳来⾃微信公众号平台:李韩薇。

指标公式大全款款经典建议珍藏

指标公式大全款款经典建议珍藏

指标公式大全款款经典建议珍藏以下是一些常见的指标公式及其描述:
1.盈利能力指标:
-销售毛利率=(销售收入-销售成本)/销售收入
-净利润率=净利润/销售收入
-净资产收益率=净利润/净资产
-每股收益=净利润/总股数
-资产回报率=净利润/总资产
2.偿债能力指标:
-流动比率=流动资产/流动负债
-速动比率=(流动资产-存货)/流动负债
-资产负债率=总负债/总资产
-利息保障倍数=(利润总额+财务费用)/财务费用3.运营能力指标:
-库存周转率=销售成本/平均库存
-资产周转率=销售收入/平均总资产
-应收账款周转率=销售收入/平均应收账款
-应付账款周转率=采购成本/平均应付账款
4.成长能力指标:
-销售增长率=(本期销售收入-上期销售收入)/上期销售收入
-增长率=(本期数-上期数)/上期数
5.现金流量指标:
-现金流量比率=经营活动产生的现金流量净额/净利润
-经营活动现金流量净额=经营收入-经营支出
6.市场评估指标:
-市盈率=市场价/每股收益
-市净率=市场价/每股净资产
这些指标公式可以用于分析企业或个人的财务状况和绩效表现。

具体使用时,应根据具体情况选择适当的指标公式进行计算和分析,并结合其他因素进行综合评估。

好用的指标公式大全

好用的指标公式大全

好用的指标公式大全以下是一些常见的好用的指标公式:1. 移动平均线指标(MA):MA = (C - REF(C, N)) / N,其中C是当前收盘价,N是移动平均的期间数。

2. 相对强弱指标(RSI):RSI = (UP + DOWN) / 2,其中UP是上涨的天数,DOWN是下跌的天数。

3. 随机指标(KDJ):KDJ = (CLOSE - LOW) / (HIGH - LOW) 100,其中CLOSE是收盘价,LOW是最低价,HIGH是最高价。

4. 布林线指标(BOLL):BOLL = MA(CLOSE, N) + 2 STD(CLOSE, N),其中MA是移动平均线,STD是标准差,N是期间数。

5. 指数平滑异同移动平均线指标(MACD):MACD = (EMA12 - EMA26) / 2,其中EMA是指数移动平均线,分别以12天和26天为期间数。

6. 威廉指标(Williams %R):Williams %R = (H - CLOSE) / (H - L) 100,其中H是最高价,L是最低价,CLOSE是收盘价。

7. 涨跌比率指标(ADTM):ADTM = (CLOSE - REF(CLOSE, N)) /REF(CLOSE, N) 100,其中CLOSE是收盘价,N是期间数。

8. 阿姆氏指标(ARMS):ARMS = (HIGH - LOW) / (CLOSE - LOW) 100,其中HIGH是最高价,LOW是最低价,CLOSE是收盘价。

9. 相对强弱幅度指标(RSF):RSF = (H - C) / C 100,其中H是最高价,C是收盘价。

10. 心理线指标(PSY):PSY = (H + L + C) / 3 N / (H - L),其中H是最高价,L是最低价,C是收盘价,N是期间数。

这些公式都是常用的技术分析工具,可以帮助投资者分析和预测股票价格的走势。

然而,这些公式并不能保证每次都能准确预测市场的走势,投资者在使用这些公式时需要结合其他信息进行综合分析和判断。

最精准的股票指标公式

最精准的股票指标公式

最精准的股票指标公式
股票指标主要分为技术指标和基本面指标两类。

其中,技术指标是通过股票的价格、成交量等数据进行计算,从而分析股票走势的。

以下是其中一种经典的技术指标公式——相对强弱指数(RSI):RSI = 100 - [100 / (1 + RS)]
其中,RS为相对强度,计算公式为:
RS = 平均涨幅 / 平均跌幅
涨幅和跌幅的平均值可以通过过去一段时间内的股价走势来计算。

当RSI指标超过70时,代表股票处于超买状态,预示着可能会出现调整或回调;反之,当RSI指标低于30时,代表股票超卖,可能会出现反弹或拉升的机会。

当然,RSI指标并非完美,需要结合其他指标一起分析,做出正确的投资决策。

指标公式大全,款款经典(建议珍藏)

指标公式大全,款款经典(建议珍藏)

指标公式大全,款款经典(建议珍藏)指标源码:1、连续三天高开高走的选股公式count(o>ref(c,1) and c>o,3)=3;2、连续3天每天的最低价都比前一天高count(l>ref(c,1),3)=3;3、周量缩小50%或40%或n%a1:vol/capital*100;xg:a1/ref(a1,1)4、股价超过五日均价的15%以上,并给出卖出信号卖出:c/ma(c,5)>1.15;5、连收两个十字星的选股公式count(abs((c-o)/o<0.01),2)=2;6、收盘价连续8天都站在5日均线的股票。

count(c>ma(c,5),8)=8;7、振幅大于5%,收盘价大于3.5小于15元,三日均线大于昨日的三日均线,去掉ST股。

a1:=h/l>1.05;a2:=c>3.5 and c<15;a3:=ma(c,3)>ref(ma(c,3),1);xg:a1 and a2 and a3;8、连续三日收阳后日收盘高于前日且每日收于当日最高价附近每日涨幅不大于4%选股:count(c>o and c>ref(c,1) and abs((h-c)/c)<0.01 and c/ref(c,1)<1.04,3)=3;9、昨日收阴,今日收阳,的K线组合。

C>O AND REF(C,1)10、股价突破5ma买入,跌破5ma卖出。

买入和卖出用箭头表示(副图)a1:cross(c,ma(c,5));a2:cross(ma(c,5),c);drawtext(a1,low*0.98,'↑'),colorred;drawtext(a2,h*1.02,'↑'),color00ffff;11、今天的250平均线大于昨天的昨天的250平均线ma(c,250)>ref(ma(c,250),1);12、均线中增加一根线,这根线的价格是5日线的1.2倍aa:ma(c,5)*1.2;13、20天均线向上的股xg:ma(c,20)>ref(ma(c,20),1);14、今天收盘价在昨天收盘价-2%~2%之间c/ref(c,1)>0.98 and c/ref(c,1)<1.02;15、收盘价在5日均线以上5天count(c>ma(c,5),5)=5;16、月k线十字星收盘并且5月线拐点向上。

【重磅】指标公式大全,总有一款适合你(一)!

【重磅】指标公式大全,总有一款适合你(一)!

【重磅】指标公式大全,总有一款适合你(一)!一、市场分析下面我们看看今天的市场情况吧,今天上证以价量齐平走势收阴,指数受阻红三兵后在本波高位上出现整理并下影线的阴线,由于背离延伸到日线上,那么短期而言:震荡不可避免,但认为指数大格局依旧震荡向上仍为主基调,小格局震荡回调的是正常的;399006创业板有站上1910点,谨慎看高一线,但仍处于弱反抽行情,(个股另当别论)。

操作上控制好仓位,以板块与个股的轮动机会为主。

二、联盟学堂:今天我们给大家分享的指标与众不同,记得我韩老师在这个平台上一直在为大家编写指标,然而在韩老师看来,韩老师之前为大家编写的很多指标可能不仅对于该用户有价值,也有可能是平台上大多数用户都需要的。

那么今天我就先拿出三十七个,给大家借鉴一下(后面还有很多),顺便提示大家,这些指标也可以组合搭配的哦!三、指标源码:1、股价4天中有两天在10日线上;count(c>ma(c,10),4)=2;2、一阳上穿10,20,30日线,量能是前一天3倍。

xg:cross(c,ma(c,10)) and cross(c,ma(c,20)) and cross(c,ma(c,30)) and v>ref(v,1)*3;3、共三根K线,第一根K线为阴线;第二根K线为阴线线,最高价低于第一根K线,最低价高于第一根K线;第三根K线阴阳不限,最高价低于第二根K线,最低价高于第二根K线。

满足后发出信号。

W1:=REF(C,2);W2:=REF(H,2)>REF(H,1) AND REF(L,2);W3:=REF(H,1)>H AND REF(L,1);XG:W1 AND W2 AND W3;4、选出今日成交量大于昨日成交量一成的股票。

xg:v>ref(v,1)*1.1;5、连续5天,当日的5日均线减前一天的5日均线差值小于1。

count((ma(c,5)-ref(ma(c,5),1))<1,5)=5;6、股价上穿5周均线:xg:cross(c,ma(c,5));注意:选股时用周线7、上穿30日均线的公式xg:cross(c,ma(c,30));8、两笔阴线中间夹着一根阳线或数根K线,其中两笔阴线最低点相等。

指标公式(超强版)

指标公式(超强版)

指标公式阶段底部Var2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;Var3:=SMA(SMA(Var2,3,1),3,1)/28.57;Var4:=EMA(Var3,5);Var5:=3*Var3-2*Var4;AA:=CROSS(Var5,Var3) AND Var3<2.1 AND C>O;Var6:=(2*CLOSE+HIGH+LOW)/4;Var7:=LLV(LOW,13);Var8:=HHV(HIGH,13);Var9:=EMA((Var6-Var7)/(Var8-Var7)*100,13);VarA:=EMA(0.667*REF(Var9,1)+0.333*Var9,2);多:Var9,colorred,POINTDOT;空:EMA(0.382*REF(Var9,2)+0.618*Var9,12),colorgreen;STICKLINE(Var9>VarA,Var9,VarA,6,0),colorred;STICKLINE(Var9<=VarA,Var9,VarA,6,0),COLORFFCC66;STICKLINE(AA,0,30,40,1),coloryellow;STICKLINE(AA,16,29,38,0),colorred;STICKLINE(AA,1,14,38,0),colorred;STICKLINE(AA,15,15,40,1),coloryellow;STICKLINE(AA,30,50,10,0),coloryellow;STICKLINE(AA,53,55,10,1),colorred;STICKLINE(AA,57,59,10,1),colorred;STICKLINE(AA,61,63,10,1),colorred;STICKLINE(AA,65,67,10,1),colorred;STICKLINE(AA,69,75,12,0),colorffcccc;DRAWTEXT(AA,85,'底'),coloryellow;黑马初现个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),color1010FF;大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),colorE6 7010,linethick2;STICKLINE(个股>=大盘,个股,大盘,1,0),colorred;STICKLINE(个股<大盘,个股,大盘,1,0),colorblue;STICKLINE(个股>=大盘,0,大盘,6,0),coloryellow;STICKLINE(个股<大盘,0,个股,6,0),coloryellow;黑马初现:IF(CROSS(个股,9),50,0),STICK,linethick3,color00ff00;DRAWTEXT(CROSS(个股,9),40,'黑马初现!'),color00ff00;Var1:=EMA(CLOSE,3);Var2:=EMA(CLOSE,21);Var3:=BARSLAST(CROSS(Var2,Var1))>15;Var4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;Var5:=CROSS(Var1,Var2) AND Var4 AND Var3;私募内部交流指标VAR2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);VAR3:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100); VAR4:=SMA(VAR3,9,1);VAR5:=SMA(VAR4,3,1);红线在上持股:((3 * VAR4) - (2 * VAR5)), LINETHICK2 , colorred;VAR6:=(红线在上持股> (1 * REF(红线在上持股,1)));VAR7:=LLVBARS(LOW,50);VAR8:=SUM(VOL,VAR7);VAR9:=HHVBARS(HIGH,50);VAR10:=SUM(VOL,VAR9);VAR11:=(((CLOSE - REF(OPEN,VAR9)) / REF(OPEN,VAR9)) * 100);VAR12:=((VAR10 / CAPITAL) * 100);VAR13:=(((CLOSE - REF(OPEN,VAR7)) / REF(OPEN,VAR7)) * 100);VAR14:=((VAR8 / CAPITAL) * 100);VAR15:=(MA(WINNER(CLOSE),3) * 100);VAR16:=EMA(VAR4,3);回档不破洗盘:EMA(VAR4,3),COLORFFFFFF,LINETHICK2;红线下穿减仓:EMA(回档不破洗盘,3),COLORFFCC66;无量阴跌空仓:EMA(红线下穿减仓,3),COLORCC9966;仅供参考:EMA(无量阴跌空仓,3),COLORCC6666;A6:EMA(仅供参考,3),COLORCC3366;A7:EMA(A6,3),LINETHICK2,COLORCC3366;VAR17:=EMA(A7,3);VAR18:=EMA(VAR17,3);VAR19:=EMA(VAR18,3);AA:EMA(仅供参考,6),COLORFF0000;DRAWICON(CROSS(红线在上持股,A7),(红线在上持股- 0.01),15); DRAWICON(CROSS(红线下穿减仓,红线在上持股),红线下穿减仓,19);VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;STICKLINE(A1,30,0,4,0),COLOR770077;STICKLINE(A1,30,0,3,0),COLOR990099;STICKLINE(A1,30,0,2,0),COLORBB00BB;STICKLINE(A1,30,0,1,0),COLORDD00DD;STICKLINE(A1,30,0,0.3,0),COLORFF00FF;买卖指标N 0 20 3M 0 100 20RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1),COLORFFFFFF;D:=SMA(K,3,1),COLOR00FFFF;J:=3*K-2*D,COLORFF00FF;X:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0),COLOR00FF00;主力:=EMA( (CLOSE-MA(CLOSE,n))/MA(CLOSE,n)*4800,2);散户:=EMA( (CLOSE-MA(CLOSE,m))/MA(CLOSE,m)*4800,7);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW,'买入'),colorff00ff; DRAWTEXT(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,'底'),colorwhite; LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);波动回调提示图:MA(CLOSE,10000);STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorwhite; STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorbrown; DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'背离'),Color0000FF;DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'调'),Color00FFFF;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorred;STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),color0000aa;STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),color0000cc;STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),color0000cc;STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),color0000ee;STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),coloraaaa00;STICKLINE(买线<卖线,CLOSE,OPEN,4,0),colorbbbb00;STICKLINE(买线<卖线,CLOSE,OPEN,3,0),colorcccc00;STICKLINE(买线<卖线,CLOSE,OPEN,2,0),coloreeee00;STICKLINE(买线<卖线,LOW,HIGH,1,0),colorffff00;STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),color00ffff; 操作线(准确高)回归斜率线A:=EMA(SLOPE(C,4)*20+C,42);经典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;经典K:=SMA(经典RL,3,1); 经典D:=SMA(经典K,3,1); 经典J:=3*经典K-2*经典D; MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20)))/(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));MAHL2:=IF(EMA(C,2)>回归斜率线A AND MAHL1>0,EMA(C,3),LLV(EMA((H+L)/2,5),30)); MAHL3:=IF(EMA(C,2)>回归斜率线A AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5)); 上线:=SMA(C,6.5,1);一号支撑线:SMA(C,14.5,1);上线1:=SMA(C,3,1);一号支撑线1:=SMA(C,8,1);上线2:=SMA(C,3.5,1);DRAWTEXT(CROSS(一号支撑线1,上线1),H*1.08,'洗盘'),COLOR00FF00;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,25))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,55),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) AND CLOSE<上线 1 , HIGH*1.04,'减仓') ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),colorblue,LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;DRAWTEXT( CROSS(上线1,上线) AND 上线1>操作,LOW *0.92,'买进' ),coloryellow; VAR1:LLV(A7,21);VAR2:HHV(A7,30);DRAWTEXT( CROSS(上线1,操作) AND 上线1<一号支撑线AND 上线1<一号支撑线1 AND 上线1<上线AND CLOSE>VAR1,LOW *0.98,'见底' ),coloryellow;YCX:=操作>=REF(操作,1);H1:=MAX(MAX(上线,一号支撑线1),一号支撑线);L1:=MIN(MIN(上线,一号支撑线1),一号支撑线);DRAWTEXT(CROSS(上线1,一号支撑线1) AND 上线1>操作,LOW *0.98,'全仓' ),coloryellow;SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);M1:=1000*操作/一号支撑线<=1015 AND 1000*操作/一号支撑线>=975;M2:=1000*一号支撑线1/一号支撑线<=1020 AND 一号支撑线1/一号支撑线>=980;M3:=1000*上线/一号支撑线<=1015 AND 上线/一号支撑线>=985;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) ANDREF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),LOW*0.94,'买进') ,coloryellow;D:=MA(CLOSE,89)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.88,'抄底'),colorbrown;RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;K:=SMA(RSV,3,1);D1:=SMA(K,3,1);J:=3*K-2*D1;VAR3:=(2*CLOSE+HIGH+LOW)/3;VAR4:=EMA(EMA(EMA(VAR3,4),4),4);E:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;F:=MA(E,3)+0.03;G:=MA(E,1);DRAWICON(CROSS(F,G) AND J>65,HIGH*1.02,15),colorgreen;DRAWICON(CROSS(G,F),LOW *0.9,9),coloryellow;DRAWTEXT(CLOSE>OPEN AND H1<C AND O<L1 AND YCX AND CROSS(上线1,操作) AND LOW>VAR1 AND 上线1>一号支撑线AND J<90,LOW *0.9,'主升' ),colorred; DRAWTEXT( CROSS(上线1,操作) AND M1 AND M2 AND M3,LOW *0.94,'买进' ),coloryellow;DRAWTEXT(CLOSE>OPEN AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线AND CLOSE>MA(CLOSE,一号支撑线) AND 操作>=REF(CLOSE,操作) AND CROSS(上线1,操作) AND LOW>VAR1 AND J<90,LOW *0.9,'主升' ),colorred;DRAWTEXT(CLOSE>OPEN AND 操作>上线AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线AND CROSS(上线1,操作) AND LOW>VAR1 AND J<90,LOW *0.86,'回踩买进' ),colorred;DRAWTEXT(CLOSE>OPEN AND CROSS(上线,一号支撑线) AND LOW>VAR1 AND J<90,LOW *0.86,'回踩买进' ),colorred;主力控盘轨迹CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;主力线:(EMA(CS,3)-50)*2;极弱:-80;强势:60;风险:80;弱势:-60;主力线,COLORSTICK;今日保护价:(REF(C,1)+REF(C,2)+O)/3,linethick0;VAR1:=REF(CLOSE,1);VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100; STICKLINE(CROSS(75.9,VAR2),主力线+5,主力线-5,3,0),coloryellow;DRAWTEXT(CROSS(主力线,78),78,'清仓'),colorred;DRAWTEXT(CROSS(主力线,强势),60,'飙升'),coloryellow;DRAWTEXT(CROSS(主力线,0),0,'控盘'),colorwhite;DRAWTEXT(CROSS(主力线,-60),-30,'回补'),colorgreen;DRAWTEXT(CROSS(主力线,-80),-80,'吸筹'),colorcyan;内部波段A(接近100%)X1: 0;Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=MA(CLOSE,20);Var4:=MA(CLOSE,30);Var5:=(Var1+Var2+Var3+Var4)/4;Var6:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;Var7:=(Var5-REF(Var5,5))/REF(Var5,5)*1500;Var8:=EMA(Var6,8);VAR9:=TROUGHBARS(3,15,1)<10;VAR10:=PEAKBARS(3,15,1)<10;VAR11:=IF(VAR9=1,50,0);VAR12:=IF(VAR10=1,50,0);底部:= IF(VAR11=50,50,0);头部:= IF(VAR12=50,100,0);a:IF( 底部>REF(底部,1),50,0);aa:IF(头部>REF(头部,1),50,0);DRAWTEXT(a=50,100,'买入' ),colorred,linethick2;DRAWTEXT(aa=50,100,'卖出'),COLORffffff,linethick2;内部波段B(短线)ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2), colorred;卖出: ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),COLORF0F000新手操作公式(基本正确,无未来)A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H, 55)-LLV(L,55))*100,5,1);黑马线:EMA(A1,5),LINETHICK1,COLOR6600FF;A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;A3:=EMA(C,5);A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;趋势线:(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK0,COLOR00FF00; A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A2<0,7),黑马线,'跑'),COLOR00FF00; DRAWTEXT(CROSS(A1,黑马线)AND 黑马线<A5,55,'黑');DRAWTEXT(CROSS(黑马线,A5)AND 趋势线<80,35,'追');DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,15,'大黑马');底部:(A2<-10 AND A2>REF(A2,1))*25,colorred;DRAWICON(底部AND A3>REF(A3,1),25,4);机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0;大势已去:IF(CROSS(黑马线,A1)AND 黑马线>70 AND 趋势线>80,90,100),COLORFF0000;强弱:50,POINTDOT;VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),15,1)/SMA(MAX(LOW-VAR1,0),10,1),LINETHICK2;VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);猎庄:IF(VAR5>REF(VAR5,1),VAR5,0),COLORLIRED,POINTDOT,LINETHICK5; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),colorred,POINTDOT,LINETHICK2;跟庄:IF(VAR5<REF(VAR5,1),VAR5,0),colorgreen;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),colorgreen;VAR1E:=((CLOSE - LLV(LOW,20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 100;VAR2E:=SMA(SMA(VAR1E,3,1),3,1);VAR3E:=EMA(VAR2E,5);GZ:=3*VAR2E-2*VAR3E;趋势J:EMA(GZ,3),colorgreen,LINETHICK2;强弱分界线:20,colorgreen;N1:=21;VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2A:=SMA(VAR1A,9,1)+100;VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4A:=SMA(VAR3A,3,1);VAR5A:=SMA(VAR4A,3,1)+100;VAR6A:=VAR5A-VAR2A;端庄窝:=IF(VAR6A>N1,VAR6A-N1,0),COLORLIRED;果断出击:IF(CROSS(端庄窝,0.01),30,0),STICK,colorgreen,LINETHICK2;DRAWICON(果断出击>0,30,1),colorgreen;RSV55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*80;K55:=SMA(RSV55,3,1);资金线:SMA(K55,3,1),colorred,LINETHICK2;WRA:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*100;WR1:=SMA(WRA,3,1);RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K9:=SMA(RSV9,3,1);D9:=SMA(K9,3,1);快速短线:3*K9-2*D9,COLORAAAACC,LINETHICK1;RSV21:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;K21:=SMA(RSV21,13,1);D21:=SMA(K21,3,1);DRAWTEXT((D21-REF(D21,1))>0,D21,'·'),coloryellow,POINTDOT,LINETHICK3;DRAWTEXT((D21-REF(D21,1))<0,D21,'·'),colorblue,POINTDOT,LINETHICK3;-5,colorwhite;强势线:50,COLOR4080FF,POINTDOT; 80,POINTDOT,COLORAAAAAA;100,COLORAAAAAA;强势线1: -20,COLOR4080FF,POINTDOT;。

指标公式大全

指标公式大全

指标公式大全
一、财务指标公式:
1.利润率=净利润/总收入
2.毛利率= (总收入-销售成本) /总收入
3.资产周转率=总收入/平均总资产
4.存货周转率=总销售额/平均库存
5.应收账款周转率=信用销售额/平均应收账款余额
6.总资产收益率=净利润/平均总资产
7.权益资本回报率=净利润/平均股东权益
二、市场指标公式:
1.市盈率=市价/每股收益
2.市净率=市价/每股净资产
3.资本回报率=每股股息/每股市价
4.每股收益=净利润/发行股本
5.市销率=市价/销售收入
三、运营指标公式:
1.客户满意度= (已满意客户数/总客户数) * 100%
2.产能利用率=实际产量/理论产量
3.员工离职率=离职员工数/平均员工数
4.销售增长率= (本期销售额-上期销售额) /上期销售额
5.客户流失率=流失客户数/初始客户数
6.增长率= (本期数值-上期数值) /上期数值
以上只是一部分常用的指标公式,根据不同的行业和业务领域,还可以有更多特定的指标公式。

在使用这些公式时,还需要根据具体情况进行合理的计算和分析,以得出准确的结果和结论。

通达信指标公式大全

通达信指标公式大全

SZ3天地人天: IF(HHVBARS(V ,60) ,REF(C ,HHVBARS(V ,60) ) ,C ),COLORLIBLUE,POINTDOT;地: IF(LLVBARS(V,5), REF (C,LLVBARS(V,5)),C),COLORYELLOW,POINTDOT;人: IF(LLVBARS(V,13), REF (C,LLVBARS(V,13)),C),COLORMAGENTA,POINTDOT;MA3:MA(C,3);MA13:MA(C,13);主力成本:COST(5),POINTDOT;获利了结: COST(98),POINTDOT;ZLX:STICKLINE(C<O AND REF(C,1)>REF(O,1),REF(C,1),REF(C,1)*0.995,4,0),COLOR00FF00;SZ1交易量WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORBLUE; VOLUME:VOL,VOLSTICK;V5:MA(VOLUME,5);V10:MA(VOLUME,10);V20:MA(VOLUME,20);V60:MA(VOLUME,60);V AR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:IF(CLOSE>OPEN,V AR1*(HIGH-LOW),IF(CLOSE<OPEN,V AR1*((HIGH-OPEN)+(CLOSE -LOW)),VOL/2)),COLORRED,POINTDOT;主卖:IF(CLOSE>OPEN,V AR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,V AR1*(HIG H-LOW),VOL/2))COLORRED,POINTDOT;SZ2短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;高浪日:=REF(短期,1)<2 AND REF(中期,1)<2 AND REF(中长期,1)<2 AND REF(长期,1)<2;高浪日抄底:IF(高浪日,1,0),COLORYELLOW,LINETHICK3;STICKLINE(高浪日抄底,20,40,2,0),COLORMAGENTA,LINETHICK5;DRAWTEXT(高浪日抄底,35,'买入'),COLORYELLOW,LINETHICK3;强势线:80,COLORRED,DOTLINE,LINETHICK2;弱势线:20,COLORGREEN,LINETHICK2;SZ4惜筹A:=H/C>1.03;B:=V/REF(V,1)<=2 AND V/REF(V,1)>=0.8;D:=H=HHV(H,3);A ANDB AND D;SZ仙人LC:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,COLORW HITE,LINETHICK1;GAO:=HHV(C,60)-LLV(C,60);RSI:=SMA(MAX(LC-REF(LC,1),0),5,1)/SMA(ABS(LC-REF(LC,1)),5,1);仙人:LC+GAO*(RSI-0.5),COLORFF3399,LINETHICK1;{STICKLINE(CROSS(RSI,0.1),仙人,REF(仙人,1),1,0),COLORYELLOW;STICKLINE(CROSS(0.9,RSI),仙人,REF(仙人,1),1,0),COLORCYAN;}攻防价位:(REF((H-L)*0.618+L,1)),NODRAW,COLORYELLOW;STICKLINE(ISLASTBAR,攻防价位-0.01,攻防价位,6,0),COLORYELLOW;MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;多:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MI D,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+ 9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF( MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;空:MA(多,6),COLORGREEN;水平面:MA(CLOSE,60),COLORYELLOW,POINTDOT;MS:IF(多>=REF(多,1),多,DRAWNULL),COLORRED,LINETHICK2;MM:IF(空>=REF(空,1),空,DRAWNULL),COLORYELLOW,LINETHICK2;买:=CROSS(多,空);卖:=CROSS(空,多);DRAWICON(买,L*0.97,1);DRAWICON(卖,H*1.03,2);SZ7短线MA30:=EMA(CLOSE,30);强弱:EMA(CLOSE,900);STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF;STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*7/8,COLOR00DD00;支撑:L1+P1*0.5/8,COLOR00DD00;现价:CLOSE,COLORWHITE,LINETHICK1;STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'买'),COLORYELLOW;{吸} DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'抛'),COLORGREEN;{抛};SZ8极品底MA6:MA(C,6),COLOR0000FF;MA18:MA(C,18),COLOR0096FF;MA30:MA(C,30),COLOR00FF99;MA60:MA(C,60),COLORFF00FF;MA120:MA(C,120),COLORWHITE;{MA250:MA(C,250),COLORCY AN;}D1:=((MEMA(CLOSE,3) - MEMA(CLOSE,6)) * 5);S:=MA(C,9);Z:=((EMA(D1,7) + EMA(CLOSE,5))-S)*100;P:=EMA(Z,2);D2:=IF(Z>P,1,0);STICKLINE(D2=0,OPEN,CLOSE,0.8,0),COLORBLUE;STICKLINE(D2=1,OPEN,CLOSE,0.8,0),COLORWHITE;A:=C-MA6;A1:=CROSS(A,0);A2:=CROSS(0,A);A3:=0.68*MA(FORCAST(CLOSE,2),40);A4:=IF(C<A3 OR L<A3,1,0);A5:=CLOSE-OPEN;A6:=OPEN-CLOSE;A7:=IF(CLOSE>OPEN,A5,A6);A8:=IF(OPEN<CLOSE,OPEN,CLOSE);DRAWICON(A1 AND REF(A1,1)=0 ,L*0.98,7);DRAWICON(A2 AND REF(A2,1)=0 ,H*1.02,8);LC:=REF(C,1);LD:=IF(C<LC*0.89,1,0);LE:=COUNT(LD=1,20);LF:=COUNT(LD=1,6);LG:=MA6/4.5;RSI1:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100,NODRAW,COLOR YELLOW;EE:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, ;AA:=((REF(EE,1)<REF(EE,2) AND EE<-30) AND EE>=REF(EE,1)) OR (REF(CROSS(-30,EE),1) AND CROSS(EE,-30)) OR EE=-30;MJ0:=IF(AA AND LE<1,1,0);V AR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);V AR2:=DMA(CLOSE,VOL/MA(VOL,31)/31);V AR3:=(CLOSE-V AR1)/V AR1*100<-10;V AR4:=(V AR1-VAR2)/V AR2*100<-16;V AR5:=V AR3 AND V AR4;V AR6:=V AR5 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0;DRAWTEXT(MJ0=1 AND MACD>REF(MACD,1),L*0.95,'极品底'),COLORMAGENTA; DRAWTEXT(A<-LG AND LF=0,L*0.96,'下跌过急'),COLORYELLOW;STICKLINE(A4=1,A8,A8+A7/2,2.8,0),COLORMAGENTA;DRAWICON(V AR6,L*0.96,11);PT:=REF(H,1)-REF(L,1);CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;AH:=CDP+PT;AL:=CDP-PT;NH:=CDP*2-REF(L,1);NL:=CDP*2-REF(H,1);强:=IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;阻力位:IF(NH>强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORCYAN;M:=IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL);支撑位:IF(NL<M,CDP-(CDP-M)*0.618,NL)NODRAW,COLORLIRED;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,NODRAW,COLORYELL OW;DRAWICON(CROSS(J,0) AND RSI<33,L*0.995,1);DRAWICON(CROSS(102,J),H*1.005,2);DRAWTEXT(CROSS(J,5)AND RSI<40,L*0.98,'短买');DRAWICON(CROSS(90,RSI),H+0.2,2);SZ15多方炮A1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;{三日均线描述}A2:=REF(C,2)/REF(O,2)>1.03;{前天的涨幅大于3%}A3:=REF(H,1)/REF(L,1)>1.03;{昨振幅大于3%}A4:=C/REF(C,1)>1.03;{今天涨幅大于3%}A5:=REF(C,1)/REF(C,2)<1.01 AND REF(O,1)/REF(C,2)<1.01;{昨天阴线开盘及收盘价均在前日收盘价1.01以内}A6:=REF(C,1)>REF(O,2);{昨天阴线收盘要大于前日开盘价}A7:=C>REF(O,1);{今日收盘价大于昨日的开盘价}A8:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);多方炮:A8 AND J<65;SZ19熊熊迹:MA(CLOSE,49),LINETHICK2,COLORYELLOW;KS:=((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13))*(-100);趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3);AA:= - 100 *(趋势线- CLOSE)/趋势线;AC:=EMA(AA,5);AG:=SUM((VOL / FINANCE(7)),1);SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);MM:=MA(MMV,2);SA:=(MM * 0.985);SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21));动态:IF(((SSL > MM)),SSL,SA),LINETHICK1,COLORGREEN;熊掌:IF(((SSL > MM) ),MM,SA),LINETHICK1,COLORGREEN;猎刀:IF(((SSL > MM)),MM,SA),LINETHICK2,COLORWHITE;V AR2Y:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);V AR3Y:=(((CLOSE - REF(OPEN,29)) / REF(OPEN,29)) * 100);V AR4Y:=REF(CLOSE,1);V AR5Y:=((SMA(MAX((CLOSE - V AR4Y),0),6,1) / SMA(ABS((CLOSE - V AR4Y)),6,1)) * 100);VAR6Y:=((SMA(MAX((CLOSE - V AR4Y),0),12,1) / SMA(ABS((CLOSE - V AR4Y)),12,1)) * 100);V AR7Y:=((SMA(MAX((CLOSE - V AR4Y),0),24,1) / SMA(ABS((CLOSE - VAR4Y)),24,1)) * 100);VAR8Y:=(((CLOSE - LLV(LOW,45)) / (HHV(HIGH,45) - LLV(LOW,45))) * 100);V AR9Y:=SMA(V AR8Y,3,1);V ARAY:=SMA(V AR9Y,3,1);V ARBY:=((3 * VAR9Y) - (2 * V ARAY));VARCY:=(CROSS(V AR5Y,10) AND (V AR3Y < (0 - (28 * 20))));V ARDY:=((100 - CROSS(76,V AR5Y)) AND (V AR3Y > (5 * 20)));DRAWICON(((CROSS(76,V AR5Y) AND (V AR3Y > 5)) ),(HIGH * 1.0099),6),COLORFFFFFF;VAREY:=((((CROSS(V AR9Y,V ARAY) AND (V ARAY < 10)) AND (V AR3Y < (0 - 30))) AND (V AR2Y > 3)) * 30);VARFY:= - ((((V ARAY < 11) AND (V AR5Y < 15)) AND (V AR3Y < (0 - 26))) * 10);DRAWICON((CROSS(V ARFY,(0 - 9))),(LOW * 0.998),5);能量线:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) * 4)));V AR3C:=EMA(能量线,1);V AR4C:=REF(能量线,1);X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);LL:=REF(CLOSE,2);MD:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100);DB:=IF(((MD < REF(MD,1)) AND (MD > 79)),MD,0);DRAWICON(CROSS(Y,X),(LOW *0.985),1),LINETHICK3,COLORRED;DRAWICON(CROSS(X,Y),(HIGH *1.02),2),LINETHICK2,COLOR00FF00;DRAWTEXT(DB,(HIGH * 1.02),'抛'),LINETHICK2,COLOR00FF00;V AR1:=LLV(LOW,21);V AR2:=HHV(HIGH,21);AK:=EMA(((( CLOSE - VAR1) / (V AR2 - V AR1)) * 50),13);AK1:=EMA((((CLOSE - V AR1) / (V AR2 - V AR1)) * 100),5);V AR3:=LLV(LOW,55);V AR4:=HHV(HIGH,34);V AR5:=EMA((((CLOSE - VAR3) / (V AR4 - V AR3)) * 100),3);V AR6:=((AK + V AR5) / 2);V AR8:=EMA(VAR6,5);BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * V AR8)),2);AB:=CROSS(AK1,AK);BB1:=(CROSS(AK1,BB) AND (BB < 30));CD:=(BB1 * 0.6);DRAWICON((CD = 0.6),(LOW * 0.99),9),LINETHICK1,COLOR33CC99;N:=5;回归斜率线A:=EMA(SLOPE(C,4)*20+C,42);经典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;经典K:=SMA(经典RL,3,1); 经典D:=SMA(经典K,3,1); 经典J:=3*经典K-2*经典D; MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20)))/(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));MAHL2:=IF(EMA(C,2)>回归斜率线 A AND MAHL1>0,EMA(C,3),LLV(EMA((H+L)/2,5),30));{A}MAHL3:=IF(EMA(C,2)>回归斜率线 A AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A}回归斜率带:DRAWBAND(回归斜率线A,RGB(235,0,230),REF(回归斜率线A,2),RGB(0,104,154));上线:=SMA(C,6.5,1);一号支撑线:SMA(C,14.5,1);上线1:=SMA(C,3,1);一号支撑线1:=SMA(C,8,1);上线2:=SMA(C,3.5,1);DRAWTEXT(CROSS(一号支撑线1,上线1),H*1.08,'洗盘'),COLOR00FF00;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,25))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,55),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) AND CLOSE<上线 1 , HIGH*1.04,'减仓') ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),COLORBLUE,LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;DRAWTEXT( CROSS(上线1,上线) AND 上线1>操作,LOW *0.92,'买进' ),COLORYELLOW; V AR1:LLV(A7,21);V AR2:HHV(A7,30);DRAWTEXT( CROSS(上线1,操作) AND 上线1<一号支撑线AND 上线1<一号支撑线1 AND 上线1<上线AND CLOSE>V AR1,LOW *0.98,'见底' ),COLORYELLOW;YCX:=操作>=REF(操作,1);H1:=MAX(MAX(上线,一号支撑线1),一号支撑线);L1:=MIN(MIN(上线,一号支撑线1),一号支撑线);DRAWTEXT(CROSS(上线1,一号支撑线1) AND 上线1>操作,LOW *0.98,'全仓' ),COLORYELLOW;SK:=EMA((A7-V AR1)/(V AR2-V AR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);M1:=1000*操作/一号支撑线<=1015 AND 1000*操作/一号支撑线>=975;M2:=1000*一号支撑线1/一号支撑线<=1020 AND 一号支撑线1/一号支撑线>=980;M3:=1000*上线/一号支撑线<=1015 AND 上线/一号支撑线>=985;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),LOW*0.94,'买进') ,COLORYELLOW;D:=MA(CLOSE,89)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.88,'抄底'),COLORBROWN;RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;K:=SMA(RSV,3,1);D1:=SMA(K,3,1);J:=3*K-2*D1;V AR3:=(2*CLOSE+HIGH+LOW)/3;{可将3该为4,信号少点}V AR4:=EMA(EMA(EMA(V AR3,4),4),4);{可将3该为4,信号少点}E:=(V AR4-REF(VAR4,1))/REF(V AR4,1)*100;F:=MA(E,3)+0.03;G:=MA(E,1);DRAWICON(CROSS(F,G) AND J>65,HIGH*1.02,15),COLORGREEN;DRAWICON(CROSS(G,F),LOW *0.9,9),COLORYELLOW;DRAWTEXT(CLOSE>OPEN AND H1<C AND O<L1 AND YCX AND CROSS(上线1,操作) AND LOW>V AR1 AND 上线1>一号支撑线AND J<90,LOW *0.9,'主升' ),COLORRED; DRAWTEXT( CROSS(上线1,操作) AND M1 AND M2 AND M3,LOW *0.94,'买进' ),COLORYELLOW;DRAWTEXT(CLOSE>OPEN AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线AND CLOSE>MA(CLOSE,一号支撑线) AND 操作>=REF(CLOSE,操作) AND CROSS(上线1,操作) AND LOW>V AR1 AND J<90,LOW *0.9,'主升' ),COLORRED;DRAWTEXT(CLOSE>OPEN AND 操作>上线AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线AND CROSS(上线1,操作) AND LOW>V AR1 AND J<90,LOW *0.86,'回踩买进' ),COLORRED;DRAWTEXT(CLOSE>OPEN AND CROSS(上线,一号支撑线) AND LOW>V AR1 AND J<90,LOW *0.86,'回踩买进' ),COLORRED;STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORRED;STICKLINE(C<O AND C>REF(C,1),C,O,3,0),COLORFFCC00;STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,3,0 ),COLOR000055;{红K}; STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.7,0 ),COLOR000077;{红K};STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.1,0 ),COLOR000099; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;STICKLINE(CLOSE= REF(CLOSE,1) ,H,L,3,1 ),COLOR999999;STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORWHITE;STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.1,0), COLORFF66FF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,1.5,0),COLORFF99FF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.9,0),COLORFFBBFF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.3,0),COLORFFDDFF;SHOOTQ_1:=C-REF(C,1);Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);Q_3:=CROSS( EMA(C,19),EMA(C,7));Q_4:=CROSS(EMA(C,7),EMA(C,19));Z1:=L=LLV(L,BARSLAST(Q_3 )+1);Z2:=LLV(L,BARSLAST(Q_3)+1);Z3:=H=HHV(H,BARSLAST(Q_4)+1);Z4:=HHV(H,BAR SLAST(Q_4)+1);Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);Y1:=H=HHV(H,BARSLAST(Q_4)+1);Y2: =HHV(H,BARSLAST(Q_4)+1);Y3:=L=LLV(L,BARSLAST(Q_3)+1);Y4:=LLV(L,BARSLAST( Q_3)+1);Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);X1:=LLV(Q_2,2)=LLV(Q_2,7) ;X2:=COUNT(Q_ 2<0,2);X3:=CROSS(Q_2,MA(Q_2,2));X4:=REF(Q_B,1)<REF(Q_B,2);X5:=Q_A>REF(Q_B,1);买进:=(X1 AND X2 AND X3) AND X4 AND X5;TJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);SHOOT:REF(TJ,1)=0 AND TJ>=1;SZ18背离DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2;DRAWTEXT(CROSS(DIFF,DEA),DIFF,'☆'),COLORRED;{DRAWICON(CROSS(DIF,DEA),DIF*1.05,1);DRAWICON(CROSS(DEA,DIF),DEA*0.90,2);}月DIFF:="MACD.DIF#MONTH"COLOR0080FF;月DEA:="MACD.DEA#MONTH",COLOR0080FF,LINETHICK2;周DIFF:="MACD.DIF#WEEK"COLORRED;周DEA:="MACD.DEA#WEEK",COLORRED,LINETHICK2;日DIFF:="MACD.DIF",COLORWHITE;日DEA:="MACD.DEA",COLORWHITE,LINETHICK2;日金:IF(CROSS(日DIFF,日DEA),0.125,0),COLORYELLOW;周金:IF(CROSS(周DIFF,周DEA),0.15,0),COLORRED;月金:IF(CROSS(月DIFF,月DEA),0.175,0),COLORGREEN;DRAWICON(周金AND 日金,-0.1,7);DRAWICON(周金AND 月金,-0.15,11);DRAWICON(日金AND 月金,-0.1,1);日死:IF(CROSS(日DEA,日DIFF),-0.1,0),COLORYELLOW;周死:IF(CROSS(周DEA,周DIFF),-0.125,0),COLORRED;月死:IF(CROSS(月DEA,月DIFF),-0.15,0),COLORGREEN;DRAWICON(周死AND 日死,-0.1,8);DRAWICON(周死AND 月死,-0.15,12);DRAWICON(日死AND 月死,-0.15,2);低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1,NODRAW;STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;DRAWTEXT(低位金叉,0.16,' 低位金叉'),COLORWHITE;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1,NODRAW; STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;DRAWICON(二次金叉,DEA*0.9,1) ;DRAWTEXT(二次金叉,0.225,' 二次金叉'),COLORYELLOW;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),NODRAW;STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,NODRAW;DRAWTEXT(底背离,0.10,' 底背离'),COLORFF00FF;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF),NODRAW;顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;DRAWTEXT(低位金叉AND 二次金叉AND 底背离,0.275,'三全项'),COLOR0000FF,LINETHICK2;DRAWICON(CROSS(DIFF,DEA),DEA,1);DRAWICON(CROSS(DEA,DIFF),DEA,2);WW:=DEA>REF(DEA,1);DD:=CROSS(DIFF,REF(DIFF,1));反身向上:IF((WW AND DD),0.25,0),COLORWHITE;DRAWTEXT(反身向上,0.17,' 反身上'),COLORWHITE;AD:=LOW=LLV(LOW,14) AND LOW<REF(LOW,1) AND LOW<REF(LOW,5) AND MACD>REF(MACD,1) AND 0>MACD AND 0>REF(MACD,1);DRAWICON(AD,MACD,9);SZ17火焰山V AR1:=EMA(HHV(HIGH,500),21);V AR2:=EMA(HHV(HIGH,250),21);V AR3:=EMA(HHV(HIGH,90),21);V AR4:=EMA(LLV(LOW,500),21);V AR5:=EMA(LLV(LOW,250),21);V AR6:=EMA(LLV(LOW,90),21);V AR7:=EMA((V AR4*0.96+V AR5*0.96+V AR6*0.96+V AR1*0.558+V AR2*0.558+V AR3*0.558)/ 6,21);V AR8:=EMA((V AR4*1.25+V AR5*1.23+V AR6*1.2+V AR1*0.55+V AR2*0.55+V AR3*0.65)/6,21 );V AR9:=EMA((V AR4*1.3+V AR5*1.3+V AR6*1.3+V AR1*0.68+V AR2*0.68+V AR3*0.68)/6,21); V ARA:=EMA((V AR7*3+V AR8*2+V AR9)/6*1.738,21);V ARB:=REF(LOW,1);V ARC:=SMA(ABS(LOW-V ARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;V ARD:=EMA(IF(CLOSE*1.35<=V ARA,V ARC*10,V ARC/10),3);V ARE:=LLV(LOW,30);V ARF:=HHV(VARD,30);V AR10:=IF(MA(CLOSE,58),1,0);火焰山: EMA(IF(LOW<=V ARE,(V ARD+V ARF*2)/2,0),3)/618*V AR10;火焰: STICKLINE(火焰山>0,0,火焰山,4,1);今量: 火焰山;STICKLINE(火焰山>0,0,今量*1.2,8,0) COLOR0000FF;STICKLINE(火焰山>0,0,今量*0.8,8,0) COLOR0066FF;STICKLINE(火焰山>0,0,今量*0.6,8,0) COLOR0099FF;STICKLINE(火焰山>0,0,今量*0.4,8,0) COLOR00CCFF;STICKLINE(火焰山>0,0,今量*0.2,8,0) COLOR00FFFF;SZ16水池STICKLINE(C>0,90,95,10,0),COLOR408000;STICKLINE(C>0,10,5,10,0),COLOR408000;ZHENGYI:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);DRAWBAND(ZHENGYI,RGB(255,000,139),10,RGB(255,255,71));STICKLINE(C>0,90,10,10,0),COLOR000000;风险值:ZHENGYI,COLORCY AN,LINETHICK1;警示线:45,COLORMAGENTA,LINETHICK1,POINTDOT;SZ10综合预警V AR1:=EMA(HHV(HIGH,500),21);V AR2:=EMA(HHV(HIGH,250),21);V AR3:=EMA(HHV(HIGH,90),21);V AR4:=EMA(LLV(LOW,500),21);V AR5:=EMA(LLV(LOW,250),21);V AR6:=EMA(LLV(LOW,90),21);V AR7:=EMA((V AR4*0.96+V AR5*0.96+V AR6*0.96+V AR1*0.558+V AR2*0.558+V AR3*0.558)/ 6,21);V AR8:=EMA((V AR4*1.25+V AR5*1.23+V AR6*1.2+V AR1*0.55+V AR2*0.55+V AR3*0.65)/6,21 );V AR9:=EMA((V AR4*1.3+V AR5*1.3+V AR6*1.3+V AR1*0.68+V AR2*0.68+V AR3*0.68)/6,21);V ARA:=EMA((V AR7*3+V AR8*2+V AR9)/6*1.738,21);V ARB:=REF(LOW,1);V ARC:=SMA(ABS(LOW-V ARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;V ARD:=EMA(IF(CLOSE*1.35<=V ARA,V ARC*10,V ARC/10),3);V ARE:=LLV(LOW,30);V ARF:=HHV(VARD,30);V AR10:=IF(MA(CLOSE,58),1,0);EMA(IF(LOW<=VARE,(V ARD+V ARF*2)/2,0),3)/618*V AR10>0;SZ11笑脸M13:=MA(C,13);M250:=MA(C,250);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);M:=(DIF-DEA)*2;定位:=BARSLAST(REF(CROSS(DIF,DEA),1));前股价低值:=MIN(REF(L,定位+1),MIN(REF(L,定位+2),MIN(REF(L,定位+3),MIN(REF(L,定位+4),MIN(REF(L,定位+5),MIN(REF(L,定位+6),REF(L,定位+7)))))));DIF前低:=MIN(REF(DIF,定位+1),MIN(REF(DIF,定位+2),MIN(REF(DIF,定位+3),MIN(REF(DIF,定位+4),MIN(REF(DIF,定位+5),MIN(REF(DIF,定位+6),REF(DIF,定位+7)))))));今股价低值:=MIN(REF(L,1),MIN(REF(L,2),MIN(REF(L,3),MIN(REF(L,4),MIN(REF(L,5),MIN(REF(L, 6),REF(L,7)))))));DIF现低:=MIN(REF(DIF,1),MIN(REF(DIF,2),MIN(REF(DIF,3),MIN(REF(DIF,4),MIN(REF(DIF,5),M IN(REF(DIF,6),REF(DIF,7)))))));底部背离:=IF(CROSS(DIF,DEA) AND 今股价低值<前股价低值AND DIF现低>DIF前低,100,0);信号1:=IF(底部背离=100 OR REF(底部背离,1)=100 OR REF(底部背离,2)=100 OR REF(底部背离,3)=100 OR REF(底部背离,4)=100 OR REF(底部背离,5)=100OR REF(底部背离,6)=100 OR REF(底部背离,7)=100,100,0);ZG:=HHV(H,60);ZD:=LLV(L,60);ZJ:=IF(M13>REF(M13,1) AND REF(M13,1)<=REF(M13,2) AND REF(M13,2)<REF(M13,3),100,0);TJ:=IF(REF(L,1)=ZD AND ZG/ZD>1.3,100,0);DD:=IF(REF(TJ,1)=100 OR REF(TJ,2)=100 OR REF(TJ,3)=100 OR REF(TJ,4)=100 OR REF(TJ,5)=100OR REF(TJ,6)=100 OR REF(TJ,7)=100 OR REF(TJ,8)=100 OR REF(TJ,9)=100 OR REF(TJ,10)=100 ORREF(TJ,11)=100 OR REF(TJ,12)=100 OR REF(TJ,13)=100 OR REF(TJ,14)=100 OR REF(TJ,15)=100OR REF(TJ,16)=100 OR REF(TJ,17)=100 OR REF(TJ,18)=100 OR REF(TJ,19)=100 OR REF(TJ,20)=100,100,0);超跌:=IF(ZJ=100 AND DD=100 AND C>M13,100,0);入场:=IF(超跌=100 AND 信号1=100,100,0);XG:入场=100;SZ12跟庄A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);V AR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);V AR2:=EMA(VAR1,8);V AR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(V AR3,3)-10;STICKLINE(趋势>80,趋势,80,5,0);DRAWICON(CROSS(趋势,0),0,1);STICKLINE((A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50)),0,A09,6,0),COLORFFFF00;机构建仓区:0,LINETHICK0,COLORFFFF00;V AR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;STICKLINE(趋势<=13,0,20,3,0),COLORCC9900;DRAWTEXT(FILTER(趋势<=13,15),30,'准备现金'),COLORCC9900;STICKLINE(趋势<=13 AND V AR4>13,0,50,2,0),COLOR0099FF;V AR5:=FILTER((趋势<=13 AND V AR4>13),10);DRAWTEXT(V AR5,60,'买入'),COLOR0099FF;STICKLINE(趋势>=90 AND V AR4,0,30,3,0),COLORGRAY;V AR6:=FILTER((趋势>=90 AND V AR4),10);DRAWTEXT(V AR6,40,'清仓'),COLORGRAY;V AR7:=LLV(LOW,30);V AR8:=HHV(HIGH,30);V AR9:=EMA((CLOSE-V AR7)/(V AR8-V AR7)*4,4)*25;STICKLINE(V AR9>90,100,105,3,2),COLORRED;V AR10:=(V AR9-LLV(V AR9,4))/(HHV(V AR9,4)-LLV(V AR9,4))*100;DRAWTEXT(IF(CROSS(V AR9,V AR10) AND V AR9>87,95,0),88,'险'),COLOR00FF00; DRAWICON(CROSS(90,V AR9),95,9);V AR11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;V AR12:=HHV(V AR11,30)*8;火焰山:EMA(IF(LOW<=V AR7 AND 趋势<40,(V AR11+V AR12),0),3)/618,COLORRED,LINETHICK2;STICKLINE(火焰山>0,0 ,火焰山*1.2,4,0 ),COLORRED;V AR13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;V AR14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;趋势线: 趋势,COLORFF0000;V AR16:=MAX(EMA(V AR13,2)-EMA(V AR14,5),0)*200;V AR17:=EMA(V AR16,5);波浪峰:V AR17,STICK,COLORFF00FF;STICKLINE(V AR17<REF(V AR17,1),0,V AR17,1,0),COLOR00FF00;V AR18:=MA(趋势线,8);IF(CROSS(V AR2,V AR18) AND V AR2<15,50,0),COLORRED;DRAWTEXT(CROSS(趋势线,V AR2)AND 趋势线>REF(趋势线,1)AND 趋势线<50,50,'追涨'),COLORFF00FF;风险区:IF(趋势>80,趋势,80),COLORFF00FF;SZ13波浪PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强1:=BARSLAST(PL5<REF(PL5,1));走弱1:=BARSLAST(PL5>REF(PL5,1));走强2:=BARSLAST(PL10<REF(PL10,1));走弱2:=BARSLAST(PL10>REF(PL10,1));走强3:=BARSLAST(PL20<REF(PL20,1));走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;SZ14老鼠仓AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;SZ250HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);HDY<45;SZ20逃跑V1:=MA(C,5)=HHV(MA(C,5),20);V2:=MA(C,5)>MA(C,10);V3:=MA(V,5)>MA(V,40)*1.01;V4:=COUNT(MA(C,1)>REF(C,1),2)=2;收盘价逃顶:IF(V1 AND V2 AND V3 AND V4,50,0),LINETHICK2,COLORBLUE; DRAWTEXT(收盘价逃顶,80,'收盘价逃顶'),COLOR000999;SZ21总金额总亿:AMOUNT/100000000,COLORFF00FF,NODRAW;V AR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));流入亿:IF(CLOSE>OPEN,V AR1*(HIGH-LOW),IF(CLOSE<OPEN,V AR1*((HIGH-OPEN)+(CLOSE -LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;流出亿:IF(CLOSE>OPEN,0-V AR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-V AR1*( HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;额亿:流入亿+流出亿,COLORFFFF00,NODRAW;{线:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;}YUWEI:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;{量:(线),VOLSTICK;}分界:0;STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,4,0)COLOR0D0C6A; STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,3,0)COLOR0D06AA; STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,1.5,0)COLOR2108C1; STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,0.5,0)COLOR9F5DFF; STICKLINE(YUWEI>0 AND YUWEI<REF(YUWEI,1),0,YUWEI,4,0)COLOR22736F; STICKLINE(YUWEI>0 AND YUWEI<REF(YUWEI,1),0,YUWEI,3,0)COLOR22AAD5; STICKLINE(YUWEI>0 AND YUWEI<REF(YUWEI,1),0,YUWEI,1.5,0)COLOR10C7BF; STICKLINE(YUWEI>0 AND YUWEI<REF(YUWEI,1),0,YUWEI,0.5,0)COLOR80FFFF; STICKLINE(YUWEI<0 AND YUWEI<REF(YUWEI,1),0,YUWEI,4,0)COLOR1B7411; STICKLINE(YUWEI<0 AND YUWEI<REF(YUWEI,1),0,YUWEI,3,0)COLOR17A715; STICKLINE(YUWEI<0 AND YUWEI<REF(YUWEI,1),0,YUWEI,1.5,0)COLOR08D306; STICKLINE(YUWEI<0 AND YUWEI<REF(YUWEI,1),0,YUWEI,0.5,0)COLOR40FF00; STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,4,0)COLOR080E71; STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,3,0)COLOR0B0E8C; STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,1.52,0)COLOR0905B0; STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,0.5,0)COLOR0204F2; DRAWTEXT(CROSS(0,YUWEI),0,'空');DRAWTEXT(CROSS(YUWEI,0),0,'买');SZ钓鱼RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;K:=SMA(RSV,9,1);D:=SMA(K,3,1);趋势J1:=3*K-2*D,COLORRED;趋势J2:=EMA(K,3),LINETHICK1;BBIAS :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;反弹:= IF(CROSS(K,D) AND BBIAS<-6 AND D<16 AND CLOSE>REF(CLOSE,1),80,0),COLOR00FF00;DRAWICON(反弹=80,趋势J2-0.005,1);阶段底:=EMA(IF(L<= LLV(L,40),SMA(ABS(L-REF(L,1)),40,1)/SMA(MAX(L-REF(L,1),0),40,1),0),3)*10,STICK,CO LORRED,LINETHICK2;V1:=AMOUNT/VOL/100;V2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;V3:=SUM(AMOUNT,7)/V1/100;V4:=DMA(V2,VOL/V3);V5:=(CLOSE-V4)/V4*100;V6:=MA(V5,20)+STD(V5,20);BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;水面:=20;买入:=IF(趋势J1<30,趋势J1,DRAWNULL),COLORGREEN,LINETHICK5;买入2:=CROSS(买入,趋势J2);狮子钓鱼:IF(买入2>0.5,80,0)COLORRED;DRAWTEXT(买入2,80,'钓')COLORRED;DRAWTEXT(买入2,70,'鱼')COLORRED;STICKLINE(买入2,50,0,10,0);DY2NF:(C+REF(C,1)+REF(C,2)+H+REF(H,1)+REF(H,2)+L+REF(L,1)+REF(L,2)+O+ REF(O,1)+REF(O,2))/12,LINETHICK2,COLORLICYAN;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);保护价:(REF(CLOSE,2)+REF(CLOSE,1)+O)/3;N:=75;P:=5;P1:=10;A1:=REF(H,P)=HHV(H,2*P+1);B1:=FILTER(A1,P);C1:=BACKSET(B1,P+1);D1:=FILTER(C1,P);E1:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);F1:=E1>REF(E1,1);短压:DRAWLINE(D1,H,F1,H,1),COLORCY AN;A2:=REF(L,P)=LLV(L,2*P+1);B2:=FILTER(A2,P);C2:=BACKSET(B2,P+1);D2:=FILTER(C2,P);E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);F2:=E2>REF(E2,1);短支:DRAWLINE(D2,L,F2,L,1),COLORLIRED;AA1:=REF(H,P1)=HHV(H,2*P1+1);BB1:=FILTER(AA1,P1);CC1:=BACKSET(BB1,P1+1);DD1:=FILTER(CC1,P1);EE1:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);FF1:=EE1>REF(EE1,1);长压:DRAWLINE(DD1,H,FF1,H,1),COLORGREEN;AA2:=REF(L,P1)=LLV(L,2*P1+1);BB2:=FILTER(AA2,P1);CC2:=BACKSET(BB2,P1+1);。

财务报表分析与成本管理的核心指标公式大全

财务报表分析与成本管理的核心指标公式大全

财务报表分析与成本管理的核心指标公式大全财务报表分析1、流动比率=流动资产一流动负债2、速动比率=速动资产—流动负债保守速动比率=(现金+短期证券+应收票据+应收账款净额)一流动负债3、营业周期=存货周转天数+应收账款周转天数4、存货周转率(次数)=销售成本*平均存货其中:平均存货=(存货年初数+存货年末数)一2存货周转天数=360/存货周转率=(平均存货X 360)一销售成本5、应收账款周转率(次)=销售收入一平均应收账款其中:销售收入为扣除折扣与折让后的净额;应收账款是未扣除坏账准备的金额应收账款周转天数=360-应收账款周转率=(平均应收账款X 360)一销售收入净额6、流动资产周转率(次数)=销售收入一平均流动资产7、总资产周转率=销售收入一平均资产总额8、资产负债率=(负债总额*资产总额)X 100% (也称举债经营比率)9、产权比率=(负债总额一股东权益)X 100% (也称债务股权比率)10、有形净值债务率=[负债总额一(股东权益—无形资产净值)]X 100%11、已获利息倍数=息税前利润一利息费用长期债务与营运资金比率=长期负债一(流动资产-流动负债)12、销售净利率=(净利润一销售收入)X 100%13、销售毛利率=[(销售收入—销售成本)一销售收入]X 100%14、资产净利率=(净利润一平均资产总额)X 100%15、净资产收益率=净利润-平均净资产(或年末净资产)X 100% 或=销售净利率X资产周转率X权益乘数16、权益乘数=资产总额一所有者权益总额=1 一(1-资产负债率)=1 +产权比率17、平均发行在外普通股股数=刀(发行在外的普通股数X发行在外的月份数)一1218、每股收益=净利润一年末普通股份总数=(净利润-优先股利)一(年末股份总数—年末优先股数)19、市盈率(倍数)=普通股每市价一每股收益20、每股股利=股利总额一年末普通股股份总数21、股票获利率=普通股每股股利一普通股每股市价22、市净率=每股市价一每股净资产23、股利支付率=(每股股利*每股净收益)X 100% 股利保障倍数=股利支付率的倒数24、留存盈利比率=(净利润一全部股利)一净利润X 100%25、每股净资产=年末股东权益(扣除优先股)一年末普通股数(也称每股账面价值或每股权益)26、现金到期债务比=经营现金净流入一本期到期的债务(指本期到期的长期债务与本期应付票据)现金流动负债比=经营现金净流入一流动负债现金债务总额比=经营现金净流入一债务总额(计算公司最大的负债能力)27、销售现金比率=经营现金净流入一销售额每股营业现金净流量=经营现金净流入一普通股数全部资产现金回收率=经营现金净流入一全部资产X 100%28、现金满足投资比=近5年经营活动现金净流入一近5年资本支出、存货增加、现金股利之和现金股利保障倍数=每股营业现金净流入一每股现金股利29、净收益营运指数=经营净收益*净收益=(净收益-非经营收益)*净收益现金营运指数=经营现金净流量一经营所得现金(经营所得现金=经营活动净收益 +非付现费用)财务预测与计划30、外部融资额=(资产销售百分比-负债销售百分比)X新增销售额-销售净利率X计划销售额X(1—股利支付率)31、销售增长率=新增额一基期额或=(计划额一基期额)—132、新增销售额=销售增长率X基期销售额33、外部融资销售增长比=资产销售百分比—负债销售百分比—销售净利率X [ (1 +增长率)一增长率]X(1—股利支付率)34、可持续增长率=股东权益增长率=股东权益本期增加额一期初股东权益=销售净利率X总资产周转率X收益留存率X期初权益期末总资产乘数或=权益净利率X收益留存率一(1-权益净利率X收益留存率)财务评估(P—现值i —利率I —利息S —终值n—时间r —名义利率m —每年复利次数)35、复利终值复利现值36、普通年金终值:或37、年偿债基金:或A= S (A/S, i , n)(36与37系数互为倒数)38、普通年金现值:或P = A (P/A, i , n)39、投资回收额:或A = P (A/P, i , n)(38与39系数互为倒数)40、即付年金的终值:或S = A[ (S/A, i , n + 1)—1]41、即付年金的现值:或P = A[ (P/A, i , n —1)+ 1]42、递延年金现值:第一种方法:第二种方法:43、永续年金现值:44、名义利率与实际利率的换算:45、债券价值:分期付息,到期还本:P0利息年金现值+本金复利现值纯贴现债券价值PV=面值一(1 +必要报酬率)n (面值到期一次还本付息的按本利和支付) 平息债券PV= 1/M X( P/A, i/M , MX N)+本金(P/S, i/M , MX N)( M为年付息次数,N 为年数)永久债券46、债券到期收益率=或(V—股票价值P —市价g —增长率D —股利R —预期报酬率Rs —必要报酬率t —第几年股利)47、股票一般模式:零成长股票:固定成长:48、总报酬率=股利收益率+资本利得收益率或49、期望值:50、方差:标准差:变异系数=标准差*期望值51、证券组合的预期报酬率=艺(某种证券预期报酬率X该种证券在全部金额中的比重)即:m—证券种类Aj -某证券在投资总额中的比例;-j种与k种证券报酬率的协方差 -j种与k 种报酬率之间的预期相关系数Q-某种证券的标准差证券组合的标准差:52、总期望报酬率=QX风险组合期望报酬率+( 1—Q)X无风险利率总标准差=QX风险组合的标准差53、资本资产定价模型:①COV为协方差,其它同上②直线回归法③直接计算法54、证券市场线:个股要求收益率投资管理55、贴现指标:净现值=现金流入现值-现金流出现值现值指数=现金流入现值一现金流出现值内含报酬率:每年流量相等时用“年金法”,不等时用“逐步测试法”56、非贴现指标:回收期不等或分几年投入= n+n年未回收额/n + 1年现金流出量会计收益率=(年均净收益一原始投资额)X 100%57、投资人要求的收益率(资本成本)=债务比重X利率x(1—所得税)+所有者权益比重X权益成本58、固定平均年成本=(原值+运行成本-残值)/使用年限(不考虑时间价值)或=(原值+运行成本现值之和-残值现值)/年金现值系数(考虑时间价值)59、营业现金流量=营业收入-付现成本-所得税(根据定义)=税后净利润+折旧(根据年末营业成果)=(收入—付现成本)X (1—所得税率)+折旧X税率(根据所得税对收入和折旧的影响)60、调整现金流量法:(a—肯定当量)61、风险调整折现率法:投资者要求的收益率=无风险报酬率+0X(市场平均报酬率-无风险报酬率)(B—贝他系数)项目要求的收益率=无风险报酬率+项目的0X(市场平均报酬率-无风险报酬率)62、净现值=实体现金流量/实体加权平均成本-原始投资净现值=股东现金流量/股东要求的收益率-股东投资63、0权益=0资产X(1 +负债/权益)0资产=0权益一(1 +负债/权益)流动资金管理64、现金返回线H = 3R-2L (上限=3X现金返回线—2X下限)65、收益增加=销量增加X单位边际贡献66、应收账款应计利息=日销售额X平均收现期X变动成本率X资本成本平均余额=日销售额X平均收现期占用资金=平均余额X变动成本率67、折扣成本增加=(新销售水平X新折扣率—旧销售水平X旧折扣率)X享受折扣的顾客比例68、订货成本=订货固定成本+年需要量/每次进货量X订货变动成本取得成本=订货成本+购置成本储存成本=固定成本+单位变动成本X每次进货量/2存货总成本=取得成本+储存成本+缺货成本TC = TCa+ TCc+ TCs(K-每次订货成本D-总需量Kc -单位储存成本N -订货次数U-单价p -日送货量d —日耗用量)69、经济订货量总成本最佳订货次数经济订货量占用资金二最佳订货周期陆续进货的经济订货量总成本70、再订货点(R)=交货时间(L)x平均日需求量(d)+保险储备(B)R= L Xd + B( Ku-单位缺货成本;S -一次订货缺货量;N k年订货次数;Kc-单位存货成本)71、保险储备总成本=缺货成本+保险储备成本=单位缺货成本X缺货量X年订货次数+保险储备X单位存货成本即:TC( S、B)= Ku X s x N+ B X Kc筹资管理72、实际利率(短期借款)=名义利率/ (1—补偿性余额比率)或=利息/实际可用借款额73、可转换债券转换比例=债券面值一转换价格股利分配74、发放股票股利后的每股收益(市价)=发放前每股收益(市价)一(1+股票股利发放率)资本成本和资本结构通用模式:资本成本=资金占用费/筹资金额X (1-筹集费率)75、银行借款成本:(K1 —银行借款成本;I -年利息;L —筹资总额;T—所得税税率;R1-借款利率;F1-筹资费率)考虑时间价值的税前成本(K): (P—本金)税后成本(K1): (K1)= K X(1-T)76、债券成本:(Kb—债券成本;I -年利息;T—所得税率;Rb-债券利率;B—筹资额(按发行价格);Fb—筹资费率)考虑时间价值的税前成本(K):(P—面值)税后成本(Kb)(Kb)= K X(1—T)77、留存收益成本:第一种方法:股利增长模型:第二种方法:资本资产定价模型:第三种方法:风险溢价法:(Kb—债务成本;RPc —风险溢价)78、普通股成本:(式中:D1—第1年股利;P0—市价;g—年增长率)优先股成本=年股息率/ (1-筹资费率)79、筹资突破点=可用某一特定成本筹集到的资金额一该种资金在资本结构中所占的比重80、加权平均资金成本:(Kw为加权平均资金成本;Wj为第j种资金占总资金的比重;Kj为第j种资金的成本)81、筹资突破点=可用某一特定成本筹集到的某种资金额/该种资金所占比重82、(p —单价V —单位变动成本F —总固定成本S —销售额VC—总变动成本Q —销售量N -普通股数)经营杠杆:公式一:公式二:财务杠杆:或(D—优先股息;T —所得税率)总杠杆:DTL= DOI X DFL或83、(EPS-每股收益;SF —偿债基金;D—优先股息;VEPS-每股自由收益)每股收益无差别点:或:每股自由收益无差别点:当EBIT大于无差别点时,负债筹资有利;当EBIT小于无差别点时,普通股筹资有利。

财务指标计算公式(超全)

财务指标计算公式(超全)

财务指标计算公司公式-盈利能力分析1.销S净利率=(净利润十销S收入)x 100%该比率越大企业得盈利能力越强2、资产净利率=(净利润十总资产)x100% 该比率越大,企业得盈利能力越强3s权益净利率=(净利润W股东权益)X 100%该比率越大,企业得盈利能力越4、总资产报酬率=(利润总额+利息支出)/平均资产总额X100%该比率越大,企业得盈利能力越强5.营业利润率=愆业利润宁营业收入)x100% 该比率越大,企业得盈利能力越6.成本费用利润率=(利润总额-成本费用总额)x100% 该比率越大金业得经营效益越高二.盈利质量分析1.全部资产现金回收率=(经营活动现金净流量-平均资产总额)x100%与行业平均水平相比进行分析2、盈利现金比率=(经营现金净流量-净利润)x100%该比率越大,企业盈利质量越强,其值一般应大于13.销售收现比率=(销售商品或提供劳务收到得现金十主营业务收入净额)X 100%数值越大表明销售收现能力越强,销售质量越高三.偿债能力分析1.净运曹资本二流动资产■流动负债二长期资本-长期资产对比企业连续多期得值,进行比较分析2、流动比率=流动资产+流动负债与行业平均水平相比进行分析3、速动比率=速动资产-流动负债与行业平均水平相比进行分析4、现金比率=(货币资金+交易性金融资产H流动负债与行业平均水平相比逬行分析5、现金流量比率二经营活动现金流量一流动负债与行业平均水平相比逬行分析 &资产负债率=(总负债-总资产)x 100%该比值越低企业偿债越有保证贷款越安全人产权比率与权益乘数产权比率二总负债十股东权益,权益乘数二总资产-股东权益产权匕俸越彳氐企业偿债越有保证,贷款越安全8.利息保障倍数二恵税前利润-利恵费用=(净利润+利息费用+所得税费用H利息费用利患保障倍数越大,利息支付越有保障9、现金流量利患保障倍数二经营活动现金流量-利息费用现金流量利息保障倍数越大,利息支付越有保障10.经营现金流量债务比二(经营活动现金流量一债务总额)x100%比率越高, 偿还债务总额得能力越强四.营运能力分析:U应收账款周转率应收账款周转次数二销S收入-应收账款应收账款周转天数= 365 + (销售收入十应收账款)应收账款与收入比二应收账款-销售收入与行业平均水平相比逬行分析2、存货周转率存货周转次数二销售收入十存货存货周转天数=3 65-(销售收入-存货)存货与收入比二存货-销售收入与行业平均水平相比进彳亍分析3、流动资产周转率流动资产周转次数二销售收入-流动资产流动资产周转天数=365+(销售收入十流动资产)流动资产与收入比二流动资产-销S收入与行业平均水平相比进行分析4、净营运资本周转率净营运资本周转次数二销售收入十净营运资本净营运资本周转天数=36 5讯销售收入十净营运资本)净营运资本与收入比=净营运资本W销售收入与行业平均水平相比进行分析5、非流动资产周转率非流动资产周转次数二销售收入十非流动资产非流动资产周转天数=365-(销售收入十非流动资产)非流动资产与收入比=非流动资产W销售收入与行业平均水平相比进行分析6.总资产周转率总资产周转次数二销售收入-总资产总资产周转天数=365 +(销售收入-总资产)总资产与收入比二总资产-销售收入与行业平均水平相比逬行分析五-发展能力分析1.股东权益増长率=(本期股东权益増加额-股东权益期初余额)X100%对比企业连续多期得值,分析发展趋势2、资产增长率=(本期资产増加额一资产期初余额)X100%对比企业连续多期得值,分析发展趋势3、销售増长率=(本期营业收入増加额十上期营业收入)X 100%对比企业连续多期得值,分析发展趋势4、净利润增长率=(本期净利润增加额十上期净利润)X 100%对比企业连续多期得值,分析发展趋势5、营业利润增长率=(本期营业利润增加额■上期管业利润)X100%对比企业连续多期得值,分析发展趋势1、备付金比例=备付金余额m各项存款余额X 1 00%—法定存款准备金比例;(标准:不得低于3%)备付金包括:现金、业务周转金、缴存存款准备金、存农业银行款项、存放其她同业款项、存放联社款项。

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

指标公式大全款款经典建议珍藏
【指标】指标公式大全,款款经典(建议珍藏)!
三、指标源码:
1、连续三天高开高走的选股公式
count(o>ref(c,1) and c>o,3)=3;
2、连续3天每天的最低价都比前一天高
count(l>ref(c,1),3)=3;
3、周量缩小50%或40%或n%
a1:vol/capital*100;
xg:a1/ref(a1,1)
4、股价超过五日均价的15%以上,并给出卖出信号
卖出:c/ma(c,5)>1.15;
5、连收两个十字星的选股公式
count(abs((c-o)/o<0.01),2)=2;
6、收盘价连续8天都站在5日均线的股票。

count(c>ma(c,5),8)=8;
7、振幅大于5%,收盘价大于3.5小于15元,三日均线大于昨日的三日均线,去掉ST股。

a1:=h/l>1.05;
a2:=c>3.5 and c<15;
a3:=ma(c,3)>ref(ma(c,3),1);
xg:a1 and a2 and a3;
8、连续三日收阳后日收盘高于前日且每日收于当日最高价附近每日涨幅不大于4%
选股:count(c>o and c>ref(c,1) and abs((h-c)/c)<0.01 and c/ref(c,1)<1.04,3)=3;
9、昨日收阴,今日收阳,的K线组合。

C>O AND REF(C,1)
10、股价突破5ma买入,跌破5ma卖出。

买入和卖出用箭头表
示(副图)
a1:cross(c,ma(c,5));
a2:cross(ma(c,5),c);
drawtex t(a1,low*0.98,'↑'),colorred;
drawtext(a2,h*1.02,'↑'),color00ffff;
11、今天的250平均线大于昨天的昨天的250平均线
ma(c,250)>ref(ma(c,250),1);
12、均线中增加一根线,这根线的价格是5日线的1.2倍
aa:ma(c,5)*1.2;
13、20天均线向上的股
xg:ma(c,20)>ref(ma(c,20),1);
14、今天收盘价在昨天收盘价-2%~2%之间
c/ref(c,1)>0.98 and c/ref(c,1)<1.02;
15、收盘价在5日均线以上5天
count(c>ma(c,5),5)=5;
16、月k线十字星收盘并且5月线拐点向上。

XG:ABS(C-O)/O<0.02 AND MA(C,5)>REF(MA(C,5),1);
用月线选股
17、最近3天(包括昨天.前天)股价突破250日均线
COUNT(C>MA(C,250),3)=3;
18、跳高大阴线,条件: 1、开盘跳空4%以上2、大阴线实体6%以上。

O/REF(C,1)>1.04 AND C/REF(C,1)<0.94;
19、60与120均线距离在n%内
XG:ABS((MA(C,60)-MA(C,120))/MA(C,120))
20、5日均线倾角大于60度
X:(ATAN((MA(C,5)/REF(MA(C,5),1)-
1)*100)*180/3.14115926)>60;
也可以这样:
X:(ATAN((EMA(C,5)/REF(EMA(C,5),1)-
1)*100)*180/3.14115926)>60;
21、“中阴之后,跳拉阳”
c/ref(c,1)>1.05;
22、今天涨停的公式
C/REF(C,1)>1.09;
23、10日内有涨停的公式
今涨停:=C/REF(C,1)>1.09;
选股:count(今涨停,10);
24、昨日前日涨停的
REF(C,1)/REF(C,2)>1.095;
25、近5日K线最高价和最低价格波动在10%以内,成交量是昨日2倍,收盘涨5%
XG:(HHV(C,5)-LLV(C,5))/LLV(C,5)<0.1 AND V>REF(V,1)*2 AND
C/REF(C,1)>1.05;
26、60与120均线距离在n%内
XG:ABS((MA(C,60)-MA(C,120))/MA(C,120));
27、“中阴之后,跳拉阳”
c/ref(c,1)>1.05;
28、能在图上提示个股(不含S或ST股)出现过的涨跌停板日期的公式
w1:if((c-ref(c,1))/ref(c,1)>0.1,date-1000000,c);
29、5日,10日,30日贴近公式,越贴越好
m1:=ma(close,5);
m2:=ma(close,10);
m3:=ma(close,20);
m4:=ma(close,30);
y1:=max(max(max(m1,m2),m3),m4);
x1:=min(min(min(m1,m2),m3),m4);
黏合:y1/x1;
30、今天的换手率大于前天的一倍以上
w1:=v*100/capital;
w1>ref(w1,2)*2;
31、20日均线,上穿62日均线
xg:cross(ma(c,20),ma(c,62));
32、选出当日收盘价突破10日均线5%的个股
cross(c,ma(c,10)*1.05);
33、选出当日最低价在10日均线上下0.05%内,收盘价在均线上方的个股abs(l-ma(c,10))<0.005 and c>ma(c,10);
34、第一天股票涨停,第二天成交量是第一天成交量的1倍,并超过10%.那第三天就是买点
w1:=ref(c,2)/ref(c,3)>1.1;
w2:=ref(v,1)/ref(v,2)>2;
xg:w1 and w2;
35、放量2倍突破300日线的选股指标
cross(c,ma(c,300)) and v>ref(v,1)*2;
36、3日均线上穿10日均线,KDJ有效金叉
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
w1:=cross(ma(c,3),ma(c,10));
xg:w1 and cross(k,d);
37、30日均线拐头向上。

ma(c,30)>ref(ma(c,30),1);
38、连续3-5天,每天的收盘价涨跌幅不超过1%.
w1:abs(c-o)<0.01;
xg:count(w1,5)>=3;
39、K线收十字星
abs(c-o)/o<0.01;
40、MACD在8天以内两次金叉
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;
MACD:=2*(DIFF-DEA);
w1:cross(DIFF,dea);
xg:count(w1,8)>=2;
41、60MA由向下调头向上
ma(c,60)>ref(ma(c,60),1);
42、股价回调到14日均线的选股
abs(c-ma(c,14))/ma(c,14)<0.005;
43、历史第5根K线到第30根K线之间的最高价
hhv(ref(c,5),25);
44、MACD的拐点公式
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;
MACD:=2*(DIFF-DEA);
拐点:ref(macd,2)>ref(macd,1) and ref(macd,1);
45、跳空高开收阳线
LOW>REF(HIGH,1) and c>o;
46、涨停过300日线的选股公式;
c/ref(c,1)>1.09 and cross(c,ma(c,300));
47、成交量是前5天中其他任何一天的10天均量线的3.5倍以上w1:=llv(ma(v,10),5);
xg:v>w1*3.5;
48、跳空高开后,三天内没有回补缺口
ref(LOW,2)>REF(HIGH,3) and l>ref(LOW,2);
49、日涨幅小于3%
C>0 AND C/REF(C,1) >1.03;
50、股价创30个交易日的新高
H>ref(H,30);
51、5日均线倾角大于60度
X:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>60;。

相关文档
最新文档