文档介绍:/*
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),NULL),RGB(85,0,0),LINETHICK2;
休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),NULL),RGB(0,64,0),LINETHICK2;
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,7,0 ),COLORRED;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;
趋势线: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);
趋势:EMA(EMA(趋势线,3),1);
见底信号: 2;
买点准备: IF(趋势线<=10,50,0);
买入时间: IF(CROSS(趋势线,见底信号),100,0),COLORCYAN;
主进场:IF(VAR5>REF(VAR5,1),1,0);
STICKLINE(趋势线>=85,100,80,2,0),COLORMAGENTA;
STICKLINE(CROSS(90,趋势线),100,70,3,0),COLORFFF666;
A2:=REF(LOW,NF)=LLV(LOW,4*NF+1);
B2B:=FILTER(A2,NF);
CB2:=BACKSET(B2,NF+1);
D2:=FILTER(CB2,NF);//{低点}
E1:=(REF(LLV(LOW,2*NF),1)+REF(HHV(HIGH,2*NF),1))/2,COLORBLACK;
E10:=(REF(LLV(LOW,ROUND(SQRT(2*NF),2)),1)+REF(HHV(HIGH,ROUND(SQRT(2*NF),2)),1))/2,COLORRED;
E2:=(HIGH+LOW)/2;
H1:=(D1 AND NOT((D2 AND E1>=E2))) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
L1:=(D2 AND NOT((D1 AND E1<E2))),NODRAW;
H2:=D1 AND NOT((D2 AND E1>=E2));
X1:=REF(BARSLAST(H1),1)+1;
F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(LOW,X1)+1);//
G1:=CROSS(F1=1,);//
I1:=BACKSET(G1,1);//
//LD:=I1>REF(I1,1);//{过滤后低点}---------------------