The time segmented volume is a technical indicator that segments the price and volume of a stock according to time intervals.
The idea is to calculate accumulation (buying) and distribution (selling) based on volume and price change. The time segmented volume or TSV indicator increases when the current bar's close is...
No notes
|
Indicator
Basic
|
| |
The function "IsNewBar" detects whether the current bar is a new bar or not (new tick in an existing bar).
If a new tick creates a new bar (Example: 1-min bar) then this functions returns 1, otherwise it returns 0.
The function should be applied with real time data.
...
No notes
|
Indicator
Medium
|
| |
The following function references a previous element in a time-series/vector.
This function is similar to the "ref" built-in QuantShare function but allows you to use "string/text" variables instead of numeric variables.
Example 1:
date1 = refString(date(), 1);
...
No notes
|
Indicator
Medium
|
| |
This function allows you to transform numbers from the following format (example: 1000000) to the following one (1,000,000). The value returned is a string (text).
Here is an example that allows you to plot volume separated by commas:
First remove the default "Plot(volume.." line your formula (Right click on a chart then...
No notes
|
Indicator
Basic
|
| |
This function creates a chart with different plots usefull for asset allocation / rotation systems as an update to 1005 :
1. Pane: Relative performance of assets indexed dynamically to first visible date on chart, e.g. changes when scrolling chart
2. Pane: Trend indicator of different assets based on custom indicator and...
No notes
|
Indicator
Medium
|
| |
Update to 1005 to pull watchlist symbols and visible startdate of chart through global variables.
Use this or similar formula in your chart pane:
...
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 function automatically draws lines for non-closed gaps; - both gap down and gap up. It takes one parameter named "LookingBack" that indicates the numbers of bars to backward scan, e.g. 100 means that the function scans 100 bars backward from last bar. If the parameters is set to zero,...
No notes
|
Indicator
Medium
|
| |
The current function retrieves data from the quotes or a custom database then performs a calculation on the different values that occurred within each analyzed bar.
Here is an example:
Imagine you are working with monthly data and you want to return the average close price (daily data) for each monthly bar....
No notes
|
Indicator
Advanced
|
| |
This function allows you to enter several criteria (segments) and an index. It then calculates the result of the segment referenced by the index.
Let us say that for example, you want to create two segments:
Overbought Stocks
Oversold Stocks
...
No notes
|
Indicator
Medium
|
| |
The built-in "GetData" function allows you to retrieve data from a custom database (fundamental, news, sentiment, put/call ratio...). It gets data for the last field's value that occurred during each trading bar.
Imagine you have a volume field (daily data) and you want to display the volume's sum in a...
No notes
|
Indicator
Advanced
|
| |
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
|
| |
This function calculates the number of days between today (current bar's date) and the specified date.
The date you should specify must follow this format: Month/Day
Example of use: ...
No notes
|
Indicator
Medium
|
| |
This simple indicator converts a number of seconds (Intraday) to the equivalent number of bars given the analyzed data.
For example, let us say you want to calculate the return of a stock in the last hour.
If you are working on a one-minute chart, you can type:
...
No notes
|
Indicator
Basic
|
| |
This indicator checks a specific condition using different time frames. First of all, it will check if your condition is met in the daily period. After that it will verify the condition using weekly period then monthly period.
For example, if you type:
a = IsMet3("rsi(14) > 80"); ...
No notes
|
Indicator
Advanced
|
| |
If you want to calculate the return of a time series (example: stock's price) since a specific event or condition occurred then you can download this function and use it as follows:
Example 1: Stock return since the beginning of the year
cond = year() != ref(year(), 1); ...
No notes
|
Indicator
Medium
|
| |
Here is a trading indicator to calculate the Jensen index or alpha of a particular security. When evaluating the return of a security or a fund, it is important to take into account the risk. The alpha indicator helps you achieve this by measuring risk premiums in terms of beta....
No notes
|
Indicator
Advanced
|
| |
The Trend Trigger Factor Indicator is similar to the RSI Indicator. This indicator was originally used to trade and and analyze price movements in the stock exchange and commodities market.The TTF is used as a trend identification indicator. It uses an n number of price periods to calculate the direction...
No notes
|
Indicator
Medium
|
| |
The plurality index is a market breadth indicator based on the number of advancing and declining issues. These numbers must be downloaded first before using this indicator: 159. Note that the plurality index uses two ticker symbols created by the previous downloader: ^ADVANCE-ISSUES-NYSE and ^DECLINE-ISSUES-NYSE.
The plurality index is always positive...
No notes
|
Indicator
Medium
|
| |
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
|
| |
Returns True on the 1st trading day of the month....
No notes
|
Indicator
Basic
|
| |
Do you want to know how an asset performed in the past following a specific pattern or event?
Now, you can with the new trading indicator (PatternPerf) I am presenting here. It is the perfect indicator for creating adaptive strategy. Why? Because on each trading bar, this indicator tells you how...
No notes
|
Indicator
Medium
|
| |
By measuring and averaging intercorrelation between different assets, you can create a market sentiment indicator and add it in your trading arsenal.
The sentiment indicator you are about to download calculates the average intercorrelation between two or more securities. In mathematical terms, it takes a security, calculates the 10-bar correlation with...
No notes
|
Indicator
Advanced
|
| |
The next chart display different treasury yield curves for different maturities:
...
No notes
|
Indicator
Advanced
|
| |
The S&P 500 volatility ratio indicator compares the volatility of a stock with the volatility of the S&P 500 index. The ratio is calculated by taking the N-bar volatility of the analyzed stock and dividing it by the N-bar volatility of the S&P 500 index.
Here, the standard deviation is...
No notes
|
Indicator
Advanced
|
| |
The "GetWeekNumber" function returns the week's number for each month. The value will vary from 1 to 5, where "1" indicates the first week of the month and "4 or 5" the last week of the month (depends on the number of days in the month).
This function can be used...
No notes
|
Indicator
Medium
|
| |
The standard error of the estimate is a measure that tells us how close our values are from the regression line. In other words, it measures the accuracy of predictions. The lower the standard error of the estimate the better the predictions are.
When applied to the close series, we can...
No notes
|
Indicator
Advanced
|
| |
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
|
| |
This indicator returns the percent of time a security spent trading above a certain moving average. You just have to specify the lookback period and the moving average period and the indicator will calculate the number of bars where the security traded above its N-bar moving average and divide that...
No notes
|
Indicator
Medium
|
| |
This Reverse Engineer RSI (RSI PREDICTOR) helps you to know what stock price must be reached in order to trigger a particular RSI value. For example, if I want to buy a stock or ETF on the close today if the RSI(2) is below 50. How do I know...
No notes
|
Indicator
Medium
|
| |
The built-in "random" QuantShare function returns a random value given a min and max interval. The random number is the same for all bars. It will be no lower than "min" and no higher than "max".
The current "RandomValues" function is almost the same but instead of assigning the same...
No notes
|
Indicator
Medium
|
| |
What is the ConnorsRSI?
It consists of three components:
a. Short term Relative Strength, i.e., RSI(3).
b. Counting consecutive up and down days (streaks) and "normalizing" the data using RSI(streak,2). The result is a bounded, 0-100 indicator. ...
No notes
|
Indicator
Medium
|
| |
The "AutoSR" function is a very useful trading indicator that automatically calculates support and resistance lines for any security. It can be used to calculate the last support or resistance lines (Detect chart patterns using the auto support/resistance indicator) or it can be used to calculate the support and...
No notes
|
Indicator
Advanced
|
| |
Here is a nice function that displays potential stock splits on a chart.
By simply adding the "DetectSplits" function to your chart, you will be able to quickly see whether the stock data has potential non-adjusted splits or not.
The function can detect many types of splits and reverse splits, including 3:1,...
No notes
|
Indicator
Medium
|
| |
Here is an example of how to use fast Fourier transform in QuantShare.
This function calculates the amplitude of the different FFT bins and plots each one on a chart using each time a different color.
How it works:
- The function "FFtAmpPlot" gets a time series (For example, the close time series)...
No notes
|
Indicator
Advanced
|
| |
The flat market indicator is a technical analysis indicator that can help you identify possible congestions in your asset's prices.
Congestion is a situation where no significant change in asset's price happens. It also sometimes indicates areas where heavy trading volume occurred in the past. Congestion periods are sometimes followed by...
No notes
|
Indicator
Medium
|
| |
This indicator plots candlesticks with four different colors instead of two.
The buit-in "PlotCandleStick" function plots a Red bar (or any other color defined in the settings) if the bar's close is lower than the bar's open. It plots a Green bar if the bar's close is higher than the...
No notes
|
Indicator
Medium
|
| |
The Qualitative Quantitative Estimation indicator is calculated based on a combination of the smoothed relative strength index (Moving average of RSI) and the average true range (ATR is used as a volatility based trailing stop) indicators. The QQE or Qualitative Quantitative Estimation indicator is particularly useful for volatile assets (stocks,...
No notes
|
Indicator
Advanced
|
| |
The Fractal Adaptive Moving Average (FRAMA) indicator was introduced by John Ehlers. Based on the assumption that market prices are fractal, this indicator presents a new method of adaptive smoothing. The purpose of this indicator is to eliminate bad whipsaw trades.
A moving average is generally used for trend identification. Attention...
No notes
|
Indicator
Medium
|
| |
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
|
| |