Hi MV,
Your question is unclear to me. Do you mean that you want an
exploration that will detect if the close was at or above a certain % of
the daily range? If so the following can be used. If you mean
something else, please clarify what it is that you want to do, detect, display
or ?? and how you want to do so.
VALUEPC = Param("C at or above % of daily
range", 80, 0, 99, 1);
PCDR = (( C -
L) / (H-L) )*100;
PCDR >=
VALUEPC;
AddColumn (C, "
Close ", 2.2, colorDarkGreen,
colorLightGrey);
AddColumn (PCDR, "C as %
Range", 3.0, colorDarkGreen,
colorLightGrey
);
AddColumn ( H-L, "Range",
3.2, colorWhite, colorBlue);
Peace and Justice --- Patrick
----- Original Message -----
Sent: Saturday, January 07, 2006 7:30
PM
Subject: [amibroker] Percentile Range Bar
formula?
Anyone have an
idea how to calculate a percentile range bar?
Pick one, for
example, 90th and 1/10th percentile range bar or your
choice???
Thanks,
MV
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
SPONSORED LINKS
YAHOO! GROUPS LINKS
|