A1:=1;
A2:=MA(C,30);
A3:=(C-A2)/A2*100;
A4:=MA(A3,3);
A5:=A1-1.01*1000000;
A6:=BArslAST(crOSS(-10,A4)=1);
A7:= IF(A4<-15 AND A6>=10,A4,0);
机会:A7,STICK,COLORRED;{画红色柱线}
A8:=RANGE(A5,(1-0.618)*1000,(1+1.9/100)*1000);{在这句中用到了RANGE函数}
DRAWTEXT(FILTER(A7=A4 AND A8=0,8)=1,A7*1.2 ,'反弹'),COLORBLUE;