Sorry about that. Just replace with something like this:
Coeff = Param("Smoothing Coefficient", 4, 2, 20, 2);
t1=IIf(k2>k1, FTDt + coeff * k1, FTDt + coeff * k2);
James________________________________ From: Benjamin Fuentes <[email protected]> To: [email protected] Sent: Tue, March 16, 2010 7:58:23 AM Subject: Re: [amibroker] Need help with formula calculation You code give me Sytax Error in this line: t1=IIf(k2>k1,t+coeff*k1, t+coeff*k2) ; Coeff is the reason, How can do ? Thanks
