{WLT金银山}
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
D0:=CROSS(RSI1,20) AND (CROSS(RSI1,RSI2) AND RSI1
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
操盘:=3*VAR3-2*VAR4;
D1:=CROSS(操盘,VAR3) AND VAR3 2.1 AND C
N:=14;M:=6;
TR:=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);
主升:=PDI;
主跌:=MDI;
D2:=CROSS(ADX,主跌) AND 主跌 20 AND ADX ADXR;
D33:=FILTER(COUNT(D1 OR D2,3) =2,3);
D66:=D1 AND D2;
XG:D33 OR D66 OR D0;
========================================
{WLT灯塔大牛}
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
RMA:=EMA(CLOSE,7);
NMA:=EMA(CLOSE,19);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS
(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS
(RMA,NMA))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS
(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS
(NMA,RMA))+1),0),COLOR00FF00;
{BT:=(LLV(A8,2)=LLV(A8,7) AND COUNT(A8 0,2) AND CROSS(A8,MA(A8,2))) AND
REF(DOWN,1)REF(DOWN,1);}
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ:=REF(DOWN,1)REF(DOWN,1) AND C
XG:TJ;
======================================
{WLT灯塔短牛}
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
RMA:=EMA(CLOSE,7);
NMA:=EMA(CLOSE,19);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS
(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS
(RMA,NMA))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS
(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS
(NMA,RMA))+1),0),COLOR00FF00;
BT:=(LLV(A8,2)=LLV(A8,7) AND COUNT(A8 0,2) AND CROSS(A8,MA(A8,2))) AND
REF(DOWN,1)REF(DOWN,1);
XG:BT;
=========================================
{WLT五里头1号}
中:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
上:=BBI+3*STD(BBI,10);
下:=BBI-3*STD(BBI,10);
安全:=MA(C,30);
TJ1:=下*1.05 中 AND 中*1.05 上 AND 中 =REF(中,1) AND REF(中,1) =REF(中,2);
TJ2:=LLV(REF(VOL,1),60);
VAR91:=REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5);
VAR92:=VAR91/5;
LB:=V/VAR92;
TJ3:=LB 2 OR VOL/REF(VOL,1)
TJ4:=C
XG:TJ1 AND TJ3 AND TJ4;
====================================
{WLT短线量能}
E:=AMOUNT/10000000;
E1:=MA(E,5);
E2:=MA(E,10);
T1:=CROSS(E1,E2);
T2:=E1 REF(E1,1);
XG:T1 AND T2;
=====================================
{WLT量能多空}
MAV:=AMOUNT/1000000;
SK := EMA(MAV,13) - EMA(MAV,34);
SD := EMA(SK,3);
B:=(SK-SD);
TJ1:=CROSS(B,0) AND B REF(B,1);
TJ2:=REF(B,2) REF(B,1) AND B REF(B,1);
XG:TJ1;
====================================
{WLT精华主图1 N:1,5,1}
KK:=EMA(C,3);
MM:=KK REF(KK,1) AND REF(KK,1)
VAR90:=((((HHV((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)
-EMA(DCLOSE,26)),9)))*2),4) 0) AND ((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-
(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2) REF((((EMA(DCLOSE,12)
-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),1)))
AND (REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-
EMA(DCLOSE,26)),9)))*2),1)
(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2))) AND (REF((((EMA(DCLOSE,12)
-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2)
26)),9)))*2),3)));
TJ1:=VAR90 AND MM;
TJ2:=CROSS(MA(C,3),MA(C,9)) AND C =REF(C,1) AND C
XG:=TJ1 OR TJ2;
E88:EXIST(XG,N);
==================================
{WLT小情人}
AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
BB:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
CC:=EMA(AA,2);
DD:=EMA(BB,5);
TJ0:=CROSS(CC,DD);
上:=EMA(C,3);
中:=EMA(C,5);
下:=EMA(中,5);
TJ1:=CROSS(上,中);
TJ2:=上 REF(上,1);
X1:=(C+L+H)/3;
BB5:=ATAN(EMA(X1,5)-REF(EMA(X1,5),1))*3.1416*10;
EMA3:=EMA(C,3);
TJ3:=BB5 1 AND EMA(X1,5) REF(EMA(X1,3),1);
XG:TJ1 AND TJ2 AND TJ0 AND TJ3;
====================================
{WLT星日同辉}
ZKK:= KD.K#WEEK (9,3,3);
ZKD:= KD.D#WEEK (9,3,3);
KCD:=FILTER(CROSS(ZKK,ZKD) AND REF(ZKD,1) 30,13);
KCD1:=FILTER(CROSS(ZKK,ZKD) AND REF(ZKD,1) 30,13);
XG1:=KCD;
DIFW:= MACD.DIF#WEEK (12,26,9);
DEAW:= MACD.DEA#WEEK (12,26,9);
P:=10;A:=5;
FCA:=FILTER(CROSS(DIFW,DEAW) AND REF(DEAW,1) 0,13);
XG2:=FCA;
RSV:=((((HHV(HIGH,P) - CLOSE) / (HHV(HIGH,P) - LLV(LOW,P))) * 200) - 125);
散户:=SMA(RSV,A,1)+15;
RSV1:=((((CLOSE - LLV(LOW,P)) / (HHV(HIGH,P) - LLV(LOW,P))) * 200) - 105);
主力:=SMA(RSV1,A,1)+15;
XG3:=CROSS(主力,散户);
WLT88:XG1 OR XG2 OR XG3 OR KCD1;
====================================
{WLT五里头6号}
TH:=SUM(IF(CLOSE REF(CLOSE,1),VOL,0),21);
TL:=SUM(IF(CLOSE
TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),21);
VAR0:=100*(TH*2+TQ)/(TL*2+TQ);
VAR1:=MA(VAR0,5);
W:=CROSS(VAR0,VAR1);
WL1:=VAR1
WL2:=VAR1 150 AND VAR1 REF(VAR1,1);
WLT1:=W AND WL1;
WLT2:=W AND WL2;
TJ1:=FILTER(WLT1,5);
TJ2:=FILTER(WLT2,8);
XG:TJ1 OR TJ2;
====================================
{WLT牛熊波段}
N:=55;
WL:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
WLT:=MA(WL,89);
WLT1:=CROSS(WL,WLT);
WLT11:=CROSS(WL,-10);
WLT2:=FILTER(WLT1,8);
T1:=WLT11 OR WLT2;
T2:=REF( KDJ.J ,1) 0 AND KDJ.J
LV:=MA(C,24);
HR0:=HHV(HIGH,N);
HRY0:=LLV(LOW,N);
HRY110:=HR0*HRY0;
HRY330:=SQRT(HRY110);
NS1:=C HRY330 AND HRY330 =REF(HRY330,1) AND C
T3:=WLT2 OR WL
XG1:=T1 AND NS1;
XG2:=T1 AND T3;
W18:XG1 OR XG2 OR T2;
=====================================
{WLT主力雷达}
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
VARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
VARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
VARD:=BARSCOUNT(CLOSE);
买点雷达:=(VARB 20 AND VARC 25 AND VARD 50 AND AR 70 AND VOL
AND REF(VOL,1)
TJ1:=CROSS(RSI1,25);
主力:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,LINETHICK2,COLOR0000FF;
散户:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,LINETHICK2,COLOR00FF00;
TJ2:=CROSS(主力,散户) AND 主力
TJ:=FILTER(COUNT(TJ1 OR TJ2,2)=2,5);
XG:TJ OR TJ1 OR TJ2;
=======================================
{智能机器人1号 N=5,X=3}
VOL/240 MA(VOL,N)/240 AND CLOSE OPEN*(1+X/100) AND CLOSE
======================================
{智能机器人2号}
CLOSE 5 AND CLOSEMA(CLOSE,3) AND MA(CLOSE,3) MA(CLOSE,5);
========================================
{智能机器人3号 N=9,M1=3,M2=3,X=12}
VAR1:=1;
VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
VAR3:=SMA(VAR2,M1,1);
VAR4:=SMA(VAR3,M2,1);
VAR5:=3*VAR3-2*VAR4;
TESTSKIP( VAR4 100 AND VAR5 VAR3*1.008 AND VAR3 VAR4 AND VAR4 REF(VAR4,1)*1.001 AND VAR3 REF(VAR3,1)*1 AND VAR4 REF(VAR4,1)*1 AND CLOSE OPEN*(1+X/100));
==========================================
{最佳买点选股}
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
MACD1:=CROSS(DIFF,DEA) AND COUNT(MACD 0,1)=1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
KDJ1:=CROSS(K,D) AND CROSS(J,D);
均线:=CROSS(MA(C,5),MA(C,10));
量线:=CROSS(MA(V,5),MA(V,10));
SCC:=MACD1 AND KDJ1 AND 均线 AND 量线;
SC1:=MACD1 AND KDJ1;
SC2:=均线 AND 量线;
SC3:=均线 AND MACD1;
SC4:=量线 AND KDJ1;
SC5:=均线 AND KDJ1;
SC6:=MACD1 AND 量线;
SCC OR SC1 OR SC2 OR SC3 OR SC4 OR SC5 OR SC6;
========================================
{操盘手买入}
AA1:=AMOUNT/VOL;
BB1:=L
CC1:=(C-REF(C,1))/REF(C,1)*100
DD1:=L
EE1:=VOL
BB1 AND CC1 AND DD1 AND EE1;
========================================
{主升买入}
多:=EMA(C,3);
空:=EMA(C,5);
均衡:=EMA(空,5);
VARF1:=COUNT(CROSS(多,均衡),2)=1;
VARF2:=COUNT(CROSS(空,均衡),2)=1;
主升:=FILTER(VARF1 AND VARF2,2);
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2:=REF(VAR1,1);
VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;
注意买入:=IF(COUNT(VAR3 20,5) =1 AND COUNT(VAR1=LLV(VAR1,10),10) =1 AND CLOSE =OPEN*1.038 AND VOL MA(VOL,5)*1.2,1,0);
主升 OR 注意买入;
===================================
{黑马腾飞}
MA5:=MA(C,5);
MA20:=MA(C,20);
MA90:=MA(C,90);
Y1:=MA(C,5) MA(C,20) AND MA(C,5) MA(C,90) AND MA(C,90) REF(MA (C,90),1);
Y2:=Y1 AND CROSS(MA(C,20),MA(C,90));
F1:=MA(C,5) MA(C,90) AND MA(C,20) MA(C,90) AND MA(C,90) REF(MA (C,90),1);
F2:=F1 AND CROSS(MA(C,5),MA(C,20));
Y2 OR F2;
=========================================
{短线起涨}
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;
S:=IF(VAR6 100,VAR6-100,0);
T:=15 S
G:=REF(S,1)
T AND G;