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

RE: [amibroker] Percentile Range Bar formula?



PureBytes Links

Trading Reference Links

Hi Patrick,

 

How come your code examples use so much color?  I am not complaining, they look great.  It’s just that when I have taking code from the AFL formula editor and pasted it onto an outlook message or to the message box from with the Yahoo group, my codes sure doesn’t look as great as your does.

 

Dave

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of NW Trader
Sent: Saturday, January 07, 2006 10:32 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Percentile Range Bar formula?

 

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;

Filter = PCDR;

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 -----

From: Mr. Valley

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





YAHOO! GROUPS LINKS