VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
STICKLINE(A1,10,0,4,0),COLOR770077;
STICKLINE(A1,10,0,3,0),COLOR990099;
STICKLINE(A1,10,0,2,0),COLORBB00BB;
STICKLINE(A1,10,0,1,0),COLORDD00DD;
STICKLINE(A1,10,0,0.3,0),COLORFF00FF;
DRAWTEXT(A1,11,'财富临门'),COLORRED;
财富临门:A1,NODRAW;
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<QJ,VOL,0);
VAR44:=SMA(RV,3,1);
VAR55:=SMA(VAR44,3,1);
KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;
DD:=SMA(KK,3,1),COLOR00FFFF;
DRAWTEXT(CROSS(VAR44,VAR55) AND CROSS(KK,DD),10,'共振'),COLOR00FFFF;
共振点:=(CROSS(VAR44,VAR55) AND CROSS(KK,DD));
STICKLINE(共振点>0,0,40,2,0),COLOR008888;
STICKLINE(共振点>0,0,40,1.5,0),COLOR00AAAA;
STICKLINE(共振点>0,0,40,0.8,0),COLOR00DDDD;
STICKLINE(共振点>0,0,40,0.3,0),COLOR00FFFF;
VAR1P2:=(CLOSE-LLV(LOW,55.144))/(HHV(HIGH,55.144)-LLV(LOW,55))*80;
VAR2P2:=SMA(VAR1P2,7,1);
VAR3P2:=SMA(VAR2P2,5,1);
起飞:IF(CROSS(VAR2P2,VAR3P2) AND VAR2P2<20,40,0),STICK,COLOR00FF7F,LINETHICK2;
DRAWTEXT(CROSS(VAR2P2,VAR3P2) AND VAR2P2<20,35,'起飞'),COLORFFFF00;
DRAWTEXT(CROSS(VAR2P2,VAR3P2) AND VAR2P2<22,20,'★'),COLORRED;
主流资金:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORMAGENTA,LINETHICK2;
XG3:CROSS(主流资金,10);
DRAWICON(XG3=1,24,14);
{A88:=(C+H+O+L)/4;
套马索:=XMA(A88,32)*0.9;
套马杆:=MA(CLOSE,20);
栓马桩:CROSS(套马索,套马杆);
STICKLINE(FILTER(栓马桩,5),0,35,3,0),COLORFF00FF;
DRAWICON(FILTER(栓马桩,5),40,9);
DRAWICON(FILTER(栓马桩,5),35,9) ;
DRAWICON(FILTER(栓马桩,5),20,9) ;
DRAWICON(FILTER(栓马桩,5),15,9) ;
DRAWICON(FILTER(栓马桩,5),10,9) ;
STICKLINE(FILTER(栓马桩,5),0,15,15,0),COLORCYAN;
DRAWTEXT(FILTER(栓马桩,5),35,' 快马'),COLORYELLOW;}
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
XG:CCI<-100 AND CCI>REF(CCI,1)AND(REF(C,1)-C)/REF(C,1)*100>3;
DRAWICON(XG=1,10,26);
小底:FILTER((CROSS((EMA(CLOSE,2)-EMA(CLOSE,10)),EMA((EMA(CLOSE,2)-EMA(CLOSE,10)),2)) AND EMA((EMA(CLOSE,2)-EMA(CLOSE,10)),2)<0 AND CROSS(C,MA(C,20))),90);
DRAWICON(小底=1,8,27);
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*1000;
HHH:=BBB-LLV(BBB,27);
CCC:=LLV(BBB,27)-BBB;
QQ:=(MA(HHH,2)*3+HHH*13)/16,COLORFF00FF,LINETHICK1;
SS:=(MA(CCC,2)*3+CCC*13)/16,COLORFF00FF,LINETHICK1;
GG:=MA(HHH,5),LINETHICK1,COLORGREEN;
MM:=MA(CCC,5),LINETHICK1,COLORGREEN;
WW:=IF(QQ<GG,SS,MM),LINETHICK1,COLOR0000FF;
EE:=IF(SS<MM,GG,QQ),COLORFFFFCC,LINETHICK1;
买:=IF(EE-WW<5.6,200,0);
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) AND ZXNH),COLORRED;
买AA:=黄金 AND RSVV<VARB2-2;
短牛:买AA>0,COLORRED,LINETHICK2;
DRAWICON(短牛=1,1,1);
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*10000;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*10000;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*10000;
长线:=SMA(RSV3,5,1),COLORYELLOW;
黄金坑:短线<2000 AND 中线<2000 AND 长线<2000;
DRAWICON(黄金坑=1,12,25);
V1:=EMA(CLOSE,5)-EMA(CLOSE,340);
V2:=EMA(V1,144);
V3:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
卖出:=-1*IF((CROSS(98.5,V3) AND V1>V2) AND COUNT(V3>97,3)=2,20,0)+90;
买入:=IF(CROSS(V3,5) AND V1<V2,20,0)+20,COLORYELLOW;
{2}
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*4;
VAR3:=EMA(VAR2,13);
VAR4:=LLV(LOW,34);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:=STICKLINE(VAR5>REF(VAR5,1),0,VAR5,7,0 );
主力进场和:=SUM(主力进场,20);
{3}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D2:=SMA(K,3,1);
JJ:=9*(3*D2-2*K);
J:=((3 * K) - (2 * D2));
MAIRU:= CROSS(K,D2) AND K<20;
MAICHU:= CROSS(D2,K) AND D2>80;
快线:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
慢线:=SMA(快线,3,1);
空:=SMA(慢线,3,1);
BB:=IF(BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,20,0);
买点:=IF(BB AND 买入>25 AND 主力进场和>5,35,0)+10,COLORYELLOW;
DRAWICON(买点=45,2,1);
VAR2B:=(C-MA(C,6))/MA(C,6)*100;
VAR3B:=(C-MA(C,12))/MA(C,12)*100;
VAR4B:=(C-MA(C,24))/MA(C,24)*100;
VAR5B:=(VAR2B+2*VAR3B+3*VAR4B)/6;
线:=MA(VAR5B,3);
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((C- LC),0),5,1) / SMA(ABS((C-LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((H- LOW),ABS((H-REF(C,1)))),ABS((L- REF(C,1)))),10);
HD:=(H-REF(H,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD>0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD>0) AND (LD > HD)),LD,0),10);
PDI:=((DMP*100)/TR1);
MDI:=((DMM*100)/TR1);
ADX:=MA(((ABS((MDI-PDI))/(MDI+PDI)) * 100),5);
AV:=(RSI5 + ADX);
WR10:=((100 *(HHV(H,10)-C)) / (HHV(H,10) - LLV(L,10)));
NEW:=(RSI5 - WR10);
回调:=(AV + NEW);
GG2:=CROSS(回调,0);
KTB:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
DTB:=SMA(KTB,3,1);
JTB:=3*KTB-2*DTB;
出击:=CROSS(CLOSE,REF(EMA(DMA((((HIGH+LOW)+(CLOSE*2))/4.15),0.9),3),1))AND JTB<55;
狙击:=CROSS(J,0) AND 线<=-7 AND GG2 AND 出击;
DRAWICON(狙击=1,9,28);
AAA:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
趋势:=IF(AAA>65,65,AAA),COLORYELLOW;
底部:=-21,COLORGREEN;
技术高位:=21,COLORWHITE;
顶区:=36,COLORGREEN;
技术低位:=-10,COLORWHITE;
牛熊分界:=0,COLORRED;
选股1:=CROSS(趋势,技术低位);
选股2:=CROSS(趋势,牛熊分界);
DRAWICON(选股1=1,11,24);
DRAWICON(选股2=1,13,13);
SM01:=MA((2*C+H+L)/4,5);
SM02:=SM01*(200-102)/100;
SM03:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
SM04:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
SM05:=3*SMA(SM04,3,1)-2*SMA(SMA(SM04,3,1),3,1);
SM06:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
SM07:=SM02<SM03&&SM05>REF(SM05,1)&&REF(SM05,1)<REF(SM05,2)&&SM06<-100&&SM06>REF(SM06,1);
STICKLINE(SM07,0,0.5,2,0),COLORYELLOW;
神秘买点:SM07,COLORRED,LINETHICK3;
LC20:=REF(CLOSE,1);
RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
底:CROSS(RSI20,11)*1;
DRAWICON(底=1,4,7);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加仓:IF(FILTER(YXF=1,5),1,0),STICK,COLORRED;
DRAWICON(加仓=1,6,23);
选股3:=COUNT(C/REF(C,1)<0.96,6)>=1 AND LAST(C<O,2,1) AND (REF(L,1)/REF(C,4)<0.85 OR
L/REF(C,3)<0.85) AND C>O;
DRAWICON(选股3=1,7,34);
MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA60:=MA(C,60);
CBFB:=MA(C,2);
JL:=IF(C>CBFB,V,0);
CL:=IF(C<CBFB,V,0);
JLH:=SUM(JL,4);
C |