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

Re: [amibroker] Percentile Range Bar formula?



PureBytes Links

Trading Reference Links

Hi Dave,
 
Two possible explanations, I suppose.
 
1) I send messages in Rich Text (HTML) and you are willing to accept the same (some don't like this option -- in fact I don't like it when folks use Base 64 encoded backgrounds or those stupid links to free emoticons, etc.);
 
2) I have defined the colors for different code in AB via Tools--> Preferences --> Editor --> Colors and Styles.   You can define Text, Strings, Numbers, Comments, Built-in functions, Reserved variables, and Keywords to be specified colors and bold if you desire.  I did this so I understand my coding better and so long ago that I do not recall the default colors any more. 
 
Thanks, but I suppose beauty is in the eye of the beholder which is another wonderful attribute of AB -- one may customize it to your own notion in almost every dimension.  Like Dan has written so aptly -- AB is like an onion with layers that each user may peel to his/her liking and skill level. 
 
Peace and Justice   ---   Patrick
----- Original Message -----
Sent: Saturday, January 07, 2006 11:39 PM
Subject: RE: [amibroker] Percentile Range Bar formula?

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