VOLUME:VOL/100000,LINETHICK0,VOLSTICK;
MAVOL5:MA(VOLUME,A1);MAVOL15:MA(VOLUME,A2);
MAVOL40:MA(VOLUME,A3);
三连阴:LAST(C<O,3,0);
三缩量:LAST(VOL<REF(VOL,1),3,0);
选股1:=REF(三连阴,1)>0 AND REF(三缩量,1)>0 AND O<C;
DRAWTEXT(选股1,4.85,'▲←一三买入法'),COLORRED;
选股2:=CROSS("DMI.PDI","DMI.MDI") AND CROSS("DMI.PDI","DMI.ADX") AND CROSS("DMI.PDI","DMI.ADXR") AND C>REF(C,1)*1.05 AND VOL>REF(VOL,1);
DRAWTEXT(选股2,4.75,'▲←DMI捕捉爆涨'),COLORRED;
TR1:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);
PDI:=DMP*100/TR;
MDI:=DMM*100/TR;
ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=EXPMEMA(ADX,M);
选股3:=(CROSS(PDI, MDI)AND CROSS(PDI, ADX)AND CROSS(PDI, ADXR))AND CLOSE>OPEN
AND C/REF(C,1)>0.5 AND VOL>MA(VOL,5)*1.5,COLORRED,LINETHICK3;
DRAWTEXT(选股3,4.65,'▲←DMI穿一阳三线'),COLORRED;
选股4:=LAST(MA(C,5)<MA(C,10),5,0) AND "CCI.CCI">REF("CCI.CCI",1) AND CROSS("CCI.CCI",-100);
DRAWTEXT(选股4,5.55,'▲←CCI抄底'),LINETHICK3,COLORRED;
选股5:=LAST(MA(C,5)<MA(C,10),5,0) AND "CCI.CCI">REF("CCI.CCI",1) AND CROSS("CCI.CCI",-100)
AND MA(C,60)>REF( MA(C,60),1);
DRAWTEXT(选股5,5.45,'▲←CCI背离限制'),COLORRED;
选股6:=LAST((H-L)/REF(C,1)<0.1,5,0) AND VOL>REF(VOL,1)*2 AND C>REF(C,1)*1.05;
DRAWTEXT(选股6,5.35,'▲←抓评台起飞'),COLORRED;
选股7:=LAST(MA(C,5)<MA(C,10),5,0) AND C>REF(C,1)*1.098;
DRAWTEXT(选股7,5.45,'▲←山谷停板抄大底'),COLORRED;
A0:=(C-REF(C,1))/REF(C,1)*100;
A1:=REF(A0,1);
A2:=REF(A1,1);
A3:=REF(A2,1);
A4:=REF(A3,1);
B0:=CLOSE>=HIGH;
选股8:=A4<0 AND A3<0 AND A2<0 AND A1<-4 AND B0 AND A0>=5;
DRAWTEXT(选股8,5.35,'▲←拨云见日'),COLORRED;
P1:=5;
P2:=11;
BIAS1:=(CLOSE-MA(CLOSE,P1))/MA(CLOSE,P1)*100;
BIAS2:=(CLOSE-MA(CLOSE,P2))/MA(CLOSE,P2)*100;
选股9:=CROSS(BIAS1,BIAS2) AND BIAS1>REF(BIAS1,1) AND MA(C,40)>REF(MA(C,40),1);
DRAWTEXT(选股9,5.25,'▲←BIAS买点'),COLORRED;
选股10:=C<O AND VOL>REF(VOL,1)*1.5 AND LAST(VOL<REF(VOL,1),5,1);
DRAWTEXT(选股10,5.15,'▲←南天抄底'),COLORRED;
A:=C>O AND V>REF(V,1)*2.5 AND CROSS(C,MA(C,5));
B:=C>O AND V>REF(V,1)*10;
选股11:=A;
DRAWTEXT(选股11,4.95,'▲←顶天抄底'),COLORRED;
选股12:=B;
DRAWTEXT(选股12,4.95,'▲←顶天抄底'),COLORRED;
选股:=三连阴 OR 三缩量 OR 选股1 OR 选股2 OR 选股3 OR 选股4 OR 选股5 OR 选股6 OR 选股7 OR 选股8 OR 选股9 OR 选股10 OR 选股11 OR 选股12;
选股; ;
VAR11:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VAR11),4,2);
VAR12:=REF(C,1);
VAR13:=SMA(MAX(C-VAR12,0),6,1)/SMA(ABS(C-VAR12),6,1)*100;
DRAWTEXT(CROSS(84,VAR13),5,'S'),COLORGREEN ;
VAR2:=1;
VAR3:=REF(HIGH,1)*1.1;
VAR4:=HIGH*1.1;
VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;
VAR6:=REF(LOW,1)*0.9;
VAR7:=LOW*0.9;
VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;
VAR9:=EMA(VAR8,30);
VARA:=EMA(VAR5,30);
VARB:=VARA-2;
VARC:=IF(CLOSE<=VAR9,VARB,VARA);
VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;
买点: STICKLINE(VARC-VARB=0 AND VAR2 AND CROSS((EMA(EMA(EMA(CLOSE,N1),N1),N1)
-REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1))/REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1)*100,
MA((EMA(EMA(EMA(CLOSE,N1),N1),N1)-REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1))/
REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1)*100,M1)),3,0,2,0),COLORRED;
写字: DRAWTEXT(FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,N1),N1),N1)
-REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1))/REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1)*100,
MA((EMA(EMA(EMA(CLOSE,N1),N1),N1)-REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1))/REF
(EMA(EMA(EMA(CLOSE,N1),N1),N1),1)*100,M1)),4),3,'B'),COLORRED;
VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
卖出线:=SMA(SMA(VARE,3,1),3,1);
买入线:=3*SMA(VARE,3,1)-2*卖出线;
DRAWICON(CROSS(90,买入线),4,2);
VAR4A:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR5A:=SMA(VAR4A,13,8);
VAR8A:=EMA(C,5);
VAR9A:=MA((LLV(C,9))*1.1,14);
VAR10A:=2*VAR9A-VAR8A-C*0.1;
VAR11A:=IF(((VAR8A-VAR10A)*5>0),(POW((VAR8A-VAR10A)*5,2))/10,(-1*(POW((VAR8A-VAR10A)*
(5),2)))/(10));
VAR12A:=IF((VAR11A>0),VAR11A-0,12);
VAR13A:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
趋势:=CEILING(SMA(VAR5A,13,8)),LINETHICK2,COLOR0000FF;
STICKLINE(FILTER(CROSS(趋势,VAR12A)AND 趋势>REF(C,1) OR 趋势>REF(趋势,1)AND 趋势<35
AND C>REF(C,1),5),0,5,1,0),COLORMAGENTA;
DRAWTEXT(FILTER(CROSS(趋势,VAR12A)AND 趋势>REF(C,1) OR 趋势>REF(趋势,1)AND
趋势<35
AND C>REF(C,1),5),5,'B'),COLORRED;
空:=EMA(C,5);
均衡:=EMA(空,5);
中轨:=HHV(MA(H,13),13);
追涨买入:IF(FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11),3,0),COLORWHITE;
DRAWTEXT(FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11),3,'追涨'),COLORWHITE;
主筹估算:=EMA(WINNER(C)*70,3);
散筹估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);
筹码突破见高卖:CROSS(主筹估算,散筹估算),COLORGREEN;
STICKLINE(CROSS(主筹估算,散筹估算),0,3,0.5,0),COLORGREEN;
DRAWTEXT(CROSS(主筹估算,散筹估算),3,'S'),COLORGREEN;
DRAWTEXT(CROSS(主筹估算,散筹估算),3,' /T+0'),COLORRED;
|