低位金叉
MA5:=MA(CLOSE,5),COLORYELLOW;
MA10:=MA(CLOSE,10);
VOL5:=MA(VOL,5);
VOL10:=MA(VOL,10);
條件1:=CROSS(MA5,MA10);
條件2:=CROSS(VOL5,VOL10);
條件3:=CROSS("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9));
TIAOJIAN1:=COUNT(條件1,10)>0;
TIAOJIAN2:=COUNT(條件2,10)>0;
TIAOJIAN3:=COUNT(條件3,10)>0;
買入:=TIAOJIAN1 AND TIAOJIAN2 AND TIAOJIAN3;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
買入 AND CROSS(DIFF,DEA) AND DIFF<-0.1;
大資金
VA1:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VA2:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VA3:=VA1<REF(VA2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
VA3 AND COUNT(VA3,30)=1;
買點(diǎn)選股3
n1 2 1000 5
n2 2 1000 10
n3 2 1000 20
n4 2 1000 60
m1 2 20 3
m2 2 20 4
VAR2:=EMA((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);
VAR3:=MA((V-REF(V,1))/REF(V,1),5);
VAR4:=(C-MA(C,24))/MA(C,24)*100;
VAR5:=VAR4*(1+VAR3);
VAR6:=REF(VOL,1);
VAR7:=SMA(MAX(VOL-VAR6,0),6,1)/SMA(ABS(VOL-VAR6),6,1)*100;
VAR8:=VAR5>REF(VAR5,1) AND VAR2<REF(VAR2,1) AND VAR7>REF(VAR7,1);
VAR9:=VAR5<REF(VAR5,1) AND VAR2>REF(VAR2,1) AND VAR7>REF(VAR7,1);
VAR10:=VAR5>REF(VAR5,1) AND VAR2<REF(VAR2,1) AND VAR7<REF(VAR7,1);
VAR11:=VAR5<REF(VAR5,1) AND VAR2>REF(VAR2,1) AND VAR7<REF(VAR7,1);
VAR12:=VAR5>REF(VAR5,1);
VAR13:=VAR5<REF(VAR5,1);
VAR14:=VAR2<REF(VAR2,1);
VAR15:=VAR2>REF(VAR2,1);
VAR16:=VAR8 OR VAR10;
VAR17:=VAR9 OR VAR11;
VAR18:=VAR13 AND VAR14;
VAR19:=VAR16 OR VAR18;
VAR20:=VAR12 AND VAR15;
VAR21:=VAR17 OR VAR20;
LAST(VAR19,N1,1) AND VAR20;
突破選股
VAR1:=HHV(HIGH,25);
VAR2:=LLV(LOW,25);
阻力線:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20);
操作線:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
CROSS(操作線,阻力線) AND 阻力線<30;
低進(jìn)選股1
AHC2:=(HIGH - LOW);
AHC3:=ABS((OPEN - CLOSE));
AHC4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
AHC5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
AHC6:=((AHC3 / AHC2) * VOL);
AHC7:=((AHC4 / AHC2) * VOL);
AHC8:=((AHC5 / AHC2) * VOL);
AHC9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));
AHCA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);
AHCB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));
AHCC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));
AHC8>AHC6 AND AHC8>AHC7 AND AHCA<(0 - 2) AND CLOSE<MA(CLOSE,30) AND AHC8<MA(VOL,5)/2 AND MA(VOL,5)<MA(VOL,10);
準(zhǔn)備現(xiàn)金
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趨勢線:=EMA(V11,3);
V12:=(趨勢線-REF(趨勢線,1))/REF(趨勢線,1)*100;
AA:=(趨勢線<=13) AND FILTER((趨勢線<=13),15);
BB:=(趨勢線<=13 AND V12>13) AND FILTER((趨勢線<=13 AND V12>13),10) ;
XG:AA OR BB;
注意控制
VAR1:=2*MA(LLV((C+L)/2,8)*1.1,13)-EMA((C+L)/2,3)-((C+L)/2)*0.1;
VAR2:=IF((EMA((C+L)/2,3)-VAR1)*5>0,POW((EMA((C+L)/2,3)-VAR1)*5,2)/10,-1*POW((EMA((C+L)/2,3)-VAR1)*5,2)/10);
VAR3:=IF(VAR2>0,VAR2-0,0);
XG:(VAR3>0 AND REF(VAR3,1)=0 AND (C+L)/2>MA((C+L)/2,8));
買跌選股
DTPL:=MA(C,14)>MA(C,14*1.5) AND MA(C,14*1.5)>MA(C,14*3) AND MA(C,3)>MA(C,14*6);
AA:=COUNT(C>MA(C,14),14/2)=14/2;
ZQSJ:=BARSLAST(AA);
BB:=CROSS(MA(C,14),C);
GL:=MA(C,14/2)/MA(C,14*2)>=1.05;
XG:(BB AND ZQSJ<=3 AND DTPL AND GL)*14;
快槍選股
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
快槍:EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10>N/100;
洗盤結(jié)束
VL:=REF(LOW,1); VH:=REF(H,1);
VAR2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;
VAR4:=MA(VAR2,13);
VAR5:=LLV(L,34);
VAR8:=EMA(IF(L<=VAR5,VAR4,0),3);
VAR10:=(SMA(SMA((((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54))) * 100),7,1),5,1));
VAR11:=((SMA(((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54)) * 100),7,1)) * 16.18) - (VAR10 * 10.9);
洗盤結(jié)束:FILTER(IF(VAR11<=VAR10 AND VAR8>REF(VAR8,1),VAR8*8,0),20);
散戶買點(diǎn)
VAR3:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-10;
VAR4:=SMA(100*(C-LLV(L,55))/(HHV(H,55)-LLV(L,55)),13,1)-10;
VAR5:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*50;
CROSS(VAR3,VAR4)AND VAR4<20 OR LONGCROSS(VAR5,0,10);
順勢搭轎
順勢搭轎:(C-MA(C,48))/MA(C,48)*100<-28 AND SMA(MAX(C-REF(C,1),0),12,1)/SMA(ABS(C-REF(C,1)),12,1)*100>23 AND VOL>MA(VOL,18) AND COUNT(C=O,6)=0;
市場贏家
VAR41:=CLOSE/MA(CLOSE,30)*100<75;
VAR42:=CLOSE/MA(CLOSE,50)*100<78;
VAR43:=HIGH>LOW*1.053;
VAR44:=VAR43 AND COUNT(VAR43,5)>2;
VAR45:=VAR44 AND (VAR41 OR VAR42);
VAR46:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL);
VAR47:=(CLOSE-VAR46)/VAR46*100;
市場贏家:REF(VAR47,1)<-34 AND VAR47>REF(VAR47,1) AND REF(VAR47,1)<REF(VAR47,2) AND VAR47-REF(VAR47,1)>1.76 OR VAR45,COLORMAGENTA;
市場贏家1
VAR14:=H>L*1.053 AND COUNT(H>L*1.053,5)>2 AND (C/MA(C,30)*100<75 OR C/MA(C,50)*100<78);
VAR15:=DMA(EMA(C,5),SUM(V,8)/2.8/CAPITAL);
市場贏家:REF((C-VAR15)/VAR15*100,1)<-34 AND (C-VAR15)/VAR15*100>REF((C-VAR15)/VAR15*100,1) AND REF((C-VAR15)/VAR15*100,1)<REF((C-VAR15)/VAR15*100,2) AND (C-VAR15)/VAR15*100-REF((C-VAR15)/VAR15*100,1)>1.76 OR VAR14;
一年12倍
陡峭度:=IF((BARSCOUNT(CLOSE)>7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7))-1),
1);
N:=IF((陡峭度 > 0.35),6,65);
VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100);
獲利盤:=(WINNER(CLOSE))*(100);
獲利線:=FORCAST(獲利盤,7);
線:=(FORCAST(VAR1A,7))*((DATE < 20070110));
滿倉:((線>REF(線,1)) AND (線<25) AND (COUNT((線>REF(線,1)),5)=1) AND IF((N=6),
(獲利盤<60),(獲利盤<40)) AND (COUNT((獲利線>20),20)>0))*(40);