测底线
这是一个非常不错的探测底部的好指标,在正常情况下庄家线到了500以下值就是通常的底部来临,而如果散户线也同时进入到500以下,如果同时出现红色的底部提示,则说明跌无可跌了,只要是大盘安全,个股基本面没有发生大的变故,就是一次绝好的抄底机会。不管是大盘还是个股,在月线、周线和日线上全部适用!本指标使用期到2012年3月30日,到期要升级!
AA:=112033099999;
KPXX:=MA(EMA(WINNER(C),3),40)*20,COLORGRAY,LINETHICK3;
控盘线:IF(DATE
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR4:=(VAR3-LLV(VAR1,9))/(HHV(VAR2,9)-LLV(VAR1,9));
VAR5:=SMA(VAR4,3,1);
【阳】:=SMA(VAR5,3,1),COLORRED,LINETHICK2;
Y1:=SMA(【阳】,3,1);
VAR6:=(HHV(VAR2,9)-VAR3)/(HHV(VAR2,9)-LLV(VAR1,9));
【阴】:=SMA(VAR6,3,1),COLORYELLOW,LINETHICK2;
Y2:=SMA(【阴】,3,1);
VAR7:=REF(VAR3,1);
VAR8:=SMA(MAX(VAR3-VAR7,0),13,1)/SMA(ABS(VAR3-VAR7),13,1);
VARB:=MA(INDEXC,3)*100/MA(INDEXC,10)-100;
VARC:=MA(CLOSE,3)*100/MA(CLOSE,10)-100;
VARD:=CLOSE*100/MA(CLOSE,10)-100;
VARE:=IF(VARB>10,10,VARB);
VARF:=IF(VARE<-10,-10,VARE);
VAR10:=IF(VARC>10,10,VARC);
VAR11:=IF(VAR10<-10,-10,VAR10);
VAR12:=REF(VARB,1);
VAR13:=100*(VAR3-REF(VAR3,1))/REF(VAR3,1);
VAR14:=INDEXC;
VAR15:=REF(VAR14,1);
VAR16:=100*(VAR14-VAR15)/VAR14;
VAR17:=MA(VAR13,3);
VAR18:=MA(VAR16,3);
VAR19:=(3*CLOSE+VAR1+OPEN+HIGH)/6;
VAR1A:=(20*VAR19+19*REF(VAR19,1)+18*REF(VAR19,2)
+17*REF(VAR19,3)+16*REF(VAR19,4)+15*REF(VAR19,5)+14*REF(VAR19,6)
+13*REF(VAR19,7)+12*REF(VAR19,8)+11*REF(VAR19,9)+10*REF(VAR19,10)
+9*REF(VAR19,11)+8*REF(VAR19,12)+7*REF(VAR19,13)+6*REF(VAR19,14)
+5*REF(VAR19,15)+4*REF(VAR19,16)+3*REF(VAR19,17)+2*REF(VAR19,18)
+REF(VAR19,20))/210;
VAR1B:=MA(VAR1A,12);
VAR1C:=EMA(VAR1A,5);
VAR1D:=ABS(VAR1A-VAR1B);
VAR1E:=REF(VAR3,1)*0.015;
VAR1F:=REF(INDEXC,1);
VAR24:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)
VAR25:=ZIG(3,10)REF(ZIG(3,10),2);
VAR26:=MA(CLOSE,26);
VAR27:=VAR26+2*STD(VAR3,26);
VAR28:=VAR26-2*STD(VAR3,26);
VAR29:=VAR26+2*STD(REF(VAR3,1),26);
VAR2A:=VAR26-2*STD(REF(VAR3,1),26);
VAR2B:=IF(VAR24 AND VAR1
VAR2D:=IF(VAR2C=1,80,45);
VAR2E:=IF(VAR2C=2,0,VAR2D);
VAR2F:=VAR2E;
DD1:=EMA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)),5,1)
-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)),5,1),3,1),5)*20;
D1:=IF(DATE<=AA,DD1,0);
DD2:=REF(D1,1);
D2:=IF(DATE<=AA,DD2,0);
STICKLINE(D1>=REF(D1,1),D1,D2,5,0),COLOR886600;
STICKLINE(D1
STICKLINE(D1>=REF(D1,1),D1,D2,1,0),COLOR5500DD;
STICKLINE(D1
QL:=SMA(MAX(VAR3-VAR7,0),5,1)/SMA(ABS(VAR3-VAR7),5,1);
ZJCWL:=MA(WINNER(CLOSE*0.95),8),COLORGREEN,LINETHICK2;
总仓位量:=IF(DATE<=AA,ZJCWL,0),COLORLIBLUE,LINETHICK2;
ZJZJC:=(ZJCWL-REF(ZJCWL,13)) COLORBROWN,LINETHICK2;
庄家增减仓:=IF(DATE<=AA,ZJZJC,0) COLORBROWN,LINETHICK2;
EDCR:=C>MA(C,20);
K4:=CROSS(庄家增减仓,总仓位量);
GKP:=COUNT(庄家增减仓>REF(庄家增减仓,1),1)=1{连续两天能量潮放大};
SFX:=EMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)),7){散户线小于1900};
ZJX:=EMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)),2){庄家线小于2000};
慢速线:=IF(DATE<=AA,SFX,0),COLORGREEN;
快速线:=IF(DATE<=AA,ZJX,0),COLORMAGENTA;
DRAWTEXT(ISLASTBAR=1 AND 快速线<0.18,0.1,'底'),COLORGREEN,LINETHICK2;
DRAWTEXT(ISLASTBAR=1 AND 慢速线<0.2,0.1,'大底'),COLORRED,LINETHICK2;
CN1:=HHV(V,5);{5日最高量}
CN2:=O>C;
CN02:=C>O;
CN03:=C=O;
CN04:=((SUM(V,5)/CN1));
CN05:=IF(CN04>0.3,1,0);{大资金}
CN06:=IF(CN2 AND CN05,V,0);{大资金流出}
CN07:=IF(CN02 AND CN05,V,0);{大资金流入}
LJLL:=SUM(CN07,10);
累积流入:=MA(LJLL,9)/50000000 ;
LJLC:=SUM(CN06,10);
累积流出:=MA(LJLC,9)/50000000;
LTBA:=CAPITAL *100;{流通盘}
LTBB:=LTBA>400000000;{流通盘大于4亿}
ZJLR:=(累积流入-累积流出);
SDFTR:=ZJLR*12;
SDFTRD:=ZJLR*64;
仓线:=IF(LTBB,SDFTR,SDFTRD)*20,COLORLIBLUE;
总仓线:IF(DATE<=AA,仓线,0),COLORLIBLUE;
ZJZJCX :=((ZJCWL+ZJZJC+ZJLR)/3)*20;
庄家增减仓线:IF(DATE<=AA,ZJZJCX,0)COLORRED ;
增减仓:=ZJZJCX>REF(ZJZJCX,3);
RI:=(INDEXC/REF(INDEXC,1))-1;
SI:=(CLOSE/REF(CLOSE,1))-1;
CI:=REF(CLOSE,1)*(1+RI);
GAIN:=CLOSE-(CI);
ROUTE:=ABS(CI-REF(CLOSE,1))+ABS(CLOSE-(CI));
FH:=IF((SI)>0,1,0-1);
ZM:=IF((ABS(RI)<0.008) AND (ABS(SI)<0.008) AND (ABS(RI-SI)<0.015),0.35*FH*VOL,0.5*GAIN/ROUTE*VOL);
ZMF:=SUM(ZM,0);
AA1:=((EMA(ZMF,30)-EMA(ZMF,40))/30000)/2{能量潮} ;
GKPP:=COUNT(AA1>REF(AA1,1),2)>=2{连续两天能量潮放大};
GKPH:=COUNT(AA1
VART1:=EMA(EMA(CLOSE,9),9);
KP:=(VART1-REF(VART1,1))/REF(VART1,1);
控盘:=IF(DATE<=AA,KP,0);
VARS:=控盘线>REF(控盘线,5);
EDHCR:=C>MA(C,10){收盘价大于20天平均价};
RFVT:=总仓位量>REF(总仓位量,3);
庄家仓位量:=IF(DATE<=AA,ZJCWL,0);
RFVT2:=庄家仓位量>REF(庄家仓位量,3);
ZC:=CROSS(控盘,0)AND EDHCR AND RFVT2 AND GKP AND 庄家仓位量>0.02
AND GKPP AND VARS {能量潮和控盘条件}AND 增减仓;
RPR:=IF(DATE<=AA,ZC,0);
短线追涨:IF(DATE<=AA,ZC,0)*2,COLORYELLOW,LINETHICK2;
DRAWTEXT(RPR,2,'短线追涨'),COLORYELLOW;