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

Re: [amibroker] If(C<PREV,StLong,Max(StLong,PREV));



PureBytes Links

Trading Reference Links

Better yet, TJ should convert all of the popular Metastock functions to AFL, and then add a very noticeable comment to the Amibroker home page.  Something like,   "ATTENTION METASTOCK USERS,  most of the metastock functions have already been converted to AFL, and our very active Yahoo user groups willingly assist former Metastock users to quickly learn how to use Amibroker and the SUPERFAST AFL language". 
 
Such an announcement would almost certainly increase the number of ex-MS users who convert from FREE-TRIAL status to paid subscribers. 
 
I have also sent this idea to  "SUGGEST A NEW FEATURE ".  Ron D 
 
 
----- Original Message -----
Sent: Monday, April 04, 2005 4:52 AM
Subject: RE: [amibroker] If(C<PREV,StLong,Max(StLong,PREV));

This comes up a million times and is a constant frustration for ex-MS users; the collective number of hours lost on this by new-comers must be in the thousands.
 
Can somebody write an MS-type Prev() in afl and add it to the afl library?

// PREV

Z =(A*B)+(C*PREV);

can be written in AFL as:

Z = AMA2( A(array), B, C );

also:

xx = FactorA * Close + (FactorB * PREV(xx)); // metastock

translates to:

xx = AMA2( Close, FactorA, FactorB );

best regards,
herman.
 
-----Original Message-----
From: gunovanengel [mailto:gunovanengel@xxxxxx]
Sent: Monday, April 04, 2005 3:11 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] If(C<PREV,StLong,Max(StLong,PREV));


How do I change this to AmiBroker code

Thanks
Guno

If(C<PREV,StLong,Max(StLong,PREV));





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html




No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 4/1/2005


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





Yahoo! Groups Links