This item calculates the SCTR (Stock Charts Technical Ranking). Please see the link for description. https://school.stockcharts.com/doku.php?id=technical_indicators:sctr
cFunctions.SetForwardAndBackwardBars(200, 0);
String str = "EMA200_ = ((Close - ema(200))/ema(200)) * 30;" + ...
No notes
|
Indicator
Medium
|
| |
By default, users are unable to take advantage of global variables inside of charts and other features. This function reads the specified global variable and returns its value as a string (not a number). If the global variable does not exist, this function will return a blank string.
By itself, GetVariable...
No notes
|
Indicator
Medium
|
| |
This downloader is for ingesting the free version of the SimFin+ quarterly balance sheet bulk data.
You can get the data here: https://simfin.com/data/bulk
The downloader assumes that you have downloaded and unzipped the .csv file to this location: c:\temp\us-balance-quarterly.csv
...
No notes
|
Downloader
Medium
|
| |
The ISEE Index is an index that tries to measure the market sentiment by comparing the number of calls bought to open on the International Securities Exchange against the number of puts bought to open. The calculation excludes market makes and firm trades because these are not considered to be...
No notes
|
Downloader
Medium
|
| |
This function loops through each trading bar and update any zero value with Nan
The function could be useful in many situation. Here is how it is used in this how-to lesson:
No notes
|
Indicator
Basic
|
| |
The Martin Pring's KST trading system is based on the KST (Know Sure Things) oscillator developed by Martin Pring. The idea of this oscillator is to make rate of change readings easier for traders to analyze.
In this trading system, the crossover of the KST oscillator with its smoothed version...
No notes
|
Trading System
Medium
|
| |
This money management script adds a logic to prevent a position from being closed if it isn't active for at least a specific number of bars.
As an example, if you specify the minimum trade bars to 10 then any position that is about to be closed but was not bought...
No notes
|
Money Manag.
Medium
|
| |
High Moving Average and 2 low ROC strategy....
No notes
|
Trading System
Medium
|
| |
With that downloader you can get very accurate EOD and Intraday Data from equities, futures and forex.
This downloader is using the free API function getQuote() from Barchart.
You can found a detail description here: https://www.barchart.com/ondemand/api/getQuote
...
No notes
|
Downloader
Medium
|
| |
With that downloader you can get very accurate EOD and Intraday Data from equities, futures and forex.
This downloader is using the free API function getHistory() from Barchart.
You can found a detail description here: https://www.barchart.com/ondemand/api/getHistory
...
No notes
|
Downloader
Medium
|
| |
This function calculates the high or low of a trading session within a specific period/interval. You can define a start and end time, whether to get the high and low and the function returns the last high or low that occurred during that time frame.
Example of usage:
// Calculates the high...
No notes
|
Indicator
Medium
|
| |
Convert a text/string to a numeric value.
For example, if you have a numeric data stored in a text field such as Name1, Name2... and you want to use this in a QuantShare formula, you can use this function to do so:
a = ToNumeric(Name1());
...
No notes
|
Indicator
Medium
|
| |
Moving Average Derivative
This Indicator shows the value of the slope (Derivative) of the Moving Average with X days.
The slope is calculated in % increase.
A negative slope means the Moving Average is decreasing, so a bearish signal to the the stock.
...
No notes
|
Indicator
Medium
|
| |
quant fund settings
run this to find the three stocks...
No notes
|
Trading System
Medium
|
| |
This item will allow you to download any U.S economic series from the FRED (Federal reserve bank of St. Louis) website.
The downloader is quite easy to use. Once it is downloaded and installed in QuantShare, open it then select the "Ids" tab on the right. There you need to enter...
No notes
|
Downloader
Medium
|
| |
Screens stocks using Ketlner's Channel and MACD histogram slope.
I screen for a NEGATIVE MACD Histogram slope below the 0 reference line to prevent being too late for the pullback.
Filters stock that either have it's close lower than the -2 ATR or has a price rejection candle with the low greater...
No notes
|
Screen
Medium
|
| |
Alma is a moving average developed by Arnaud Legoux & Dimitris Kouzis-Loukas. It uses curve of the normal distribution (Gauss) which can be updated using the offset parameter.
This technical indicator has four paramters:
Series: Timeseries to use for the moving average
Window: Lookback period
...
No notes
|
Indicator
Medium
|
| |
This script is simulating a trailing stop limit buy/sell order with exact levels.
With the first parameter you can adjust the distance of the limit entry in percent based on the last high (long order) or low (short order) and with an second parameter you can setup the valid time of...
No notes
|
Money Manag.
Medium
|
| |
!!! PLEASE ADD A TOKEN OR THIS DOWNLOADER WILL NOT WORK!!!
Tiingo IEX Intraday Downloader for Quantshare...
No notes
|
Downloader
Medium
|
| |
Based off of a buy/sell signals mostly using the signals report.
When updating please date your update and make it person specific so we don't destroy the original.
Absolute goal is CAGR >20% with drawdown
No notes
|
Trading System
Medium
|
| |
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
|
| |
------------------------------------------------------------------------
------------------------------------------------------------------------
This item no longer works.
You can use the following downloader instead: 463 ...
No notes
|
Downloader
Medium
|
| |
This downloader gets historical data from Alphavantage website. The data is available for free and the last daily bar is constantly updated with real time data.
The data is adjusted for splits and dividends and it is available for the last 20 years.
In order to be able to download data, you...
No notes
|
Downloader
Medium
|
| |
This downloader gets free intraday 1-minute data from Alphavantage website. The data is available for the past 10 to 15 trading days and the current day is updated with real time data.
Before using this intraday downloader, you need to obtain first a free ApiKey from the Alphavantage website.
- Visit the...
No notes
|
Downloader
Basic
|
| |
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
|
| |
This function returns the number of calendar days between two dates.
For example, if you want to know the number of calendar days (not trading days) between the current bar and the previous bar, just type:
a = daysBetweendates(date(), RefString(date(), 1));
plot(a, "");
...
No notes
|
Indicator
Basic
|
| |
This is a modified version of the "GetDataString" function which gets a string/text from a custom database field.
The modified version allows you to get the last (non empty) string on any given trading bar.
As an example, let us say that you have a database whose name is "db" and a...
No notes
|
Indicator
Medium
|
| |
When added to a chart, this function generates a beep each time a new bar is created.
This function could be particularly useful when streaming real time data in a chart with a custom periodicity (Tickers per Bar, Range Bar.). It allows you to be quickly notified each time a new...
No notes
|
Indicator
Medium
|
| |
This is the Zweig Indicator. You can change the percentage values or optimize them based on the market you are looking at. For US stock markets, 4% seem to work.
After a buy signal, generate the next sell signal upon a 4% or greater decline from...
No notes
|
Indicator
Medium
|
| |
This money management item allows you to specify an interest rate so that the backtest tool can use it to calculate interest earnings on your cash.
Note that when your balance/cash is negative (Example using margin), the backtester will withdraw cash daily based on that fixed interest rate.
You can see the...
No notes
|
Money Manag.
Advanced
|
| |
This downloader will retrieve historical daily data for crytpocurrencies from cryptocompare.com (see symbols list below). The request is for prices based on USD. You may change the script and request prices based on BTC (bitcoin).
Notes:
1. Cryptocompare.com API returns 2 volume fields: volumefrom and volumeto. We retrieve the volumeto field.
2....
No notes
|
Downloader
Medium
|
| |
This item downloads EOD data for stocks from Tiingo website. The service covers more than 40,000 tickers including US stocks (+10,000), Chinese stocks, Mutual funds and ETFs.
What you need to do:
- Download the item and install it into QuantShare
- Select it in "Download -> Download Manager"
...
No notes
|
Downloader
Medium
|
| |
This indicator uses the polynomial nonparametric regression mathematical formula to calculate the center of gravity of a moving stock (blue line) and other standard deviations. The amplitudes of these deviations are proportions of the golden number 1.618.
The center of gravity indicator was created by Mostafa Belkhayate.
This indicator is a modified...
No notes
|
Indicator
Medium
|
| |
This script is simulating a trailing stop limit buy/sell order with exact levels.
With the first parameter you can adjust the distance of the limit entry in percent based on the last high (long order) or low (short order) and with an second parameter you can setup the valid time of...
No notes
|
Money Manag.
Medium
|
| |
The current pivot table displays the number of increases (today's close higher than yesterday's close) for each month and for each year for the SPY.
You can update the pivot table to display data for any indicator you want, you can also select the "Values" field, click on the "Symbols" tab...
No notes
|
Pivot Table
Medium
|
| |
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
|
| |
This item downloads share volume opening and closing crosses from the NASDAQ crossing network. These are the share volume on the open and close auctions for each security listed on the NASDAQ exchange. The auction will determine the stock official open and close prices.
The data is available starting from 2008...
No notes
|
Downloader
Medium
|
| |
Unlike the 1406 script, the current one exports the date in addition to the equity value.
It will automatically open an excel document with the date and equity value for each data point.
Please note that in order for this item to work you need to add a reference to the excel...
No notes
|
Money Manag.
Medium
|
| |
This new "Outperform" indicator calculates the percentage of trading periods where a stock or an ETF outperforms a benchmark.
The indicator first gets the benchmark symbol. It then takes "period" and "count" as parameters. The "period" is the number of trading bars used to compare the currently analyzed security with the...
No notes
|
Indicator
Medium
|
| |
This function returns the total number of ticker symbols in your database when the provided parameter is empty.
Example:
a = nbtickers("");
plot(a, "Number of tickers");
...
No notes
|
Indicator
Basic
|
| |