Click here to Login








Trading Indicator Rank

by QuantShare, 5012 days ago
Share |


The Trading Indicator Rank function calculates the rank of a given trading indicator or time series compared to its previous values. The number of previous values is determined by the lookback period parameter of the function.
Trading Indicator Rank values vary between 1 and the provided period, where a number of one means that the current value is higher than all past values (within the lookback period) and a returned value of X = period, means that the current indicator or time series value is the lowest among all past values.

Percentile - Percent Rank of a Trading Indicator is another trading object that performs almost the same calculation with the difference that it returns the percentile or percent rank instead of the rank.
If the current bar's value is the highest the latter will return 100, while the current trading indicator will return 1. If the current bar's value is the lowest the latter will return 0, while the current trading indicator will return N, where N is the lookback period specified as an argument.

Besides the lookback period, the trading indicator rank accepts a time series as the first argument. Example:
IndicatorRank(close, 20)
Return the rank of the close price over the preceding 20 bars.

IndicatorRank(perf(close, 10), 20) < 5
This trading rule returns 1 if the stock 10-Bar rate of return is among the top 5 highest compared to the previous 20 instances.

llv(IndicatorRank(close, 20) < 4, 5) == 1
The above trading rule returns 1 if the stock close price is among the three highest values (given the previous 20 values) for the last five consecutive bars.




You have to log in to bookmark this object
What is this?
Additional Information




Type: Trading Indicator

Object ID: 612


Country:
All

Market: All

Style:
Technical Analysis

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects

Empty

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

6 Stock Trading Items Related to the New York Stock Exchange - NYSE

Pivot Tables in QuantShare Trading Software

How to create market indicators using the composite function - Part 1

Optimize a trading strategy using the Sharpe ratio

How to create a trading indicator that uses stock news

How to create your own technical analysis indicators

Create a stock index or a trading indicator using the composite tools

Create a trading strategy using the money management tool - Part 2

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



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.