MA(C,3); N:=5; K1:=hhv(h,n); K2:=llv(l,n); FC:=close; FOR I=n+1 TO DATACOUNT DO BEGIN IF FC[I]>K1[I-1] THEN BJ[I]:=1;ELSE IF FC[I]<K2[I-1] THEN BJ[I]:=-1;ELSE BJ[I]:=BJ[I-1]; END; jr:=IF(BJ=-1,K1,K2); 操作线:IF(c>jr,JR*0.998,jr*1.002),colorffff;
看股 吧公式 www.kangub a.com