The trend deviation indicator or TD is the ratio of the close price to its N-Bar simple moving average.
An increasing absolute value signals a divergence or an increase in the difference between the close price and its moving average, while a decreasing absolute value indicates that the close price is...
No notes
|
Indicator
Medium
|
| |
This function returns the total number of ticker symbols in your database when the provided parameter is empty.
Example:
a = nbtickers("");
plot(a, "Number of tickers");
...
No notes
|
Indicator
Basic
|
| |
// RSI + SMA(200) + Hurst v001
// 2013-07-16
Inspired by Larry Connors' work on RSI(2). The system buys major ETFs on weakness [RSI(2) < 5] and sells when the recovery starts [RSI > 65]. The system is long only and trades when the price is above the 200 day moving average....
No notes
|
Trading System
Medium
|
| |
The SMM trading indicator is very similar to the SMA (Simple Moving Average) function, except that instead of returning the average (or mean) price it returns the median price.
A median is conceptually similar to a average except that an average is affected by outliers while a median is not. It...
No notes
|
Indicator
Basic
|
| |
This item downloads Ownership data for US stocks. The data is downloaded from the finviz website and a total of nine ownership ratios are retrieved. The fundamental ratios are stored into the following database 'fund_ownsership', which is a custom historical database.
Each time you run the downloader, a pre-script that I...
No notes
|
Downloader
Medium
|
| |
Here is how this technical analysis indicator works:
- Calculates support and resistance for each trading bar (support and resistance are calculated based on the period you provide and using the "AutoSR" function of QuantShare)
- Detects whether a security breaks its support or resistance
- Returns the percentage of increase (one bar)...
No notes
|
Indicator
Advanced
|
| |
The MSR is a support and resistance indicator developed by David Varadi and introduced in his website cssanalytics.wordpress.com.
This technical indicator tries to measure the support and resistance levels by calculating the middle price over a short/intermediate time frame. Data is normalized using the Percent rank indicator, which can be downloaded...
No notes
|
Indicator
Medium
|
| |
The S&P 500 Earnings is calculated by taking the 12-month earnings per share for all stocks that constitute the S&P 500. The S&P 500 is one of the most popular indexes; it tracks the performance of 500 American large-cap companies.
An increase in the S&P 500 earnings means that the biggest...
No notes
|
Downloader
Medium
|
| |
Using the Hull moving average, a market rule, two time frames and an N-Bar stop, this strategy generates an annual return of 30.91%, a high Sharpe ratio of 2.13 and a very low drawdown (-16.21%). The strategy beta is equal to 0.29 and the correlation between daily returns and S&P...
No notes
|
Trading System
Medium
|
| |
The maximum drawdown is equal to the highest drawdown value over a given period of time. In a trading system, it refers to the largest drop (could be expressed as a percentage) of your portfolio.
This technical analysis indicator can be applied to any price series or indicator. It performs the...
No notes
|
Indicator
Medium
|
| |
Price and Volume Trend, also called PVT, is a technical analysis indicator that is similar to the On-balance Volume. While the On-balance volume adds up the volume value for each bar times 1 or -1 depending on whether the close is higher or lower than the previous close, the Price...
No notes
|
Indicator
Medium
|
| |
I bet most or all of your trading systems use the same order types to buy and short securities. My strategies also use single order type logic to enter all positions.
Here is a money management script that updates the default order type depending on a trading rule. The script transforms...
No notes
|
Money Manag.
Medium
|
| |
This item downloads last implied volatility data for U.S. stocks. The implied volatility is calculated from the options data for each stock.
Historical or statistical volatility is the past volatility of the underlying security and is measured using the annualized standard deviation. The implied volatility on the other hand is the...
No notes
|
Downloader
Advanced
|
| |
Investopedia defines oversold as
1. A condition in which the price of an underlying asset has fallen sharply, and to a level below which its true value resides. This condition is usually a result of market overreaction or panic selling.
2. A situation in technical analysis where the price of an asset...
No notes
|
Watch List
Medium
|
| |
Here is an intraday data downloader that retrieves one-minute bars snapshot for ETFs and Stocks of several major exchanges. Intraday data can be downloaded for stocks listed on the majority of exchanges supported by Yahoo. This includes: The New York Stock Exchange, NASDAQ, OTC Exchanges, National Stock Exchange, Sao Paulo...
No notes
|
Downloader
Medium
|
| |
The trading system is composed of two trading rules. The first one is triggered when a stock share price closes below its 20-Bar Bollinger Lower Band. The second one is a market-timing rule that prevents the trading system from entering new orders when the market is declining. A market decline...
No notes
|
Trading System
Medium
|
| |
The "Money Flows - Buying Weakness" is a list of companies whose stocks are trading lower and have the largest inflow of money for last trading day. This list of stocks is released by the Wall Street Journal.
This object downloads this list and then stores the data in a database,...
No notes
|
Downloader
Medium
|
| |
|
|
The price to book ratio is a fundamental measure to value stocks by comparing a company's book value to its market price.
The book value, which is the portion of the company that is held by shareholders, is calculated by subtracting the total liabilities of the company to its total...
No notes
|
Downloader
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
|
| |
This market indicator returns the number of stocks upgraded by analysts minus the number of stocks downgraded. A stock upgrade occurs when an analyst increases the investment rating of a company. An upgrade often happens when the company financials and fundamentals show improvements.
Analyst downgrades or upgrades data is retrieved using...
No notes
|
Composite
Medium
|
| |
The Advance Decline Volume Ratio, which is also called the Up/Down Volume Ratio, is a market breadth indicator that calculates the ratio of advancing volume to declining volume. The advance-decline volume data can be downloaded using the following item: 151. You can also get the advance decline issues from here:...
No notes
|
Composite
Medium
|
| |
An increase in volume can be detected in several ways. For example, you can calculate the ratio of the total volume in the last five bars to the volume of the last 50 days. The higher the ratio is the higher the increase of the volume during the last days.
Here...
No notes
|
Screen
Medium
|
| |
This was inspired by an article on tweaking Harry Browne's Permanent Portfolio (I cannot find that article... )
This is v.01 so it's not 100% checked and verified.Please report any errors or mistakes.
The basic PP portfolio is equal weight in 4 assets:
25% Equity ...
No notes
|
Trading System
Medium
Private
|
| |
Volume near price is a technical indicator that returns the total volume near the current price level that occurred in previous periods. For each period, the indicator calculates the total volume of the previous N period where the close price was between the current price and a threshold value (+-)....
No notes
|
Indicator
Medium
|
| |
The current fundamental data downloader gets several valuation metrics or ratios for stocks listed on US exchanges from the finviz website. Valuations ratios are measures of how expensive or cheap a stock or company is; they are used by analysts, traders and investors to assess the attractiveness of the company.
The...
No notes
|
Downloader
Medium
|
| |
The Geometric moving average calculates the geometric mean of the previous N bars of a time series or trading indicator. The simple moving average uses the arithmetic mean, which means that it is calculated by adding the time series' value of the N previous bars and then dividing the result...
No notes
|
Indicator
Medium
|
| |
One way to discover stocks that are in a trading range and may move in one way or another in the coming days is to count the number of close and moving average crossovers over the previous days. For example, a stock that had four crossover during the last 10...
No notes
|
Indicator
Medium
|
| |
This item downloads U.S. Crude Oil and Liquid Fuels Supply, Consumption, and Inventories historical statistics data. The data is retrieved as an Excel file from the Energy Information Administration website (Official Energy Statistics from the U.S. Government), it is then parsed and updated so it can be inserted into the...
No notes
|
Downloader
Medium
|
| |
The Weighted Linear Regression Is an extension of the standard Linear Regression, where a weight is added to each of the points.
It can be used to calculate the linear regression of the closing prices by considering the volume traded on each day, This indicator compared to the standard Linear Regression...
No notes
|
Indicator
Medium
|
| |
This watchlist allows selection of any symbol from the watchlist grid - nothing is filtered out. I have found it more convenient to locate symbols from the watchlist panel rather than from the drop down lists on the Quantshare toolbar. Right clicking a symbol in the watch list displays the...
No notes
|
Watch List
Basic
|
| |
This is an enhancement from the "1327" MM script. This version has many calculation bug fixes and adds the following:
Four inputs:
1) # Tr Rolling R - the number of trades to use in rolling R/SQN calculation
2) Include Dividends - flag to indicate whether to include dividends in calculations (requires...
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 High-Low range technical indicator returns the percentage of maximum increase in a stock or security during the previous N trading days. To measure this, it calculate the percentage increase during the previous N bars from the lowest value to the highest value, that is, the highest value over a...
No notes
|
Indicator
Medium
|
| |
Vertical Horizontal Filter (VHF) was created by Adam White to identify trending and ranging markets. VHF measures the level of trend activity, similar to ADX in the Directional Movement System. Trend indicators can then be employed in trending markets and momentum indicators in ranging markets.
Vary the number of periods in...
No notes
|
Watch List
Medium
|
| |
The Trade Weighted Index or Trade Weighted Exchange Index is an economic indicator used to compare an exchange rate again several other exchange rates. A country calculates the Trade Weighted Index by weighting exchange rates of its major trading partners. Each trading partner's currency weight is equal to its share...
No notes
|
Downloader
Medium
|
| |
The Chart Pattern Indicator is a market tool developed by Thomas Bulkowski and updated on its website thepatternsite.com.
The Chart Pattern Indicator calculates the ratio of the total number of bullish patterns to the total number of bullish and bearish patterns for approximately 500 U.S. stocks. The result is expressed as...
No notes
|
Downloader
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
|
| |
Almost one month ago, I have created and uploaded a trading object that downloads industry names for stocks listed on US exchanges and updates the industry field of each stock in your database.
The same trading item gets also sector data but do not use it. This is why I...
No notes
|
Downloader
Medium
|
| |
If you add a stock's volume to a cumulative value when the stock's price goes up, subtract volume from the same cumulative value if the stock's price goes down and repeat this step for every trading bar then you will end up with the first and most popular technical analysis...
No notes
|
Composite
Medium
|
| |