This system seeks to exploit a pattern where if the previous two days didn't have a gap up open from the previous close exceeding 0.2%, then there's an higher chance that the next overnight session will gap up.
The system buys the close and sells at the next open. It works...
No notes
|
Trading System
Medium
|
| |
This item downloads historical dividend data for U.S. stocks.
It creates a custom database (divcalendar) and stores data in the following fields:
dividend: The quarterly dividend percentage paid by the company
annualdiv: The annual dividend percentage paid by the company ...
No notes
|
Downloader
Medium
|
| |
For custom databases, data is often associated with a symbol and a date making it easy to build logic around the primary date value. But when the custom database contains more than one date value, accessing and using the date values is more complex. The DaysToNextDate function helps by...
No notes
|
Indicator
Medium
|
| |
This function calculates the number of bars that have passed since a data within a custom database.
You can find another function that calculates the number of bars to a data within a custom database here:
1585
...
No notes
|
Indicator
Medium
|
| |
The dividend yield watchlist displays all U.S. stocks that have recently distributed dividends to their shareholders.
The watchlist displays three columns:
q div: Recent quarterly dividend amount per share paid
a div: Sum of the last four quarterly dividend amount per share paid ...
No notes
|
Watch List
Advanced
|
| |
The value at risk is a risk measure based on the probability distribution of security's prices or portfolio's market value. Unlike other measures such as the volatility, the value at risk measure cares about the direction of the portfolio or security.
The current value at risk function calculates a percentage that...
No notes
|
Indicator
Advanced
|
| |
Percent Above Average Yield:
This function calculates the percent difference of a stocks current dividend yield and its average yield (over the period you set). To work, this indicator needs data from 93. That is just for stocks in the US market. Other markets may require other objects....
No notes
|
Indicator
Medium
|
| |
This money management script allows you to specify a minimum number of positions in your trading system.
The script uses the "OnClosePosition" event to reject any exit order if the current number of positions (both longs and shorts) in the portfolio is equal or below the specified threshold.
Formula rules as well...
No notes
|
Money Manag.
Basic
|
| |
CompRule(rules, category, weightFormula, aggregateFormula)
is a function for use in e.g. trading systems, that attempts to implement
(somewhat) similar functionality as Comp(...) but across rules, not symbols.
The "composite rule" is returned.
Note: "rule" here means any numeric vector, whether it consists solely...
No notes
|
Indicator
Medium
|
| |
Say you have several watchlists and you would like to display on your chart the different watchlists that contain the currently shown security.
The current function allows you to do so. All you need is to add the function formula and specify the different watchlists you want to track.
Here is...
No notes
|
Indicator
Medium
|
| |
This is a small modification to 1601 by QuantShare to add support for filtering and column labels.
>>> Instructions below mostly copied from the original post >>>
...
No notes
|
Downloader
Medium
|
| |
This money management script allows you to set a number of days to wait before purchasing a security that you have sold previously.
Imagine you purchased GOOG then sold it after few days on 5 July 2015. After 5 days your system generates a new buy signal to purchase GOOG again.
By...
No notes
|
Money Manag.
Medium
|
| |
The Large Block Ratio is a market sentiment indicator that shows the relationship between large block trades (or trades of more than 10,000 shares) and the total traded volume on the New York Stock Exchange.
This indicator will tell you how active the large institutional traders in the market.
Because the ratio...
No notes
|
Indicator
Advanced
|
| |
The Laggard money management script is designed to sell a stock or a security that lags behind a specified index.
The script has two parameters which are "Benchmark Symbol" and "Bars". Any of your stock in the simulation will be sold if after the specified number of bars (Bars), the stock's...
No notes
|
Money Manag.
Medium
|
| |
The following money management script calculates the weight of the industry given the current open positions and orders and rejects any new order if the new weight would be higher than a specific threshold.
If you specify an industry weight of 50% then your portfolio will always have an industry concentration...
No notes
|
Money Manag.
Advanced
|
| |
The Gann trend indicator tries to address the need for investors and traders to define mechanically the trend of a financial instrument.
The Gann trend indicator is implemented by tracking trend changes as defined by two up or two down closes. The indicator returns 1 when it detects an uptrend and...
No notes
|
Indicator
Basic
|
| |
Aggregate fundamental data for industries could be very useful in a top-down analysis style. It can be of course be used in several ways and would allow you for example to create industry-specific rules in your trading or ranking system.
By running this item daily, you would be able to gather...
No notes
|
Downloader
Advanced
|
| |
This item calculates the number of days since the inception of the security (first available bar date) and then accepts or rejects a new order depending on whether that value is higher or lower than a specified threshold.
If for example your want to ignore stocks that are less than 365...
No notes
|
Money Manag.
Basic
|
| |
This modified version of the 1616 item creates a new database field (Industry) and updates it with the stock industry name at the time the data was downloaded.
The industry fundamental data item gets several industry fundamental ratios and store them separately for each stock in a custom database called "industryfund".
To...
No notes
|
Downloader
Medium
|
| |
The following pivot table would allow you to easily display the year-to-date performance of your assets or ETFs and track their excess return with a benchmark or index.
By default, the following ETFs are compared to the SPY (S&P 500 ETF)
DIA: SPDR Dow Jones Industrial Average ETF
IEF: iShares Barclays 7-10 Year...
No notes
|
Pivot Table
Basic
|
| |
This pivot table will show you how a stock or an asset would have performed intraday depending on two factors, which are the day of the week and the previous intraday return. By intraday, I mean here the open-to-close return and not the yesterday's close to today's close return.
The pivot...
No notes
|
Pivot Table
Advanced
|
| |
If you have a stop rule and you want to disable it under certain circumstances then this script may help you achieve this.
By adding this money management script to your trading system, you are going to change the stop default behavior.
In order for your original stop rule to be...
No notes
|
Money Manag.
Advanced
|
| |
This function is an example that shows you how to use the "plotprofile" function of QuantShare.
Each month, it splits the stock's high/low range into ten buckets then counts the number of times the analyzed stock has closed within that bucket. The higher the bucket value, the more the stock closed...
No notes
|
Indicator
Advanced
|
| |
The 2 percent rule is a simple risk management strategy that controls the maximum amount you can lose for each invested asset.
The rule here is very simple: Never risk more than two percent of your total capital on any single stock. If you end up having 10 consecutive losses, that...
No notes
|
Money Manag.
Basic
|
| |
This is a trading system based on level breakout. The system detects the levels of the last peaks and troughs and decides to enter or exit a position when the price breaks these levels. A buy signal is generated when the close price crosses above the last peak and a...
No notes
|
Trading System
Medium
|
| |
Unlike the original horizontal line drawing tool which displays the line price location, this drawing tool creates an horizontal line that displays the price change and rate of change from the line price location to the last visible close price on the chart.
First, download and install this item.
In the "Bookmark...
No notes
|
Drawing Tool
Basic
|
| |
This is a small but IMHO helpful modification to the built in BarsSince indicator. The enhancement is the addition of a parameter, N, which allows you to choose which prior occurrence of a nonzero value in the Series that you are interested in. You may also provide a...
No notes
|
Indicator
Medium
|
| |
The drawdown line is a drawing tool that plots a horizontal line and displays the drawdown at that price. The drawdown is calculated based on the line level and the highest high visible on the chart.
As an example, say you are displaying the chart of the IWM exchange traded...
No notes
|
Drawing Tool
Basic
|
| |
The following screen calculates the average one-month return for each stock and compares that value with the one-month return of their corresponding industry. The average industry return is calculated using the "comp" function. More info can be found on our blog posts about this composite function.
In order for this screen...
No notes
|
Screen
Medium
|
| |
This item downloads economic calendar data for several currencies. It creates the following ticker symbols (EUR, USD, JPY, GBP, CHF, AUD, CAD, CNY and NZD) and associate economic events to each one of them.
It also creates a custom database (economic_cal) with the following fields:
Date: The economic event's date and...
No notes
|
Downloader
Advanced
|
| |
The following indicator calculates the percentage change between the actual and forecasted economic event.
As an example, let us say you want to calculate the percentage change of the actual vs estimate numbers for the USD consumer Credit and then see its impact on the underlying currency pair.
You can do so...
No notes
|
Indicator
Advanced
|
| |
The following indicator doesn't create a time-series but instead displays some statistics on your chart.
The data will be displayed on the left-bottom corner and will contain the following values:
Drawdown: Maximum drawdown corresponding to the selected bar
...
No notes
|
Indicator
Basic
|
| |
In QuantShare, you can simulate a strategy that buys on Margin by editing the trading system, selecting the "Settings" tab, clicking on "Capital" then updating the "Margin Factor" field.
When trading U.S. stocks, you can for example set this value to 2 or you can set it to a higher number...
No notes
|
Money Manag.
Advanced
|
| |
This money management script calculates the 1-bar return for the strategy's equity curve and the benchmark you provide in the money management inputs. It then compares the values and adds the percentage of bars the equity curve is performing better than the benchmark in the trading system report table.
The percentage...
No notes
|
Money Manag.
Basic
|
| |
The Cyber Cycle function originated from John Ehler's book "Cybernetic Analysis for Stocks and Futures". It is basically a high pass filter....
No notes
|
Indicator
Medium
|
| |
This pivot table displays the number of stocks for each industry.
Each industry is displayed in a row and a second column "Count" would display the number of stocks that belong to each industry.
You would need to update the industry field of each stock first. You can let QuantShare do that...
No notes
|
Pivot Table
Medium
|
| |
To Sharpe ratio was created by William Sharpe in 1966. It is a very popular measures used to calculate the risk/return of an investment.
You can calculate the Sharpe ratio of any security in QuantShare using the "Sharpe" function. However, calculating the Sharpe ratio of a portfolio consisting of two assets...
No notes
|
Indicator
Medium
|
| |
As with the 463 item, this downloader gets historical end-of-day data for several markets from Yahoo finance website.
In addition to that, it will also create a custom database "adjust" and store in that database, the adjustment ratio as well as the unadjusted close.
The adjustment ratio will be stored under the...
No notes
|
Downloader
Medium
|
| |
The Reward/Risk drawing tool would allow you to click somewhere on a chart to define a trade entry price, stop price and a target price. It then displays the stop and distance from the entry price as well as the Reward/Risk ratio.
A value of 1 means that the based...
No notes
|
Drawing Tool
Medium
|
| |
The Google Investing Index is a measure that tracks google search engine queries related to the market-related keywords such as stock, gold, stock market, etf, exchange traded funds, oil...
This item downloads the Google Investing Index from Google servers and associates the data with the following ticker: ^GOOGLEINDEX
You can of course...
No notes
|
Downloader
Medium
|
| |