作者说这个指标值8888元 无未来副图指标

2015-11-15 22:08:00来源:本站整理浏览:488

作者说这个指标值8888元 无未来副图指标

源码

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
 DEA:=EMA(DIFF,9);
 MACD:=2*(DIFF-DEA);
 A:=IF(CROSS(0,DEA),1,0);
 A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);
 SS:=IF(A,SUM(A1,0),0);
 SSB:=HHV(SS,0);
 SSS:=SUM(A1,0);
 W底选股:IF(SSS-SSB=2 AND SSS>REF(SSS,1),-22,0),LINETHICK2,COLORFFFF00;
 IF(SSS-SSB=2 AND SSS>REF(SSS,1),-12,0),LINETHICK2,COLORFFFF00;
 DRAWTEXT(A1,-10,"W底"),COLORYELLOW;
 N:=20;{www.gpxiazai.com}
 MID:=MA(C,N);
 VART1:=POW((C-MID),2);
 VART2:=MA(VART1,N);
 VART3:=SQRT(VART2);
 UPPER:=MID+2*VART3;
 LOWER:=MID-2*VART3;
 BOLL:=REF(MID,1);
 UB:=REF(UPPER,1);
 LB:=REF(LOWER,1);
 LOWER1:=MID-VART3;
 LB1:=REF(LOWER1,1);
股价线:(C-LB1)/(UB-LB)*100,COLORGREEN, LINETHICK1;
趋势线:MA(股价线,6),COLORRED, LINETHICK3;
 90,COLORGREEN, LINETHICK1;
 50,COLORWHITE, LINETHICK1;
 0,COLORWHITE, LINETHICK1;
 VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
准备建仓:EMA(IF(L<= LLV(L,30),VARC,0),3),COLORFF00FF,LINETHICK2;
 VARO5:=LLV(LOW,27);
 VARO6:=HHV(HIGH,34);
 VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),80,100) ,COLORFFFF00,LINETHICK3;
 IF((VARO7<10),85,100) ,COLORBLACK,LINETHICK2;

下单: IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),38,0),STICK ,COLORYELLOW, LINETHICK4;
 DRAWTEXT(下单,40,"下单"),COLORGREEN;
 BIAS1:=(C-MA(C,6))/MA(C,6)*100;
 BIAS2:=(C-MA(C,12))/MA(C,12)*100;
 BIAS3:=(C-MA(C,24))/MA(C,24)*100;
 BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离1:=MA(BIAS,3);
低买:IF(CROSS(BIAS,乖离1) AND 乖离1<-9,28,0),COLORRED,LINETHICK2;
 IF(CROSS(BIAS,乖离1) AND 乖离1<-9,18,0),COLORRED,LINETHICK2;
 STICKLINE(CROSS(BIAS,乖离1) AND 乖离1<-9,-12,0,8,0),COLORYELLOW;
 DRAWTEXT(低买,33,"低买"),COLORRED;
 TTR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
 HD:=(HIGH - REF(HIGH,1));
 LD:=(REF(LOW,1) - LOW);
 DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );
 DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷线:=(((DMP ) * 100) /TTR);
辅助线:=((DMM * 100) /TTR);
动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
 ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);
 VAR3:=MA(CLOSE,2);
 VAR7:=REF(VAR3,1);
【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);
准备:(IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),68,0)),LINETHICK1,COLORFF00FF;
 (IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),48,0)),LINETHICK1,COLORFF00FF;
 DRAWTEXT(准备,60,"准备"),COLORFF00FF;
 TYP := (HIGH + LOW + CLOSE)/3;
 CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*500-250;
 K:=SMA(RSV,3,1);
 LC := REF(CLOSE,1);
 RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*500-250;
 X:CROSS(CCI,-100) AND K<-100 ;
 X改成:CROSS(CCI,-100) AND K<-100 AND CROSS(RSI1,-90);
 MA2:=EMA(C,2);MA5:=EMA(C,5);
 MA13:=EMA(C,13);
 MA34:=EMA(C,34);
 MA55:=EMA(C,55);
 YCX:=MA5>=REF(MA5,1);
 H1:=MAX(MAX(MA5,MA13),MA34);
 L1:=MIN(MIN(MA5,MA13),MA34);
一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);
满仓选股:IF(一阳穿三线,88,0),COLORFFFF00,LINETHICK2;
 IF(一阳穿三线,58,0),COLORFFFF00,LINETHICK2;
 DRAWTEXT(一阳穿三线,88,"满仓"),COLORYELLOW;
 VAR2:=0.0001*AMOUNT,;
 MA1:=0.0001*MA(AMOUNT,5);
 M2:=0.0001*MA(AMOUNT,10);
百日地量:(VAR2,100)=VAR2,STICK,COLORRED,LINETHICK0;
 DRAWTEXT(百日地量,-12,"地量"),COLORRED;
 VAR1:=(CLOSE*2+HIGH+LOW)/4;
 SK:= EMA(VAR1,13)-EMA(VAR1,73);
 SD:= EMA(SK,2);
买点选股:(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03)
 OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05
 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));
 IF(买点选股,28,0),COLORYELLOW,LINETHICK2;
 IF(买点选股,18,0),COLORYELLOW,LINETHICK2;
 DRAWTEXT(买点选股,28,"买点"),COLORYELLOW;
 AA05:=MA(C,5);
五日乖离率:=(C-AA05)/AA05*100;
 BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3);
 AA10:=MA(C,10);AA20:=MA(C,20);
 BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;

[1] [2]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式