{天天涨停}
T:=IF((BARSCOUNT(C) 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);
N:=IF((T 0.35),6,65);
W:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;
QJ:=EMA(J0,3);
J1:=IF(CLOSE QJ,VOL,0);
J2:=IF(CLOSE
BB:=MA(SUM(J1-J2,22),3);
修改1:=DYNAINFO(8)*240/FROMOPEN;
修改2:=IF(CLOSE QJ,修改1,0);
修改3:=IF(CLOSE
修改4:=MA(SUM(修改2-修改3,22),3);
累加:=21*修改4+20*REF(BB,1)+19*REF(BB,2)+18*REF(BB,3)+17*REF(BB,4)
+16*REF(BB,5)+15*REF(BB,6)+14*REF(BB,7)+13*REF(BB,8)+12*REF
(BB,9)+11*REF(BB,10)+10*REF(BB,11)+9*REF(BB,12)+8*REF(BB,13)
+7*REF(BB,14)+6*REF(BB,15)+5*REF(BB,16)+4*REF(BB,17)+3*REF
(BB,18)+2*REF(BB,19)+REF(BB,20);
WMA:=累加/(21+1)/21*2;
CC:=WMA;VAR3:=(BB-CC);VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;
DD:=SMA(KK,3,1),COLOR00FFFF;
天天涨停:CROSS(W,-2) AND CROSS(VAR4,VAR5) AND CROSS(KK,DD);
======================================================
{超跌+主升}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
M3:=MA(C,3);
M10:=MA(C,10);
M55:=MA(C,55);
M89:=MA(C,89);
RSV:=(CLOSE-LLV(LOW,196))/(HHV(HIGH,196)-LLV(LOW,196))*100;
快线:=SMA(RSV,30,1);
慢线:=SMA(快线,15,1);
RSV1:=(CLOSE-LLV(LOW,23))/(HHV(HIGH,23)-LLV(LOW,23))*100;
参照快线:=SMA(RSV1,6,1),COLORRED;
参照慢线:=SMA(参照快线,3,1),COLORFFFFFF;
TJ1:=CROSS(快线,慢线) AND 快线
TJ2:=FILTER(CROSS(参照快线,参照慢线) AND 快线 50 AND M55 =REF(M55,1)
AND 参照快线 50,5);
TJ3:=CROSS(参照快线,10) AND 参照快线
XG:TJ1 OR TJ2 OR TJ3;
======================================================
{5日选股}
MA5:=MA(C,5);
MA10:=MA(C,10);
AA:=FILTER(CROSS(MA5,MA10),8);
XG:AA;
======================================================
{大牛}
MA89:=MA(C,89);
MA55:=MA(C,55);
MA13:=MA(C,13);
TJ1:=CROSS(MA13,MA55);
TJ2:=CROSS(MA55,MA89);
XG :TJ1 OR TJ2;
======================================================
{转强}
N1:=5;N2:=10;N3:=20;N4:=30;P:=2;
MA1:=EMA(CLOSE,N1);
MA2:=EMA(CLOSE,N2);
MA3:=EMA(CLOSE,N3);
MA4:=EMA(CLOSE,N4);
TJ1:=CROSS(MA1,MA2) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018
OR CROSS(MA1,MA4) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018
OR CROSS(MA2,MA3) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018
OR CROSS(MA1,MA3) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018;
TJ2:=(MAX(MA1,MAX(MA2,MA3))-MIN(MA1,MIN(MA2,MA3)))/
MIN(MA1,MIN(MA2,MA3))*100
XG:=TJ1 AND TJ2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
ZQ:=MACD 0 AND K D AND V
XG2:=FILTER(ZQ,8);
W18:XG OR XG2;
======================================================
{起底}
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
趋势:=IF(VAR6 45,VAR6-45,0);
XG:FILTER(REF(趋势,1) 趋势 AND REF(趋势,1) 1,5);
======================================================
{DDE强势}
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=QJ0*(MIN(OPEN,CLOSE)-LOW);
QJ2:=QJ0*(JJ-MIN(CLOSE,OPEN));
QJ3:=QJ0*(HIGH-MAX(OPEN,CLOSE));
QJ4:=QJ0*(MAX(CLOSE,OPEN)-JJ);
DDX:=IF(HIGH=LOW,4*QJ0,((QJ1+QJ2)-(QJ3+QJ4)))/SUM(VOL,10)*100;
DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;
DDZ:=((QJ1+QJ2)-(QJ3+QJ4))/((QJ1+QJ2)+(QJ3+QJ4))*100*17;
预警:DDX 2 AND DDZ 100 AND DDY 3 AND VOL/CAPITAL*100
======================================================
{起筹}
{N-9;M1-9;M2-3;P-9;}
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=IF(MA(CLOSE,34),1,0);
VAR8:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8 100,100,VAR8);
吸筹:=VAR9;
快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
慢线:=SMA(快线,M1,1);
TJ1:=吸筹 0.01;
TJ2:=CROSS(快线,慢线) AND 慢线
BUY:FILTER(TJ1 AND TJ2,5);
======================================================
{底背离}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
[1]