This function detects the N-th occurrence of a condition since another condition. For example, since the crossover of MACD above zero, detect the first occurrence of the Stochastics going below 20. Basically, detects the first oversold after the change to bullish trends. The function parameters are:
OccurrenceSince(condition for since, condition...
No notes
|
Indicator
Advanced
|
| |
This EOD strategy uses Fractal Adaptive Moving Average - FRAMA, Buy Sell Simulation Indicator and Percentile - Percent Rank of a Trading Indicator.
Trend is defined as: Frama(50)>Frama(100).
Buy Signal is genereted as: Percent Rank Oscillator of FRAMA(10) ==0.
Sell Signal is generated as: Percent Rank Oscillator of FRAMA(10) == 100. ...
No notes
|
Trading System
Medium
|
| |
Using the pivot table tool of QuantShare, I have created a table that shows the average daily return of a security per month and per year. The table displays years as rows and months as columns and calculates the average daily return for every cell (year/month). The daily return is...
No notes
|
Pivot Table
Medium
|
| |
Advance/decline/unchanged issues are measures of the number of stocks or securities whose price has advanced, declined or remained unchanged. The data comes from stock market exchanges as with the advancing/declining/unchanged volume and the 52-week highs and lows which can be downloaded here (151 and 134).
This item downloads historical data for...
No notes
|
Downloader
Medium
|
| |
The Sortino ratio is a popular measure of the risk of an asset, investment, portfolio or strategy. Its formula resembles the one that describes the Sharpe ratio with a small variation that consists of penalizing only negative returns.
Sortino ratio uses the downside standard deviation instead of the classic standard deviation....
No notes
|
Indicator
Medium
|
| |
The Relative Strength Index or RSI is a normalized momentum oscillator created by J. Welles Wilder. The Relative Strength Index oscillates between 0 and 100. When the RSI is above the 70 area, it is considered overbought and when it is below the 30 area, it is considered oversold. Besides...
No notes
|
Rules
Medium
|
| |
This item downloads historical quotes data for Saudi Arabia stocks (Tadawul Stock Exchange). It also downloads data for various indexes and sectors. (Bank and Financial services, Energy & Utilities, Hotel & Tourism, Industrial Investment, Multi-Investment, Media and Publishing, Petrochemical Industries, Real Estate Development...).
You can choose to download historical data for...
No notes
|
Downloader
Basic
|
| |
Get real-time alerts from Media sentiment. This service provides different kinds of alerts concerning US stocks. These alerts are issued for stocks that are likely to experience a big move in the near future. They are generated when a company management releases its earning news report. Media sentiment analyzes this...
No notes
|
Downloader
Medium
|
| |
Variable Index Dynamic Average (VIDYA) is a special moving average which was developed by Tushar Chande. The complete details about this technical indicator can be found in %u201CThe New Technical Trader by Tushar Chande and Stanley Kroll%u201D.
VIDYA is essentially a dynamic exponential moving average wherein the market volatility is...
No notes
|
Indicator
Medium
|
| |
This trading indicator has the same parameters as the 829 item I have shared yesterday. However, instead of getting a time-series value at a specific bar, this indicator calculates, for the specified price series/indicator, the sum of all bars that occurred before a given time.
For example, the following formula (YTimeSum(volume,...
No notes
|
Indicator
Medium
|
| |
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
|
| |
First introduced in a December 1997 'Stock and Commodities Magazine' article by Stephen I. Klinger, the Klinger Volume Oscillator is a volume-based indicator developed with the intention to be both short-term sensitive and long-term accurate. In fact, KVO measures the sum of in (accumulation) and out (distribution) volumes for a...
No notes
|
Indicator
Medium
|
| |
The disparity index is generally considered as introduced by Steve Nison on his book 'Beyond Candlesticks'.
This indicator is used to measure the percentage change between a security price and its moving average. A DI positive or negative value at a given point indicates that the price is respectively rapidly increasing...
No notes
|
Indicator
Medium
|
| |
The number of stocks hitting their 20-day high compared to the total number of stocks is what this market indicator returns.
This market breadth indicator can applied to all markets. Currently, the composite gets the number of stocks that are making new 20-day highs from all symbols available in your database...
No notes
|
Composite
Medium
|
| |
The Keltner Channel, KC, was developed by Chester W. Keltner and is a technical indicator that looks like the Simple Moving Average Envelopes or Bollinger Bands. It is constituted of two lines that adapt to changes in the security's volatility by using the ATR or average true range indicator.
There are...
No notes
|
Indicator
Medium
|
| |
BlackRock is a company that manages a family of ETFs known as iShares Exchange Traded Funds. An ETF is an investment vehicle with a lot of benefits such as the diversification, transparency of holdings and cost, tax efficiency and the ability to be bought and sold like any stock. An...
No notes
|
Downloader
Medium
|
| |
The staggered entry and exit strategy allows you to enter a percentage of the total number of shares to buy when the first condition is met. The remaining number of positions is entered only when the second condition is met.
For exits, it will close only a percentage of the total...
No notes
|
Money Manag.
Medium
|
| |
In the 1980s, John Bollinger created a technical analysis indicator called the Bollinger Bands. It consists of three bands: the middle band, the upper band and the lower band.
The middle band is an N-Period SMA (Simple moving average). The lower band is the middle band minus X times an N-period...
No notes
|
Composite
Medium
|
| |
This indicator measures the tendency of a security to trend. It does so by calculating a moving average then counting the number of times that moving average crosses the close price in the previous N-bars. The fewer crossovers the more evidence that the stock or security is trending. A high...
No notes
|
Indicator
Medium
|
| |
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 allows you to store a variable value globally so that it can be referenced later by any QuantShare tool.
Since variables between a trading system and money management script cannot be shared (The former uses QS language and the latter uses CSharp/C#), you can for example store a trading...
No notes
|
Indicator
Advanced
|
| |
Major World Indices include the main stock index of several countries, including the United States, China, India, Japan, Canada, UK, Germany, and France.
Although it is not mandatory, you can find a list of ticker symbols for the major world indices here: 635. This list contains the index full name in...
No notes
|
Downloader
Medium
|
| |
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
|
| |
DiDi Index is based on simple (arithmetic) moving averages. In order to calculate simple (arithmetic) moving average, we add the closing price of the currency pair for a number of time periods and then divide this sum by the number of time periods. Thus, short term moving averages respond instantly...
No notes
|
Indicator
Basic
|
| |
Cumulative sum or running total of a technical indicator refers to the algebraic sum of all previous values of this technical indicator.
The Cumulative sum formula is as follows:
A = B + C * previous value of A ...
No notes
|
Indicator
Medium
|
| |
Created by Dr. Rene Koch, the variance ratio indicator measures the degree of mean reversion or trendiness in a time series. It is an easy and fast way to detect whether a security or price series is trending, mean reverting or following a random walk.
The variance ratio interpretation is as...
No notes
|
Indicator
Medium
|
| |
Sentiment indicator from Dennis McNicholl's 2002 Book "Taming Complexity in Trading; Beating the Dow 3 to 1"
It uses statistical techniques to make the stock series stationary and then works on looking at the confidence intervals of the moving standard deviation of the smoothed transformed series.
It is best as a very...
No notes
|
Indicator
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
|
| |
VIX is the ticker symbol for the Chicago Board Options Exchange Market Volatility Index, a popular measure of the implied volatility of S&P 500 index options. Often referred to as the fear index or the fear gauge, it represents one measure of the market's expectation of stock market volatility...
No notes
|
Trading System
Medium
|
| |
This Arms index item is my third market breadth composite index. This first item I have uploaded, 340, calculates the ratio between the number of advancing stocks and the number of declining stocks. The second one, 344, calculates the absolute value of the difference between the number of advancing stocks...
No notes
|
Composite
Medium
|
| |
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
|
| |
A stock is considered to be a threshold security when it has an aggregate fail to deliver position for five consecutive settlement days at a registered clearing agency that total 10 000 shares or more and when this volume is at least equal to 0.5% of the stock total shares...
No notes
|
Downloader
Medium
|
| |
This screener script makes it relatively quick and painless to apply splits to securities.
The script uses the QuantShare custom Splits database to display
the splits that have occurred (or are expected to occur) over a user-defined number of bars.
Enter the number of bars to use to identify splits in the...
No notes
|
Screen
Basic
|
| |
The 'calcA' function is used by the standard error bands function to calculate the alpha linear regression coefficient. It is multiplied by the sum of the close price over the calculation period and then subtracted from the sum of the square of the close price over the same period. CalcA...
No notes
|
Indicator
Medium
|
| |
The Demand Index is a technical indicator that tries to lead price changes using price and volume data. The indicator was developed by Hames Sibbet.
The demand index formula requires several parameters:
Price: A time series that is usually set to the close price, midpoint or high plus low divided by two.
Constant:...
No notes
|
Indicator
Medium
|
| |
This function converts a string to a number. It generates a number from a string or combinations of letters and numbers.
The function is called "Num" and it uses the "GetHashCode" method of an object to generate a number.
The "Num" function can be helpful in many situations.
...
No notes
|
Indicator
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
|
| |
Normally it has been observed that stocks which crosses below their all time lows are poised to go for very sharp downside or will underperform during the market fall. This watch List will enable you to screen out the stocks which are trading at their all time lows. I have...
No notes
|
Watch List
Basic
|
| |
This list of symbols includes Indices, Forex and Futures symbols. It can be used with the following end-of-day historical data downloader: 226. The list is composed of 13 indices, 15 forex pairs and 62 futures contracts.
The symbols' list data includes the symbol name, the security name and the security group...
No notes
|
Symbols
Medium
|
| |
This item downloads numbers available in U.S. companies' balance sheet. The data is retrieved for all U.S. stocks and it includes the following figures:
Receivables: This field includes the money owed to the company by its customers and other entities (receivable) (in millions of dollars) minus provisions for bad debt
Inventory: The...
No notes
|
Downloader
Medium
|
| |