TEND:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);{趋势线}
WLT1:=EMA(C,3);{3日异动线}
WLT2:=EMA(C,5);{5日异动线}
WLT3:=EMA(WLT2,5);
QQ:= C
MM:=WLT1 REF(WLT1,1) AND REF(WLT1,1)
MM0:=WLT1REF(WLT1,2) ;{3日移动线向下拐}
WL:=CROSS(WLT1,WLT2);{3日,5日移动线向上金叉}
WL1:=CROSS(WLT2,WLT1);{3日,5日移动线向下死叉}
WL2:=CROSS(WLT1,TEND);{3日,趋势线向上金叉}
WL3:=LLV(LOW,55);{55天内最低}
WL6:=HHV(HIGH,21);{21天内最高}
WL8:=LLV(LOW,21);{21天内最低}
TJ1:=WL AND MM AND CWL6*0.8;
TJ2:=WL2 AND C TEND;
TJ3:=TJ1 OR TJ2;
W18:TJ3;
======================================================
{短选}
{量比}
VAR0:=REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5);
VAR1:=VAR0/5;
LB:=V/VAR1;
{45底上升}
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
TJ1:=FILTER(BB13 1 AND EMA(X1,13) REF(EMA(X1,8),1),10);
TJ2:=LB
XG:=TJ1 AND TJ2 ;{量比 2.9同时45度角上升}
E88:EXIST(XG,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
XG1:=TJ1 AND TJ3 AND TJ4;
{超跌}
黄底:=(SMA(HIGH,19,3) * 1);
XG2:=CLOSE/OPEN 1.04 AND CLOSE 黄底 AND CLOSE-REF(CLOSE,1)
{布林收口}
M1:=3;M2:=5;M3:=8;M4:=13;M5:=15;M6:=20;
MA1:=MA(C,M1);MA2:=MA(C,M2);MA3:=MA(C,M3);MA4:=MA(C,M4);
MA5:=MA(C,M5);MA6:=MA(C,M6);
PBX1:=(EXPMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3;
PBX2:=(EXPMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3;
PBX3:=(EXPMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3;
PBX4:=(EXPMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3;
PBX5:=(EXPMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3;
PBX6:=(EXPMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3;
AAA:=MIN(MIN(MIN(MIN(MIN(PBX1,PBX2),PBX3),PBX4),PBX5),PBX6);
BBB:=MAX(MAX(MAX(MAX(MAX(PBX1,PBX2),PBX3),PBX4),PBX5),PBX6);
XG3:=OBBB;
XG:XG1 OR XG2 OR XG3;
======================================================
{小情人}
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);
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 TJ0 AND TJ3;
======================================================
{45角升}
X1:=(C+L+H)/3;
BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;
EMA3:=EMA(C,3);
TJ:=DRAWTEXT(FILTER(BB5 1 AND EMA(X1,7) REF(EMA(X1,7),1),10),
LOW*0.99, ★ 45 ),COLORFFFFFF;
XG1:=TJ;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
主力:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
XG2:=主力 REF(主力,1);
W18:XG1 AND XG2;
======================================================
{好底}
D:=EMA((C*3+H+L+O)/6,5);
买卖:=D,COLORGREEN,LINETHICK2;
A线:=HHV(D,13)COLORYELLOW,LINETHICK2;
B线:=LLV(D,13)COLORYELLOW,LINETHICK2;日平:= MACD.MACD#DAY (12,26,9);
周平:= MACD.MACD#WEEK (12,26,9);
JC:=(A线-B线);
壹:=COUNT(JC REF(JC,1)AND A线 REF(A线,1),5)=1 AND JC REF(JC,1)AND A线 REF(A线,1)AND D =REF(D,1);
G1:=FILTER(壹=1,10);
G2:=BARSLAST(G1
G3:=IFF(G2 0 AND G2 =10,1,0)=1 AND ((C-REF(C,G2))/REF(C,G2))*100
概壹:=(SUM(FILTER(G3,10),0)/SUM(G1 0,0))*100;
加1:=COUNT(日平 =0 AND 周平 =0,5)=1 AND 日平 =0 AND 周平
加2:=FILTER(D=A线 AND REF(D,1)
①:=FILTER(加1=1,10);
②:=BARSLAST(①
③:=IFF(② 0 AND ② =10,1,0)=1 AND ((C-REF(C,②))/REF(C,②))*100
概加1:=(SUM(FILTER(③,10),0)/SUM(① 0,0))*100;
TJ:=FILTER(COUNT(D=B线,3) =2 AND D B线,5);
XG:TJ;
======================================================
{金情人 M-2}
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
[1]