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 indicator gets a time-series, a day, a month and a year and returns the value of this time-series at the specific date (Date calculated from the provided day, month and year). The indicator name is "ValueOn" and it uses the "ValueWhen" function to return that value.
To specify an unknown day/month/year or to make a field optional simply replace its value by zero.
For example, a formula that gets the value of the close price of a stock on 5 January 2009 could be translated into:
ValueOn(close, 5, 1, 2009)
And a formula that gets the value of the close price of a stock on 5 January of any year is translated into:
ValueOn(close, 5, 1, 0)
The close price was used as an example and it can be replaced with any other time-series, indicator or trading rule.
As an example, the relative strength index of any instrument for the first day of December 2008 can be retrieved by calling the following formula:
ValueOn(rsi(14), 1, 12, 2008)