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
In financial modeling, "normalizing" data is critical to evaluating a time series in a smooth and consistent manner. What constitutes a high versus what is a low value? Properly characterizing values is important to determine valid "signals". It rarely a good idea to use absolute values, rather, analysis outcomes are more predictable and models robust when the data series is adopted to the current conditions.
Several techniques are available to accomplish this task. One is the Percent Rank Function (kindly programmed by the QuantShare team at my suggestions - thanks!). An alternative approach is to place the data into a series of "buckets". This function takes a time series of data and puts it into buckets based on a fixed high and low value. The number of buckets are a variable that the user can set - I like to use a small odd number of buckets - for example 5. With 5 buckets, the high bucket would be a value of 4, and the low would have a value of 0.
The data is placed into the buckets by linearly distributing such that each bucket has an equal range of values that will cause even brackets. For example, If the data series has a minimum of 0 and max is 100, and we use 5 buckets, then the bucket values boundaries would be 0 to 20, 20+ to 40, 40+to 60, etc.
Takes highest values of the series goes to largest # bucket, the smallest to lowest bucket (bucket 0).
The function inputs are:
DataSeries: can use a price series (e.g., close) or an indicator
HighValue: user defined highest values (values out of range are places in the highest/lowest bucket respectively)
LowValue: user defined lowest value
Buckets: # of buckets
A powerful combination is to use this with the Channel Position, so it can dynamically change the high and low values when bucketing data. Combined it could be called as follows:
FixedBucketCalc (ChannelPosition(c,50), 1,0,5)
This would use a 50 period channel of closing price, with the high and low values of 1 and 0 to accommodate the percent rank output of the ChannelPosition, and 5 buckets.
>>>> More trading objects? click here to search for trading sytems, downloaders, screens, custom drawing tools, indicators... by country, market or style.