This is a trading item or a component that was created using QuantShare by one of our members.
This item can be downloaded and used by QuantShare Trading Software.
Trading items are of different types. There are data downloaders, trading indicators, trading systems, watchlists, composites/indices...
You can use this item and hundreds of others for free by downloading QuantShare.
Top Reasons Why You Should Use QuantShare:
Works with US and international markets (stock, forex, options, futures, ETF...)
Offers you the tools that will help you become a profitable trader
Allows you to implement any trading ideas
Exchange items and ideas with other QuantShare users
Our support team is very responsive and will answer any of your questions
We will implement any features you suggest
Very low price and much more features than the majority of other trading software
The Percentile or Percent Rank function calculates the percentage of observations or values, within a lookback period, that are below the current value of a given function. It is the percentage of values in the provided time series frequency distribution that are lower than the value of any given bar.
As an example, using the close price and making the calculation for the previous 50 bars; the percentile value of the close price for the bar number 1000 is the percentage of close values, in the range of bar n 950 to 1000, that are below the close price for the bar number 1000.
The percentile is equal to 100%, when the current bar close price is higher that all values of the previous 50 bars.
The percentile is equal to 0% when the current bar close price is lower than all values of the previous 50 bars
Here is another example:
Bar 10: 12.5
Bar 11: 13.2
Bar 12: 16.1
Bar 13: 15.6
Bar 14: 13.8
Bar 15: 16.9
Bar 16 (Current bar): 15.2
When applied to the above time series, the percent rank function, with a lookback period of seven bars, will return a value 50% on bar number 16. This is because three bars' values are above 15.2 and three other bars' values are below 15.2
The function (PercentRank) accepts any kind of time series; you can for example calculate the percentile rank of a technical analysis indicator such as the RSI or relative strength index or the percentile rank of the Relative Strength (RS) of a stock compared to its index (S&P 500 for example).
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.