The Bear Put Spread and the 431 are called debit spread option strategies. In a debit spread strategy, a trader purchases an option with a higher premium and sells another option for the same underlying security with a lower premium. The strategy results in a net debit (Premium of the...
No notes
|
Downloader
Medium
|
| |
An exchange-traded fund (ETF) is a financial instrument traded on a stock exchange, much like stocks. An ETF holds assets such as stocks, futures, or bonds and trades at approximately the same price as the net asset value of its underlying assets over the course of the trading day....
No notes
|
Symbols
Basic
|
| |
Unlike the default Random built-in function of QuantShare which returns a fixed random value of all bars, this function returns a random value for each trading bar.
Usage:
a = RandomBar(0, 100); // Returns a random value between 0 and 100
...
No notes
|
Indicator
Basic
|
| |
The Net Income of a company is its total profit or earnings. It is the company's revenue minus costs (expenses, interest, depreciation, taxes).
The Net Income, also called Net Earnings and Net Profit, can be used by a company to distribute dividends and it can be held as retained earnings.
As with...
No notes
|
Downloader
Medium
|
| |
This trading indicator detects whether a stock is trading at an all-time high or low. In this case, it returns 1, otherwise it returns 0. The function can also be used to detect all-time highs/lows of other time-series, technical analysis or fundamental indicator.
Screen for stock making new all-time highs:
- Select...
No notes
|
Indicator
Medium
|
| |
This trading system ranks the 10-bar rate of return of iShares ETFs that represent the top US industries then buys the ETF that have the lowest return. When the ranking system returns another ETF then the strategy sells the previously purchased exchanged traded fund and buys the first ranked one.
The...
No notes
|
Trading System
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
|
| |
This item retrieves EOD data of Bursa Malaysia stocks from the klseeod.com website. The data goes back to June 2009 and it is downloaded by date. This download item automatically adds new symbols. However, you can use the 341 list of symbols with this item to get the company titles...
No notes
|
Downloader
Medium
|
| |
The "LastEarningsInDays" function returns, for the analyzed stock, the number of days that remains before the next release date.
This function is capable of returning the number of days starting from the last stock's date or starting from today.
Examples: ...
No notes
|
Indicator
Medium
Private
|
| |
This function is a system filter. It calculates the SQN of the market of choice. Whenever the SQN of that market drops below the input value of nSQN, the function returns false. It returns true when there have been 2 consecutive periods of increase in SQN. ...
No notes
|
Indicator
Medium
|
| |
For a complete description of how this money management script was created and the role of each function it contains, please refer to the following article: Create a trading strategy using the money management tool
The money management script, you can get here, creates a simple long strategy that is...
No notes
|
Money Manag.
Medium
|
| |
For traders interested in the Singapore Exchange, I have created an item that downloads historical EOD quotes data for companies listed in the SGX or Singapore Exchange. The item automatically adds symbols to your database (quotes database), so it does not need any symbols list in order to work. However,...
No notes
|
Downloader
Medium
|
| |
This download item get EOD Data for stocks listed on the Muscat Securities Market.
To get stock symbols from the Muscat Securities Market,
- Select "Symbol -> Auto Manage Symbols"
- Search and check "Muscat Securities Market" ...
No notes
|
Downloader
Medium
|
| |
VolDex (symbol: VOLI) is a new index that measures the real-time implied volatility of the SPY (SPDR 500 ETF) by using only at-the-money SPY options (unlike the VIX, developed by CBOE, who uses all SPY options in its calculation).
The index calculates the implied volatility of at-the-money SPY put options of...
No notes
|
Downloader
Basic
|
| |
This money management script loads dividend data and reinvests these dividends in your trading system using the "AddCash" function available in the "Functions" class of the "OnEndPeriod" event.
Dividend data can be collected using the following downloader:
93
...
No notes
|
Money Manag.
Medium
|
| |
Percent Bollinger Bands is a technical analysis indicator derived from the Bollinger Bands indicator, which was developed by John Bollinger. Bollinger Bands consists of three bands, the lower band, the middle band and the upper band. The middle band is an N-bar simple moving average (SMA), the lower band is...
No notes
|
Indicator
Medium
|
| |
Imagine you have a trading rule that turns itself off if the average return of the last trade (or the last few trades) that were generated by this rule are negative or below a specific threshold.
This is exactly what this technical indicator will allow you to do.
You tell him...
No notes
|
Indicator
Medium
|
| |
Here is another date function that can be used to make correspondence between trading bars and actual dates in the calendar. It is named 'EndOfMonth' and it returns 1 for the trading bar that corresponds to the last day in the month. Its principle is simple; it loops through the...
No notes
|
Indicator
Medium
|
| |
There are many indices and ETFs you can find and follow if you want to track the Gold and Silver industry. You can also create your own composite and get more control over how to benchmark the Gold and Silver industry.
The current composite will create a new symbol "_Gold_Silver" by...
No notes
|
Composite
Medium
|
| |
Market indicators such as the percentage of stocks that are trading above or below a specific moving average are well known and often used to determine whether the market is bullish or bearish.
There are many other composites or market indicators that use the close price and the moving average of...
No notes
|
Composite
Medium
|
| |
The Indonesian stock exchange was created after the Jakarta Stock Exchange merged with the Surabaya Stock Exchange in 2007. Before that, the Jakarta stock exchange which was based in Jakarta was the main stock exchange in Indonesia.
This list of ticker symbols lists 312 securities and contains several details about the...
No notes
|
Symbols
Medium
|
| |
Two years ago, I have created a stock market news downloader that gets news data for U.S stocks from an RSS feed provided by Google.
This item downloads the last 10 news items and stores them in a custom database whose name is "google_news". You can get this trading item here...
No notes
|
Downloader
Medium
|
| |
This trading system implements the ConnorsRSI pullback system as described in the ConnorsRSI Pullbacks Guidebook.
A description of ConnorsRSI and the system description are available here:
http://info.tradingmarkets.com/ConnorsRSI_ConnorsRSI.html
...
No notes
|
Trading System
Medium
|
| |
I had the QuantShare development team build this advanced money management (AMM) script to allow testing of several advanced rebalancing options triggered when a new buy signal is received but insufficient margin is available to take the new position.
When a new buy signal is received and insufficient margin is...
No notes
|
Money Manag.
Advanced
|
| |
The maximum drawdown of a stock is calculated using the "Drawdown" function. This function returns the maximum drawdown of a price series since the first bar.
The maximum drawdown composite indicator averages the max drawdown of all stocks in the universe by calculating the max drawdown of each stock and then...
No notes
|
Composite
Medium
|
| |
The majority of stock exchanges report what is called Advancing, Declining and Unchanged volume.
The advancing volume is the total volume of all the advancing issues.
The declining volume is the total volume of all the declining issues.
The unchanged volume is the total volume of all the issues whose price...
No notes
|
Downloader
Advanced
|
| |
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
|
| |
Developed by P.N. Haurlan, the Haurlan Index is a market breadth indicator with three components. The first one, the short-term component, calculates the 3-bar exponential moving average of the number of advancing stocks on the New York Stock Exchange minus the number of declining stocks on the same exchange.
The intermediate...
No notes
|
Indicator
Medium
|
| |
Unlike the majority of stock market risk and volatility measures (such as the Standard deviation), the Ulcer Index was designed, by Peter Martin in 1987, to calculate the volatility in the downward direction only. This technical analysis indicator (Ulcer Index) was first introduced in a 1989's book called "The Investors...
No notes
|
Indicator
Medium
|
| |
Coefficient of Variation (CV) is a measure of the dispersion of points/prices around the mean (Dispersion of a probability distribution).
In statistics, the coefficient of variation is also called variation coefficient, unitized risk or relative standard deviation (%RSD). Because its value is normalized and it is a dimensionless number, it is...
No notes
|
Indicator
Medium
|
| |
The following download item retrieves historical EOD data for the Singapore Exchange (SGX). It gets data very quickly (by date) for the last 22 market days and for all securities (Stocks, ADRs, Company Warrants, ETFs and ETNs).
To get older data, please use the following downloader: 1171. You can also use...
No notes
|
Downloader
Medium
|
| |
This trading system analyzes the crossover of two exponential moving averages (period of 5 and 12) to generate buy and sell signals.
The strategy opens a buy position (market order at open of tomorrow) when the 12-bar moving average crosses above the 5-bar moving average and only if the same crossover...
No notes
|
Trading System
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
|
| |
------------------------------------------------------------------------
------------------------------------------------------------------------
This item no longer works.
You can use the following downloader instead: 463 ...
No notes
|
Downloader
Medium
|
| |
The Simple Decycler is a study created by John Ehlers and presented in the
The idea behind this virtually zero-lagged trading indicator is that the market data can be considered as a continuum of cycle periods each one with a different cycle amplitude. Trending periods could be considered as segments of...
No notes
|
Indicator
Advanced
|
| |
This item downloads unadjusted historical stock market data for several markets. The data comes from the Yahoo servers.
The open interest field stores the stock adjustment factor.
You can use the following item to get adjusted historical daily data:
463
...
No notes
|
Downloader
Basic
|
| |
During a non-trending period, the price of an asset usually crosses above and below its moving average several times in a short period. The power of the bulls is almost equal to that of the bears. The more crossovers occurring between the price and the moving average the more the...
No notes
|
Trading System
Medium
|
| |
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
|
| |
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 end-of-day data for shares and other securities listed on the Deutsche Börse XETRA....
No notes
|
Downloader
Medium
|
| |