底部必杀通达信指标公式源码

合集下载

霸气精准追底通达信指标公式源码

霸气精准追底通达信指标公式源码

霸气精准追底通达信指标公式源码通达信是一款常用的股票分析软件,拥有丰富的技术指标库。

以下是霸气精准追底指标的通达信源码,共计超过1200字:```java/**///计算底部信号double calcBottomSignal(DataArray data, int n)int len = data.length(;double bottomSignal = 0;for (int i = n; i < len; i++)double diffSum = 0;for (int j = 0; j < n; j++)diffSum += data.get(i - j) - data.get(i - j - 1);}if (diffSum <= 0)bottomSignal += 1;}}return bottomSignal / (len - n);//计算霸气指标double calcDomineering(DataArray data, int n)int len = data.length(;double domineering = 0;for (int i = n; i < len; i++)double riseRatio = (data.get(i) - data.get(i - n)) / data.get(i - n);if (riseRatio > 0)domineering += 1;}}return domineering / (len - n);//计算精准指标double calcAccuracy(DataArray data, int n)int len = data.length(;double accuracy = 0;for (int i = n; i < len; i++)double avgRiseRatio = 0;for (int j = 0; j < n; j++)avgRiseRatio += (data.get(i - j) - data.get(i - j - 1)) / data.get(i - j - 1);}avgRiseRatio /= n;if (avgRiseRatio > 0)accuracy += 1;}}return accuracy / (len - n);//主函数void mai//获取收盘价数据DataArray closePrice = GetClosePrice(;//计算底部信号double bottomSignal = calcBottomSignal(closePrice, 20);Print("底部信号:", bottomSignal);//计算霸气指标double domineering = calcDomineering(closePrice, 20);Print("霸气指标:", domineering);//计算精准指标double accuracy = calcAccuracy(closePrice, 20);Print("精准指标:", accuracy);```该源码实现了霸气精准追底指标的计算,基于通达信平台的数据数组类 DataArray。

通达信最强抄底幅图公式源码 一个看资金进场,洗盘,拉高,出货的指标,合并了一些趋势和选股指标

通达信最强抄底幅图公式源码 一个看资金进场,洗盘,拉高,出货的指标,合并了一些趋势和选股指标

通达信最强抄底幅图公式源码一个看资金进场,洗盘,拉高,出货的指标,合并了一些趋势和选股指标公式源码:趋势线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORRED;强弱线:30,COLORWHITE;逃顶线:90,COLORWHITE;JBS:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));介必升:=FILTER(JBS,28)*100;VAR1A:=IF((C/REF(C,1)>1.05 AND H/C<1.01 and="" c="">REF(C,1)),91,0);VAR2A:=FILTER((VAR1A>90),45) AND FILTER((VAR1A>90),35) AND 介必升>0;老介抄底:=VAR2A AND COUNT(VAR2A,60)=1;STICKLINE(老介抄底 ,75,66,1,0),COLORRED;STICKLINE(老介抄底 ,66,57,2,0),COLORMAGENTA;STICKLINE(老介抄底 ,57,48,3,0),COLORGREEN;STICKLINE(老介抄底 ,48,39,4,0),COLORBLUE;STICKLINE(老介抄底 ,30,21,6,0),COLORBROWN;STICKLINE(老介抄底 ,39,30,5,0),COLORCYAN;STICKLINE(老介抄底 ,21,12,7,0),COLORYELLOW;STICKLINE(老介抄底 ,12,3,8,0),COLORWHITE;DRAWTEXT(老介抄底,90,'' 抄底''),COLORFFFFFF;DRAWICON(老介抄底,80,13);{DRAWGBK(CLOSE>0,STRIP(RGB(0,150,130),RGB(0,0,0),0));} VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<>Z:0,COLORBLACK;主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;洗盘:IF(VAR5<>STICKLINE(VAR5<>STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;STICKLINE(VAR5<>STICKLINE(VAR5<>STICKLINE(VAR5<>STICKLINE(VAR5<>STICKLINE(VAR5<>STICKLINE(VAR5<>VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);VAR31:=EMA(VAR21,10);VAR41:=HHV(HIGH,33);VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);主力拉高:IF(VAR51<>STICKLINE(VAR51<>出货:IF(VAR51>REF(VAR51,1),VAR51,0),COLORCYAN,NODRAW;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORCYAN;SS:=MA(C,60)>REF(MA(C,60),1);N:=10;A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF( A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*RE F(A,17)+2*REF(A,18)+REF(A,20))/211;D2:=EMA(D1,2);D3:=EMA(D2,2);K1:=EMA(D3,2);哥要起涨:IF(CROSS(D1,K1),30,0),COLORFFCC66;。

通达信指标—20个最牛抄底公式及2个组合公式源码,喜欢可复制

通达信指标—20个最牛抄底公式及2个组合公式源码,喜欢可复制

通达信指标—20个最牛抄底公式及2个组合公式源码,喜欢可复制1、金牛起步{金牛起步副图}VAR1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);VAR2:=CLOSE/REF(CLOSE,1)>1.028;VAR3:= MA(CLOSE,10)>CLOSE*1.05;VAR4:=MA(CLOSE,10)<CLOSE*1.1;VAR5:=MA(CLOSE,60)>CLOSE*1.28;XG:VAR1 AND VAR2 AND VAR3 AND VAR4 AND VAR5,COLORYELLOW;DRAWTEXT(XG,0.7,'金牛起步'),COLORYELLOW;指标说明:1、上涨没有放大量,当日成交量还低于5日平均成交量,且成交量5均线小于成交量55的8折,(var1,,是不是想找阶段地量?)2、当天上涨大于2.8%以上,可能表示有主力行为;(var2)3、股价还低于10均线,但距离不远,有一个中到大阳线就可以站上;(var3,var4)4、超跌有反弹,股价远低于60均线;(VAR5)5、MACD值大于 -0.6;(var6)其中MACD值这个条件值得商榷,可能是想表示离0轴不远吧。

实际上,macd值的单位是元,百元股和十元股的MACD值变化范围有很大区别,直接用有点不合适。

2、海底活鱼{海底活鱼副图}BIAS0:=(C-MA(C,2))/MA(C,2)*100;HXL:=V/CAPITAL*100;D1:=INDEXC;D2:=MA(D1,13);DR2:=D2>1.050*D1;E1:=(C-HHV(C,12))/HHV(C,12)*10;E2:=(C-REF(C,26))/REF(C,26)*10;E3:=MA(C,3);SJ1:=DR2;SJ2:=E2<-2.30;SJ3:=BIAS0<-2.7;SJ5:=SJ1 AND SJ2 AND SJ3;SJ6:=CROSS(0.5,SJ5);JS1:=CROSS(SJ6,0.5);JS2:=BARSLAST(JS1=1);JS3:=JS2<=5 AND C<REF(C,JS2);PMDY:=SJ6 OR JS3;VAR1:=CLOSE/MA(CLOSE,20)*100<80;VAR2:=CLOSE/MA(CLOSE,40)*100<78;VAR3:=CLOSE/MA(CLOSE,60)*100<72;VAR4:=HIGH>LOW*1.051;VAR5:=VAR4 AND COUNT(VAR4,5)>1;XG:PMDY AND VAR5 AND (VAR1 OR VAR2 OR VAR3);3、钻石底{钻石底}VBR:=C<REF(C,4);NT0:=BARSLASTCOUNT(VBR);TJ21:=NT0=6 ;底6:=COUNT(NT0=6,5)=1;VBR1:=DMA(CLOSE,VOL/SUM(VOL,34));VBR2:=DMA(CLOSE, VOL/SUM(VOL,13));VBR3:=(CLOSE-VBR1)/VBR1*100;VBR4:=(CLOSE-VBR2)/VBR2*100;Y1:=VBR4<=-17 AND VBR3<=-25;去除ST:=IF(NAMELIKE('ST') OR NAMELIKE('*ST'),0,1);去除停牌:=DYNAINFO(4)>0;去除:=去除ST AND 去除停牌;Q1:=底6 AND Y1 AND 去除;超卖区:=MA((CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 ,2);Q2:=超卖区<-20 ;钻石底XG:Q1 AND Q2 AND O!=C AND C>REF(C,1)*0.91 AND C<REF(C,1)AND INDEXC<REF(INDEXC,1) AND REF(C>REF(C,1),1);。

精准抄底大黑马通达信指标公式源码

精准抄底大黑马通达信指标公式源码

精准抄底大黑马通达信指标公式源码在通达信软件中,精准抄底大黑马指标源码如下:```python#快线指标计算公式def fast_line(close_prices, n):high_prices = rolling_max(close_prices, n)low_prices = rolling_min(close_prices, n)fast_line = (close_prices - low_prices) / (high_prices - low_prices) * 100return fast_line#慢线指标计算公式def slow_line(fast_line, m):slow_line = moving_average(fast_line, m)return slow_line#大黑马指标计算公式def dahema(close_prices, n, m):fast = fast_line(close_prices, n)slow = slow_line(fast, m)dahema = (fast - slow) * 2return dahema#主函数:以收盘价为例进行计算def main(:close_prices = [100, 105, 98, 102, 110, 115, 120, 118, 110, 105]n=5#计算快线指标的周期m=3#计算慢线指标的周期result = dahema(close_prices, n, m)print(result)#运行主函数if __name__ == "__main__":main```以上代码中,包含了计算精准抄底大黑马指标的各个公式。

1. `fast_line`: 通过计算最高价的n周期内最大值和最低价的n周期内最小值,计算快线指标的数值。

2. `slow_line`: 通过对快线指标进行移动平均线的计算,得到慢线指标的数值。

通达信指标公式源码极品底副图指标

通达信指标公式源码极品底副图指标

VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100; VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);VAR5:=LLV(LOW,34);VAR6:=HHV(VAR4,34);VAR7:=IF(LLV(LOW,55),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=EMA(CLOSE,5);VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1); VAR12:=EMA(CLOSE,5)*(-1);STICKLINE(VAR8>REF(VAR8,1),0,VAR8,2,0),,COLORYELLOW,LINETHICK2; STICKLINE(VAR11>REF(VAR11,1),0,VAR11,2,0),COLORFFF810;界:0,COLORFFFFFF,LINETHICK1;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2); STICKLINE(XL3,0,VAR8*3,3,0),COLORRED;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*27,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;散户:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*1 00,4);庄家:= EMA(0.667*REF(散户,1)+0.333*散户,2);DRAWTEXT(CROSS(散户,庄家) AND 散户<30,5,'进'),COLORRED;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,7,'●'),COLORRED; DRAWTEXT(CROSS(庄家,散户) AND 散户>70,18,'出'),COLOR00FF00; DRAWTEXT(CROSS(庄家,散户) AND 散户>70,21,'●'),COLOR00FF00;极品底:IF((MA(C,5)-C)/C>0.04 AND(MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK2,COLORFF00FF; DRAWICON(极品底=23,23,1),LINETHICK2,COLORFFFFFF;QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10; QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100); QVAR1C:=SMA(QVAR1B,13,8);QVAR1D:=SMA(QVAR1A,21,8);机会来临:=SMA(QVAR1C,13,8),COLORRED;。

通达信公式指标源码软件珍藏超底部(无未来!)

通达信公式指标源码软件珍藏超底部(无未来!)

通达信公式指标源码软件珍藏超底部(无未来!)A1:=DATE <= 1070615;A2:=(100 * (CLOSE - (MA(CLOSE,30)))) / (MA(CLOSE,30));A3:=100 - ((90 * ((HHV(HIGH,20)) - CLOSE)) / ((HHV(HIGH,20)) - (LLV(LOW,20))));A4:=100 - (MA(((100 * ((HHV(HIGH,6)) - CLOSE)) / ((HHV(HIGH,6)) -(LLV(LOW,6)))),28));A5:=MA(A4,6);红持股:IF((A3 <A5),A5,A3),COLORRED;绿持币:IF((A3 >A5),A5,A3),COLORGREEN;强弱:(A5),LINETHICK1,COLORYELLOW;A6:=(3 * (SMA((((CLOSE - (LLV(LOW,27))) / ((HHV(HIGH,27)) - (LLV(LOW,27)))) *100),5,1))) - (2 * (SMA((SMA((((CLOSE - (LLV(LOW,27))) / ((HHV(HIGH,27)) -(LLV(LOW,27)))) * 100),5,1)),3,1)));A7:=(10);百万测底:((CROSS(A6,A7)) * 75) *A1,LINETHICK2,COLOR0000FF;A8:=(REF(CLOSE,1)) / CLOSE;A9:=MIN((MA(((AMOUNT / VOL) / 100),15)),(EMA(((AMOUNT / VOL) / 100),15)));A10:=((1 - ((SMA(((LOW * A8) - (A8 / 10)),6,1)) / (EMA(((AMOUNT / VOL) /100),15)))) * 100) - (100 / 10);A14:=EMA(CLOSE,8);A15:=EMA(A14,20);A16:=CROSS(A14,A15);A17:=A14 < (EMA(CLOSE,120));大波黑马起步:((A16 AND A17) * 75) *A1,LINETHICK2,COLORYELLOW;A18:=SUM((IF((CLOSE > (REF(CLOSE,1))),VOL,(IF((CLOSE < (REF(CLOSE,1))),(0- VOL),0)))),0);A23:=((SUM(AMOUNT,13)) / ((AMOUNT / VOL) / 100)) / 100;A24:=DMA((((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7),(VOL / A23));A25:=(((CLOSE - A24) / A24) * 100) < -15;A26:=((CLOSE - (MIN(((REF(CLOSE,5)) * 0.865),((REF(CLOSE,21)) * 0.772)))) /CLOSE) < 0.05;A27:=REF(LOW,1);A28:=((SMA(ABS((LOW - A27)),3,1)) / (SMA((MAX((LOW - A27),0)),3,1))) * 100;A29:=EMA((IF((CLOSE * 1.2),(A28 * 10),(A28 / 10))),3);A30:=LLV(LOW,38);A31:=HHV(A29,38);A32:=IF((LLV(LOW,90)),1,0);A33:=((EMA((IF((LOW <= A30),((A29 + (A31 * 2)) / 2),0)),3)) / 618) * A32;(STICKLINE(A33,0,A33,6,1)) ,COLORBLUE;底部不买你后悔:(IF((A25 ANDA26),60,0)) * A1;LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);R:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW -REF(CLOSE,1)))),10);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);PDI:=((DMP * 100) / R);MDI:=((DMM * 100) / R);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);0,COLORFF00FF;WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));NEWVOL:=(RSI5 - WR10);阶段底部:=(AV + NEWVOL);STICKLINE((阶段底部 >= 0),0,阶段底部,1,0),COLORCC6600;STICKLINE((阶段底部 < 0),0,阶段底部,4,0),COLORRED;趋势线:LLV(阶段底部,1),COLORFFFFFF;STICKLINE((趋势线 >230 ),250,趋势线,4,0),COLORGREEN;230,COLORFFFFFF;风险提示:本指标公式仅作为知识分享,不构成任何投资建议,投资有风险,交易需谨慎。

底部吸筹超强抓买点指标通达信指标公式源码

底部吸筹超强抓买点指标通达信指标公式源码

底部吸筹的副图指标公式,清楚的找到合适的底部买点。

VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=IF(VAR8>100,100,VAR8);STICKLINE(VAR9>-150,0,VAR9,0.1,0), COLORFF00FF;吸筹指标:(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLOR00FF00;STICKLINE(CROSS(吸筹指标,-24),100,0,1,0), COLORFFFFFF;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, COLORFF00FF;放量拉升:IF(CROSS(吸筹指标,-24),1,0), COLORFFFFFF;获利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,60,0,1,0),COLOR0000FF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:SMA(VARK3,3,1), COLORRED,LINETHICK2;波段鬼:SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORFF6666,LINETHICK2;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:SMA(RSV9,3,1);DK1:K1-REF(K1,1),COLORSTICK;出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0), STICK,COLORYELLOW;DRAWICON(出手就赢>0,50 ,1);STICKLINE( CROSS(趋势线,10),0,73,3,0), COLOR3366FF;DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'底'),COLORWHITE ;DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'钱'),COLOR33FFCC;DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,50,'买'),COLORRED ;DRAWTEXT(CROSS(吸筹指标,-24),80,'底'),COLORWHITE ;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=((3 * K) - (2 * D));AA10:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VARB:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARC:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARD:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARE:=(((VARB + (2 * VARC)) + (3 * VARD)) / 6);VARF:=MA(VARE,3);STICKLINE((CROSS(J,0) AND (VARF <= (0 - 7))),0,88,2,0),COLORBLUE;DRAWICON((CROSS(J,0) AND (VARF <= (0 - 7))),88,9);VARO2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;VARO3:=SMA(SMA(VARO2,3,1),3,1);VARO4:=EMA(VARO3,5);VARO5:=LLV(LOW,26);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;STICKLINE(CROSS(VARO4,10) AND VARO4>10,25,0,1,0),COLORYELLOW;建仓区: IF((VARO7<10),0,20),LINETHICK3 ,COLORRED;。

判明底部通达信指标公式源码

判明底部通达信指标公式源码

判明底部通达信指标公式源码
指标名称:顺势指标(CCI)
股票指标公式:
CCI:=(CLOSE-MA(CLOSE,N))/(0.015*AVEDEV(CLOSE,N));
M1:SMA(ABS(CLOSE-REF(CLOSE,1)),N,1);
M2:SMA(ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,N,1);
M:=M1>M2*1.5;
A1:=SUM(M,N);
A2:=SUM(M,N-1);
RSI:A1/A2*100;
COUNT1:=COUNT(M,N);
COUNT2:=COUNT(M,N-1);
SUMCOUNT:=SUM(COUNT2,N);
CCI:=IF(COUNT2=0,100,RSI/SUMCOUNT*100);
通达信公式描述:
CCI指标,又称顺势指标,由朱令品博士创立,研究的对象是价格与成本之间的关系,以及价格在市场中的状况。

CCI指标是根据过去数据的波动范围,结合价格的涨跌,以及价格偏离均线的距离来衡量股票价格是否过于低迷或过于激进的量化指标。

当CCI指标超过+100时,表明股价
在市场上属于超买区;当CCI指标低于-100时,表明该股处于超卖区。

此外,CCI指标还能及时发现价格的趋势转折,发出买卖信号。

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

刚学会组合公式时,用这指标,带客户一周抓了三个涨停,都是涨停前进的,涨停了,出了,再进,再涨停
进了没涨停的,也收获很多
不是原创,在哪发现的也忘记了
加入了很多我的想法在里边
{底部必杀}
月K:"KDJ.K"(89,3,3),COLOR00FF00,NODRAW;
月D:"KDJ.D"(89,3,3),COLOR00FF00;
周K:"KDJ.K"(27,3,3),COLORRED,NODRAW;
周D:"KDJ.D"(27,3,3),COLORRED;
日K:"KD.K"(5,3,3),COLORWHITE,NODRAW;
日D:"KD.D"(5,3,3),COLORWHITE,LINETHICK2,NODRAW;
差值:周D-月D,NODRAW;
DRAWICON(CROSS(周D,月D),月D*0.98,1);
DRAWICON(CROSS(月D,周D),月D*0.98,2);
周D涨:=周D>REF(周D,1);
DRAWICON(周D涨,周D*0.98,1);
周D跌:=周D<REF(周D,1);
DRAWICON(周D跌,周D*0.98,2);
月D涨:=月D>REF(月D,1);
DRAWICON(月D涨,月D*0.98,1);
月D跌:=月D<REF(月D,1);
DRAWICON(月D跌,月D*0.98,2);
50,;
30,;
80,;
BL:=(周D涨AND 月D跌) OR (周D跌AND 月D涨);
背离:IF(BL,50,0),COLORRED;
TX:周D涨AND 月D涨AND REF(周D跌,1) AND REF(月D跌,1) AND REF(周D跌,2) AND REF(月D跌,2) AND REF(周D跌,3) AND REF(月D跌,3);
同向:IF(TX,50,0),COLORYELLOW;。

相关文档
最新文档