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
|
| |
This function creates both the bull power and bear power indicators. Both indicators were created and described by Alexander Elder in its "Trading for a Living" book. They are both used in the popular Elder-Ray indicator.
The bull power shows the buying pressure or the capacity of bulls to push prices...
No notes
|
Indicator
Medium
|
| |
This downloader gets historical holdings of iShares ETFs. The data is downloaded once per month and is available starting from 2010. (The downloader URL-script could be modified to get older data).
The data is stored in a custom database whose name is "ishares_etf_holding". The holdings symbols are stored in the "holdings"...
No notes
|
Downloader
Medium
|
| |
Cutlers' RSI is a variation of the original relative strength index developed by Welles Wilder.
This variation uses a simple moving average instead of an exponential average (in the original formula).
As with the classic RSI, the Cutler RSI is a momentum oscillator that is mainly used to indentify overbought and oversold...
No notes
|
Indicator
Basic
|
| |
This is a variation of the 120. The indicator contains an additional parameter that lets you define a minimum number of trades threshold.
The Buy Indicator performs for each bar a simulation or backtest and returns the average return/performance of the strategy defined in the rule and N-Bar stop parameters. For...
No notes
|
Indicator
Medium
|
| |
For a reliable trading system this score must be > 1.68. You can use it with any of your trading system during back testing to see how good your strategy is.
This script is based on an Advanced Momey Management and to use it, after downloading, follow the steps given below:
Simulation/backtesting...
No notes
|
Money Manag.
Medium
|
| |
The Abu Dhabi securities exchange is a stock exchange located in Abu Dhabi in the United Arab Emirates - UAE. The current ticker symbols list includes the 67 companies that are listed in this stock exchange. The companies sectors are as follows: Bank and Financial services, Real Estate, Telecommunication, Consumer,...
No notes
|
Symbols
Medium
|
| |
This object will do a full download of the historical analyst buy and sell recommendations available on yahoo, and store in a local database (yahoo_analyst_ratings). The rating firm, upgrade/downgrade indicator, the past rating and the current rating are all stored. In addition, the downloader contains a function that...
No notes
|
Downloader
Medium
|
| |
This rule mask demonstrates and provides a template of how to combine the 565 and 566 functions to automatically create buckets off of any time series.
This rule mask converts a time series into bucket values. The resulting values will range between 0 and the one less than the Number...
No notes
|
Rules Mask
Medium
|
| |
This watchlist scans for securities that have parallel support and resistance lines.
This is accomplished using the powerful "autosr" function (Automatic Support/Resistance).
You can read more about how this dynamic watchlist was built by reading the following blog post:
How to Scan for Parallel Resistance and Support Lines ...
No notes
|
Watch List
Advanced
|
| |
Tax implications of your trading should always be taken into account. And in order to do so, I have just created a new money management script that will allow you to measure your trading strategy performance by accounting Taxes.
Depending on your country, you would pay a different tax on each...
No notes
|
Money Manag.
Medium
|
| |
Download seasonally adjusted Real Gross Domestic Product (Real GDP) historical data from the U.S. Department of Commerce: Bureau of Economic Analysis. The data starts from 1947 to present and is updated quarterly. This item creates a symbol whose name is '^REAL_GDP'. The time-series unit is 'Billions of Chained 2005 Dollars'....
No notes
|
Downloader
Medium
|
| |
Yahoo finance website offers traders historical quotes data for more than 50 stock exchanges. This includes the main stock exchanges in the United States and several European and Asiatic stock exchanges.
This trading object lets you download historical quotes for all companies listed on these exchanges. It is almost the same...
No notes
|
Downloader
Medium
|
| |
The Economic Confidence Index is a combination of the Economic Outlook and Economic Conditions measures created by Gallup. The U.S. Economic conditions results from a rate given by Americans regarding today's economic conditions in the country, while the U.S. Economic outlook results from Americans opinion on whether economic conditions in...
No notes
|
Downloader
Medium
|
| |
This trading system tries to reproduce the Global Market Rotation Strategy (GMR) developed by Frank Grossmann (http://www.logical-invest.com/)
The strategy switches, on a monthly basis, between 6 different ETFs:
EEM (iShares MSCI Emerging Markets Indx (ETF))
EPP (iShares MSCI Pacific ex-Japan Idx (ETF))
IEV (iShares S+P Europe 350 Index (ETF)) ...
No notes
|
Trading System
Medium
Private
|
| |
The percentage of stocks that trade above their moving average is a popular measure of market sentiment. When a higher number of stocks trade below their moving average, the indicator value decrease and traders consider this as a bullish sign and expect a rally to occur in the coming days.
The...
No notes
|
Composite
Medium
|
| |
This function calculates the number of days until a contract expires. It works with all symbols that have a date in the 'Expiration Date' field. I am using it with these US options symbols (306, 307).
The function takes no arguments and it just uses the date it finds in the...
No notes
|
Indicator
Medium
|
| |
The majority of companies spend each year a huge amount of money in research and development or R&D. Research and development refers to a creative activity whose purpose is to improve and increase company and its workers knowledge and then to use this knowledge to improve the existing products/applications or...
No notes
|
Downloader
Medium
|
| |
This has been suggested and provided on the Quantshare forum but not uploaded as an indicator/ function (that I can find) Credit: Allan Nathan.
Default is for month (21) and annualized value.
Historical Volatility reflects the past price movements of the underlying. Historical volatility is also referred to as the asset's actual...
No notes
|
Indicator
Basic
|
| |
It was created by Hans Hannula and presented in 1994 in one edition of the Technical Analysis of Stocks & Commodities magazine. It primarily goal is to determine price efficiency over a specific period of time and to tell us whether a security is trending or not. The indicator values...
No notes
|
Indicator
Medium
|
| |
The fails-to-deliver item I have uploaded yesterday (253) downloads data by symbol from the failstodeliver.com website. Because the item needs to get data for each symbol separately, it takes time to fill the database with all +8000 US symbols. For this very reason, I looked at where the failstodeliver.com website...
No notes
|
Downloader
Medium
|
| |
Current drawdown refers to the percentage of decline (long positions) or increase (short positions) from the highest value (long positions) or lowest value (short positions) of the price series since the position was taken.
The current drawdown technical indicator can be applied to any time-series; it is not limited to the...
No notes
|
Indicator
Medium
|
| |
Example: a=AvgCorrelation("SPY,TLT,EEM",100) ;
This function computes the average cross- correlations of the assets in the list. It sums up the correlations of all possible pairs and divides by the number of pairs.
It can help to visualize how correlated more than 2 assets are. Or it can be used in a system...
No notes
|
Indicator
Medium
|
| |
This trading indicator returns the ratio of S&P 500 index to equity put-call volume. It gets the S&P 500 index (Symbol: ^GSPC using the following downloader 463) and divide it by the put/call ratio, which can be downloaded from 146.
The Equity put-call ratio is a sentiment indicator that measures the...
No notes
|
Indicator
Medium
|
| |
The Chi-Squared is a widely used statistical hypothesis test to determine whether observed results are significantly different from expected results or not.
In trading, we can use the Chi-Squared test to determine how meaningful or statistically significant the performance that follows a specific pattern is.
Let us for example say that...
No notes
|
Indicator
Advanced
|
| |
This is an index published monthly by the Federal Reserve Bank of Philadelphia and is used to predict future movements of the economy.
This composite is based on several economic indicators. They are all leading indicators which mean that their changes are likely to precede changes in the economy. These economic...
No notes
|
Downloader
Medium
|
| |
These masks uses some formulas to determine how far is the time-series current value from its high and low of the x preceding bars.
The first mask calculates the distance in percentage between the time-series and its high, while the second use the same calculation but for the low.
The last one...
No notes
|
Rules Mask
Medium
|
| |
There are two ways to download EOD quotes. Downloading data by symbol (one request for each symbol) or downloading data by date (one request for each trading day).
If you are downloading data for few stocks, the first solution should be more appropriate for you. However, if like me you are...
No notes
|
Downloader
Medium
|
| |
Historical exchange rates for Swedish Krona (SEK).
This will download historical data from 1993-today for EURSEK and USDSEK however other rates are available if so configured (see list below). Add symbol names (EURSEK, USDSEK etc.) accordingly. The downloaded data is; Daily EOD (Close), CSV, .(dot) separated.
The Swedish banks daily calculate a...
No notes
|
Downloader
Basic
|
| |
This strategy is based on earnings surprise data and it consists of the following trading rules:
Buy Rules:
- Today's Earnings surprise is higher than 5%, which means the actual EPS is 5% higher than EPS consensus (expected earnings per share by analysts).
- Previous earnings-per-share is positive (previous quarter EPS) ...
No notes
|
Trading System
Advanced
|
| |
This simple script allows you to control the Percentage of Invested Capital that your strategy uses. It is done via the position a defined Instrument with its Moving Average. If the Instrument is above its Moving Average, Percentage of Invested Capital is scaled in to 100%.
If the instrument is below...
No notes
|
Money Manag.
Medium
|
| |
This composite indicator calculates the total short volume of all US stocks. That is, the short selling volume of all companies listed in U.S. exchanges. The composite plug-in calculates this data for every trading bar and associates the result with the symbol '_ ShortVolume'.
The current composite uses the data provided...
No notes
|
Composite
Medium
|
| |
Moody's, Fitch Ratings, Standard & Poor's, EJR and Dominion Bond Rating Service (To name just a few) are credit rating agencies that try to estimate the credit worthiness of a corporation's debt issues and give a score or credit rating to each one. Investors of debt securities (example bonds) can...
No notes
|
Downloader
Medium
|
| |
Hanging Man is used for short term trading when applied to daily charts. Trader can take position accordingly on the particular trading days depending upon the formation of pattern. This will help you screen out stocks having Hanging Man formation.
Usually it is said that if the Hanging Man pattern is...
No notes
|
Watch List
Medium
|
| |
The Annual Return function calculates the trailing annual return of a security. This means that for each bar, the function returns the annual return based on its previous data.
The calculation starts after the first 50 bars. This is because for first bars, annual return time-series would be very volatile.
To...
No notes
|
Indicator
Basic
|
| |
This function returns the current stock's industry position within the QuantShare industry list.
Industry list is automatically added to your database once you get ticker symbols using the "Symbol -> Auto Manage Symbols" feature.
Example:
...
No notes
|
Indicator
Medium
|
| |
NYSE advances and declines object downloads historical end-of-day data of the number of advancing, declining and unchanged stocks that trade in the New York Stock Exchange.
The number of advancing and declining issues is used to calculate several market breadth indicators, for example: Advance/decline line, Absolute breadth index, Advance decline ratio...
Ticker...
No notes
|
Downloader
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
|
| |
The Q-Ratio, developed by the economist James Tobin, is a market valuation method used to estimate the fair value of the stock market. It is calculated by taking the total price of the market and dividing it by the replacement cost of all companies in that market.
The data used to...
No notes
|
Indicator
Medium
|
| |
This item gets main BSE indices as well as sectoral indices from the Bombay Stock Exchange. It downloads EOD data for 23 indices including the SENSEX (The Bombay Stock Exchange Sensitivity Index is a value-weighted index that includes 30 stocks), MidCap, SmlCap (A stock index that tracks the performance of...
No notes
|
Downloader
Medium
|
| |