The normalized close price indicator calculates the price movement of a security by starting with a 100 base value at a specific date.
You just need to specify a start/base date and a security name (optional - if empty then the currently analyzed security will be used) and this function will...
No notes
|
Indicator
Medium
|
| |
The custom range function calculates the high/low range for specific security and time frame.
For example, in a daily chart, it can used to calculate the previous weekly high/low range:
a = CustomRange("", 7);
...
No notes
|
Indicator
Basic
|
| |
This indicator makes a prediction for the returns of the current bar based upon averaging the returns of the NumClosest (parameter) candlestick patterns that were most similar to the current bar's pattern in the Lookback (parameter) period. "Similarity" here is the squared euclidean distance between vectors describing the two...
No notes
|
Indicator
Advanced
|
| |
This function allows you to get the industry name of an external symbol.
As you may know, you can get the industry name of the currently analyzed symbol using the "Industry()" function.
To access the industry of another symbol, download and install this function then type something like:
a = SymbolIndustry("GOOG");
...
No notes
|
Indicator
Advanced
|
| |
This is a swing indicator that may be used during backtesting to reference swing data.
Format is: swingsim(close, threshold, type, ago);
Threshold = movement required in points to constitute a valid swing
Types are the swing metric that is to be returned, valid types include: ...
No notes
|
Indicator
Medium
|
| |
The following is a swing indicator that allows one to plot swings and various swing statistics within a chart. Note that this cannot be used for backtesting, a seperate version called swingsim (1555) may be used for that purpose.
The second parameter defines the swing threshold in points....
No notes
|
Indicator
Medium
|
| |
The random walk index in a trading indicator described by E. Michael Poulos in the technical analysis of stocks & commodities magazine.
The author defines the random walk index as the ratio of the real security move to the expected random walk. A ratio higher than one indicates that the security's...
No notes
|
Indicator
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
|
| |
The "MinDaysEvents" calculates the number of minimum days between two events/data entries in a custom database.
Example:
Say you have a custom database that stores fundamental data. The field "EPS" stores the earnings per share field.
If for any reason you want to know the minimum number of days between two EPS entries...
No notes
|
Indicator
Advanced
|
| |
Dr. Van Tharp developed this Formula for Trading Systems. Later he found out that the SQN Indicator is a very powerful to measure the trendiness.
He applied the SQN formula to the daily percent price change of a stock or an index, it proved to be an excellent measure of the...
No notes
|
Indicator
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 Darvas Box upper and lower boundaries will then form if this high is not touched or penetrated for the next 3 consecutive trading days followed by a retracement low that's not touched or penetrated for a further 3 days in a row, as shown in the picture above. Darvas...
No notes
|
Indicator
Medium
|
| |
This function can be used to calculate Upside/Downside standard deviation or any other custom standard deviation.
As an example, let us say you want to calculate standard deviation of returns but just returns that occurred while a particular stock was trading below its long-term or 250-bar moving average. That particular standard...
No notes
|
Indicator
Basic
|
| |
The Choppiness Index is an oscillator designed to determine if the market is choppy (trading sideways) or not choppy (trading within a trend in either direction). The Choppiness Index is not directionnal. Higher values equal more choppiness, while lower values indicate directional trending.
- the Choppiness Index measures the linearity...
No notes
|
Indicator
Basic
|
| |
The Hull Moving Average (HMA/HullMovingAvg) is a Moving Average/Study created by Allan Hull and described in his book Active Investing.
When adding the indicator to a chart, buy and sell signals are generated (represented by line color changes and buy/sell arrows) base upon a change in line slope (Positive Slope...
No notes
|
Indicator
Basic
|
| |
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 is an Implementation of the Congestion Index Indicator presented in the book "Intermarket Trading Strategies" by Markos Katsanos.
It can be used to identify trading ranges and the direction and normalized strength of an trend. Values above 30 indicate an uptrend and values below -30 can be considered as downtrend.
Markos...
No notes
|
Indicator
Medium
Private
|
| |
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
|
| |
A.K.A. Very Long Term (VLT) Momentum indicator (using monthly timeframes)
Named for Edwin Sedgewick Coppock - this indicator was developed as a way to find the upturns from major stock market bottoms.
He based his settings on how long it takes a person to grieve, and to get over the...
No notes
|
Indicator
Basic
|
| |
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 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
|
| |
Switch- indicators by using C# switchcase function
set in form of 1 = buy, 0 = sell or not buy
Can be customized to incorporate and # of indicators or sub-systems, and then called by a strategy & optimized.
...
No notes
|
Indicator
Medium
Private
|
| |
Demonstrates basic function of translating into binary buy/sell
parameter 1 - Threshold for buy signal
parameter 2 - # of Days lookback
Michael + Scott Walker ...
No notes
|
Indicator
Medium
Private
|
| |
This is a replacement for the RandomValues() function.
This function uses the MersenneTwister random number generator in lieu of the .NET system pseudo random number generator to generate random numbers that change every bar. There are many well documented problems with the native .NET implementation but the biggests is too many...
No notes
|
Indicator
Medium
|
| |
The "LastSplitInDays" function returns the number of days that remains for the next split ex-date for the analyzed stock.
It uses data downloaded using the following item: 1498
The function returns:
A positive value: If the next stock split is in the future. In that case it returns the number of days to...
No notes
|
Indicator
Medium
Private
|
| |
Trend Strength Indicator by Frank Hassler ot engineering-returns.com
I found the TrendStrengthIndicatior trading object on this site. However, I compared it to the results produced by original AmiBroker code published by Frank Hassler and found, that results are quite different. So I rewritten the AmiBroker code to C#. This one generates...
No notes
|
Indicator
Medium
|
| |
The StocRSI indicator is a hybrid indicator that employs a 21 day fast stochastic indicator , 14 day RSI, adds half the value of each and takes a 13 day EMA of the summed value to arrive at the final calculation. It was developed and employed by Don Beasley who...
No notes
|
Indicator
Medium
Private
|
| |
AccuTrack Indicator: This is the QuantShare version of the AmiBroker script for the Investor's FastTrack AccuTrack indicator. Note this the AmiBroker version is not a perfect duplication of the actual Investor's FastTrack version which goes from -100 to +100. However, it is a very close approximation. This version uses a...
No notes
|
Indicator
Medium
Private
|
| |
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
|
| |
The short indicator tells you whether to short the current security or not based on an indicator previous performance.
For each bar, this indicator will calculate the performance of another indicator for the past bars. It will simulate a short and cover after n-bars when the provided indicator gives a...
No notes
|
Indicator
Medium
|
| |
The Lunar phase indicator calculates lunar cycles and highlights occurrences of new moon and full moon phases on a chart.
A new moon happens when the moon/lunar phase indicator returns 1 and a full moon happens when the lunar phase indicator returns -1.
Example of usage:
...
No notes
|
Indicator
Medium
|
| |
This function computes the correlation of daily returns of a stock to the daily returns of a portfolio of stocks.
If we hold a portfolio of AAPL and IBM and we want to check the correlation of GE to our portfolio for the past 100 days, we would use:
corel=CorellationToPortfolio("GE","AAPL,IBM",100);...
No notes
|
Indicator
Advanced
|
| |
This item has been updated on June 5 2014 to compute correlation of daily returns.
Example: a=AvgCorrelation("SPY,TLT,GLD",100) ;
b=AvgCorrelation("SPY,IWM.QQQ",100);
...
No notes
|
Indicator
Medium
|
| |
Double / triple smoothened EMA with flexible alpha to be used in Sector Surfer, AAA and FAA paper models
1455
1454
1453...
No notes
|
Indicator
Medium
Private
|
| |
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
|
| |
The TSI is an intermediate-term absolute (versus relative ) measure of the tendency of a stock to trend or mean revert. The premise underlying the theory is that stocks with a high degree of momentum in relation to volatility are much less likely to mean-revert than those that have...
No notes
|
Indicator
Medium
|
| |
PERCENTRANK of High, Low and Close values translated from Amibroker.
Amibroker Code:
function PercentRankHLC(Data1, Data2, Data3, Periods)
{ ...
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
|
| |
The "SymbolInformation" function displays symbol's information on a chart.
It displays the company or security title, the stock's industry, the stock's sector and the stock's exchange (NYSE, NASDAQ, AMEX...)
In order for this function to work properly, the full name, industry, sector and market fields of your stocks must be filled.
These fields...
No notes
|
Indicator
Medium
|
| |
The "AvgBidAskSpread" is a parameterless function that calculates the average ask price for the current bar minus the average bid price for that same bar.
The indicator uses the newly introduced CSharp-based "cFunctions.GetBidAskData" function to capture last bid/ask updates and performing the necessary calculations.
You can plot this indicator to a chart...
No notes
|
Indicator
Basic
|
| |