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
This function converts a string to a number. It generates a number from a string or combinations of letters and numbers.
The function is called "Num" and it uses the "GetHashCode" method of an object to generate a number.
The "Num" function can be helpful in many situations.
Here is an example using the composite function:
comp(rsi(14) > 60, "count")
The above function calculates the number of stocks whose 14-bar relative strength index (RSI) is higher than 60.
Let us say we want to calculate the same composite but we want to group the results by industry. This means that we want the number of stocks, within the same industry than the current stock, whose 14-bar relative strength index is higher than 60.
We would use the "industry()" function to get the stock's industry. The problem is that the third parameter of the composite (comp) function, which is used to group data, accepts no texts; it only accepts numeric values.
To solve this issue, we must convert the text value, which is the stock's industry, to a numeric value.
comp(rsi(14) > 60, "count", num(industry()))
>>>> More trading objects? click here to search for trading sytems, downloaders, screens, custom drawing tools, indicators... by country, market or style.