PureBytes Links
Trading Reference Links
|
In MetaStock, the P variable is defined as:
A special data array identifier (i.e., "P" variable) is used to
reference any indicator or price plot. With custom indicators, the "P"
variable represents the plot the custom indicator is dropped on.
In other words, it can be used to identify something other than the
price. It is their way of having your indicator refer to another
indicator on the chart instead of just the price.
--- In amibroker@xxxxxxxxxxxxxxx, "_sdavis" <_sdavis@xxx> wrote:
>
> I need some help with some metastock code taken from this URL:
>
http://www.traders.com/Documentation/FEEDbk_docs/Archive/0796/0796tradet
ips.html
>
> What is the afl equivalent of this? Mostly I need to know what is the
> "P" symbol? Everything else looks easy to translate to afl.
>
> Mov((Sum(Log(C / Ref(C,-1)),9) - (((9*Sum(Log(C / Ref(C,-1)) * Log(P /
> Ref(P,-1)),9)) - (Sum(Log(C / Ref(C,-1)),9) * Sum(Log(P / Ref(P,-1))
> ,9))) / ((9*Sum(Pwr(Log(P / Ref(P,-1)),2),9)) - Pwr(Sum(Log(P /
> Ref(P,-1)),9),2)) * Sum(Log(P / Ref(P,-1)),9))) /9,12,SIMPLE)
>
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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|