[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
|
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.
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
Yahoo! Groups Links
|
|
|
|