R1:=(((MA(CLOSE,5))-CLOSE)/CLOSE>3/100);
R2:=((MA(CLOSE,10))-(MA(CLOSE,5)))/(MA(CLOSE,5))>0.03;
R3:=(LLV(CLOSE,20)=LLV(CLOSE,30));
大:=(R1 AND R2 AND R3);
大A:=FILTER(大,5);
买:STICKLINE(大A,80,0,2,0),coloryellow;
跟着庄家进:IF(大A,1,0),colorred;
VARA:=REF(LOW,1);
VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;
VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);
VARD:=LLV(LOW,30);
VARE:=HHV(VARC,30);
VARF:=IF(MA(CLOSE,58),1,0);
VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF;
VARH:=IF(VARG>100,100,VARG);
吸筹:STICKLINE(VARH>-120,0,VARH,6,1),colorblue;
VAR1:=(CLOSE*2+HIGH+LOW)/4*10;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=2*(VAR2-VAR3)*5.5;
VAR11:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV
(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
趋势线:=EMA(VAR11,3);
VAR12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
能量:STICKLINE(趋势线<=13,0,6,8,0),coloryellow;
能量暴发:STICKLINE(趋势线<=13 AND VAR12>13,0,65,1,0),colorred;
趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV
(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),coloryellow;
买入: IF(CROSS(趋势,50),100,0),COLORFFCCCC;
底部跟进:CROSS(趋势,7);
DRAWTEXT(CROSS(趋势,7)AND CROSS(趋势,7)=1,20,'跟进'),colorwhite;
A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV
(L,55))*100,5,1),colorred;
90,colorgreen;
85;
DRAWTEXT(FILTER(A1>85,15)=1,85,'逃顶'),coloryellow;
DRAWTEXT(FILTER(A1>80,15)=1,85,'逃顶'),coloryellow;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
B:=REF(C,1)<MA5 AND 2*C>REF(O,1)+REF(C,1);
D:=REF(C,1)>MA5 AND 2*C<REF(O,1)+REF(C,1);
E:=ma5>ma10 AND ma5<REF(ma5,1);
DRAWTEXT(B AND NOT(e),L*0.95,'买') ,colormagenta;
DRAWTEXT(D,H*1.02,'卖') ,COLOR00FF00;