[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Need help with formula calculation


  • Date: Tue, 16 Mar 2010 08:36:40 -0700 (PDT)
  • From: James <jamesmemphis@xxxxxxxxx>
  • Subject: Re: [amibroker] Need help with formula calculation

PureBytes Links

Trading Reference Links



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 <benjamin.bolsa@xxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
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





__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___