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;
看 股吧公式 www. kanguba.com