软件名称:[B]大卫CCI#[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:19.0 KB
官方主页:Home Page
更新时间:2018-09-08 00:46:52
软件简介:
input:N(34,1,100),M(3,1,100);
VAR1bb:=IF((CLOSE > OPEN),((CLOSE - OPEN) * VOL),IF((CLOSE < OPEN),((CLOSE - OPEN) * VOL),0));
VAR2bb:=IF((CLOSE > REF(CLOSE,1)),((CLOSE - REF(CLOSE,1)) * VOL),IF((CLOSE < REF(CLOSE,1)),((CLOSE - REF(CLOSE,1)) * VOL),0));
VAR3bb:=IF((OPEN > REF(CLOSE,1)),((OPEN - REF(CLOSE,1)) * VOL),IF((OPEN < REF(CLOSE,1)),((OPEN - REF(CLOSE,1)) * VOL),0));
机构:
INTPART(SUM(((((VAR1bb + VAR2bb) + VAR3bb) / 3) / CAPITAL),5) * 1000),LINETHICK0,COLORCYAN;
SRSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
SK:=(SMA(SRSV,3,1));
SD:=(SMA(SK,3,1));
SKK:=INTPART(SMA(SRSV,3,1));
SDD:=INTPART(SMA(SK,3,1));趋势:SKK+SDD,LINETHICK2,COLORff00ff;
CHECK1:=1-2;
VAR1m:=IF((CHECK1 < 0),(((HIGH + LOW) + CLOSE))/(3),0);
VAR2m:=IF((CHECK1 < 0),((VAR1m - MA(VAR1m,14)))/((0.015)*(AVEDEV(VAR1m,14))),0);
VAR3m:=IF((CHECK1 < 0),((VAR1m - MA(VAR1m,70)))/((0.015)*(AVEDEV(VAR1m,70))),0);
VAR4m:=IF((CHECK1 < 0),IF(((((VAR2m >= 150) and (VAR2m < 200)) and (VAR3m >= 150)) and (VAR3m < 200)),10,0),0);
VAR5m:=IF((CHECK1 < 0),IF(((((VAR2m <= (0 - 150)) and (VAR2m > (0 - 200))) and (VAR3m <= (0 - 150))) and (VAR3m > (0 - 200))),(0 - 10),VAR4m),0);
VAR6m:=IF((CHECK1 < 0),(((CLOSE - MA(CLOSE,13)))/(MA(CLOSE,13)))*(100),0);
VAR7m:=IF((CHECK1 < 0),(100 - ABS(VAR6m)),0);
VAR8m:=IF((CHECK1 < 0),IF((VAR7m < 90),VAR7m,100),0);
PJX:=IF((CHECK1 < 0),(MA(((100)*((CLOSE - LLV(CLOSE,34))))/((HHV(HIGH,34) - LLV(LOW,34))),5) - 20),0);
短期强弱:PJX,colorYellow;
个股资金指数:EMA(((100 * (CLOSE - LLV(LOW,N))) / (HHV(HIGH,N) - LLV(LOW,N))),M);
partline(个股资金指数,个股资金指数>=ref(个股资金指数,1),rgb(255,0,0),个股资金指数<ref(个股资金指数,1),rgb(0,250,0)),linethick3;
TYP:=(HIGH+LOW+CLOSE)/3;{www.70822.com}
CCIm:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORRED,LINETHICK0;
cci高度关注:if(ref(ccim,1)<-99 and ccim >-98,1,0),colorwhite;
drawtext(cci高度关注,L*1.97,'买*入'),align1,Colorcceedd;
stickline(cci高度关注,20,40,6,1),linethick3,colorwhite;
cci逃逸:if(ref(ccim,1)>99 and ccim <98 and 个股资金指数 >45,1,0),colorgreen;
stickline(cci逃逸,80,95,6,0),linethick3,colorgreen;
弱势1:=if(ccim<-100,ccim/5+20,20);
弱势2:=if(ccim<-50 and ccim >-101,ccim/5+20,20);
stickline(弱势2,20,弱势2,1,0),linethick1,coloryellow;
买入1:if(ref(cci高度关注,1)=1 and ccim>-50,1,0);
买入2:if(ref(cci高度关注,2)=1 and ccim>-50 and ref(ccim,1)>-50,1,0);
买入3:if(ref(cci高度关注,3)=1 and ccim>-50 and ref(ccim,1)>-50,1,0);
买入4:if(ref(cci高度关注,4)=1 and ccim>-50 and ref(ccim,1)>-50 and ref(ccim,2)>-50,1,0);
stickline(买入1,20,60,3,0),linethick1,colorred;
stickline(买入2,20,65,3,0),linethick1,colorred;
stickline(买入3,20,70,3,0),linethick1,colorred;
stickline(买入4,20,75,3,0),linethick1,colorred;
买入选股:if(买入1 or 买入2 or 买入3 or 买入4,1,0);
drawtext(买入选股,20,'选3'),align1,Colorred;
CCIa:="CCI"(14);
选股:=CROSS(ccia,-220--400) and ccia>ref(ccia,1);
drawtext(选股,0-1,'选2'),align1,Colorcceedd;
YPb:= (HIGH + LOW + CLOSE)/3;
CIb:=(YPb-MA(YPb,14))/(0.015*AVEDEV(YPb,14));
CI1b:=MA(CIb,2);
CI2b:=MA(CIb,3);
C1b:=REF(CIb,5)-REF(CIb,1)>60;
S3b:=REF(CI1b,5)-CI1b>30 AND CI1b>REF(CI1b,1);
drawtext(S3b,0+8,'选1'),align1,Colorcceedd;
吸筹:=barslast(FILTER(CROSS("KD.K","KD.D") and "KD.D"<30,13));
主力吸筹区:=if(吸筹>0 and 吸筹<61,吸筹,0);
DRAWTEXTREL(10,15,STKLABEL+' '+STKNAME),LINETHICK2,Color00FF05;
DRAWTEXTREL(120,20,' 主力 建仓天数:'+NUMTOSTRN(主力吸筹区,0)+'天'),Color00FF05,LINETHICK2;
AAF:=LLV(LOW,34);
BBF:=MA(AAF,4);
TYPw := (HIGH + LOW + CLOSE)/3;
CCI1:=(TYP-MA(TYPw,6))/(0.015*AVEDEV(TYPw,5));
差值1:=ABS(REF(CCI1,1)-CCI1);
CCI2:=(TYPw-MA(TYP,10))/(0.015*AVEDEV(TYPw,10));
差值2:=ABS(REF(CCI2,1)-CCI2);
CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
差值3:=ABS(REF(CCI3,1)-CCI3);
CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
差值4:=ABS(REF(CCI4,1)-CCI4);
CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
差值5:=ABS(REF(CCI5,1)-CCI5);
CCIw:=CCI1+CCI2+CCI3+CCI4+CCI5;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)
+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
下跌:=IF(VAR1=VAR6,VAR6, 0);
TJ1:= CCI1>差值4;
立桩量:=FILTER(TJ1,0){,NODRAW};
TJ2:=IF(BARSLAST(立桩量)=1 ,1,0);
{STICKLINE(立桩量 <>1,REF(HIGH,BARSLAST(立桩量)),
REF(HIGH,BARSLAST(立桩量)),1,1),COLORCYAN;}
成立1:=TJ2=1;
条件成立1:=FILTER(成立1,5);
DRAWTEXT(条件成立1, REF(HIGH,BARSLAST(立桩量)),'看跌'),align1,COLORBLUE;
TJ11:= cci1<-差值4 ;
立桩量2:=TJ11;
TJ22:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(HIGH,1),1,
IF(BARSLAST(立桩量2)=2 AND CLOSE>REF(HIGH,2),1,
IF(BARSLAST(立桩量2)=3 AND CLOSE>REF(HIGH,3),1,0)));
成立2:=TJ22=1;
条件成立2:=FILTER(成立2,5);
DRAWTEXT(条件成立2,67,'看涨'),align1,COLORred;
TJ111:=ABS(CCI1)>CCIw AND ABS( 差值1)> ABS(差值5);
立桩量3:=FILTER(TJ111,3);
TJ3:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(LOW,3),1,0)));
成立:=TJ3=1;
条件成立:=FILTER(成立,5);
DRAWTEXT(条件成立 AND 下跌<> VAR6,77,'成☆立'),align1,colorred;
TJ222:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(HIGH,3),1,0)));
STICKLINE(CLOSE AND 下跌<>VAR6,REF(HIGH,BARSLAST(立桩量3)),REF(HIGH,BARSLAST(立桩量3)),20,0),COLORCYAN;
成立4:= TJ222=1;
条件成立4:FILTER(成立4,5),LINETHICK0,COLORYELLOW;
DRAWTEXT(条件成立4 AND 下跌=0,87,'立☆1'),align1,COLORwhite;
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),
EMA8,'∠45'),align1,COLORred;
DRAWICON(CROSS(个股资金指数,50),个股资金指数,10);
DRAWICON(CROSS(50,个股资金指数),个股资金指数,11);
市场资金指数:EMA(((100 * (INDEXC - LLV(INDEXL,N))) / (HHV(INDEXH,N) - LLV(INDEXL,N))),M),c
[url=http://www.70822.com/soft/sort013/sort03/down-126904.html]大卫CCI#[/url]
[url=http://www.70822.com/soft/sort013/sort03/down-126904.html]大卫CCI#[/url]