This downloader imports EODData.com (end of day only) formatted text files from your hard drive. EODData.com allows free end of day data downloads for a number of exchanges as long as you register (see: http://www.eoddata.com/download.aspx). If you pay for a premium membership, they also provide you with a proprietary downloader...
No notes
|
Downloader
Medium
|
| |
This trading system is based on the ratio of two short-term relative strength indicators.
The ratio is created by dividing the 7-bar RSI with the 2-bar RSI.
That ratio is then ranked for all stocks in NASDAQ 100 index and the top 5 stocks are bought at the open of the next...
No notes
|
Trading System
Advanced
|
| |
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 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
|
| |
Megan ratio is a performance metric that can be used to assess and compare different trading system results. Megan ratio was introduced in an article in the Stock and Commodities magazine by Oscar G. Cagigas and it stands for maximum exponential growth annualized.
This money management script calculates the Megan ratio...
No notes
|
Money Manag.
Advanced
|
| |
AMM model for Butler Adaptive Asset Allocation paper:
http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2328254
"The paper addresses flaws in the traditional application of Modern Portfolio Theory related to Strategic Asset Allocation. Estimates of parameters for portfolio optimization based on long-term observed average values are shown to be inferior to alternative estimates based on observations over much shorter...
No notes
|
Trading System
Medium
Private
|
| |
AMM model following the logic of Sector Surfer (www.sumgrowth.com)
Basically rotates each month into the Top1 (only one held), and uses autocorrelation market filter on SP500
- Uses special trend function SSEma / SSEma1 which is double smoothened EMA 1456 ...
No notes
|
Trading System
Medium
Private
|
| |
QS language model of 2012 Keller "Flexible asset allocation" paper:
http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2193735
The model ranks the following assets by momentum, correlation and volatility, rotates monthly, equal weight:
...
No notes
|
Trading System
Medium
Private
|
| |
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
|
| |
This trading system tries to reproduce the Global Market Rotation Strategy (GMR) developed by Frank Grossmann (http://www.logical-invest.com/)
The strategy switches, on a monthly basis, between 6 different ETFs:
EEM (iShares MSCI Emerging Markets Indx (ETF))
EPP (iShares MSCI Pacific ex-Japan Idx (ETF))
IEV (iShares S+P Europe 350 Index (ETF)) ...
No notes
|
Trading System
Medium
Private
|
| |
V1.4:
-Added 5 day smoother to ROC calculation to avoid date picking
-Cleaned up and simplified coding a bit
-Top2/3 approach does not add value, decreases performance drastically
-Changed everything to daily period, basically same performance as monthly period ...
No notes
|
Trading System
Medium
Private
|
| |
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
|
| |
With the 'composite' plugin in QS, we can easily create our own indices. The simplest construction gives a price-weighted index. One drawback of a price weighted index is that when a high priced stock ceases to be a member of the index, it results in a downward gap for that...
No notes
|
Composite
Medium
|
| |
Here an interesting page that allows EOD download by ISIN codes for several exchanges since 2000. All ISIN symbols incl non-public indices, commodities, etc seem to work.
http://charts.dgap.de/clients/dgap/download_share.php?lang=german&isin=BRIBOVINDM18&start_day=10
&start_month=12&start_year=1992&end_day=10&end_month=06&end_year=2014&exchange=XETRA&go=download
...
No notes
|
Downloader
Medium
Private
|
| |
Test of long/short market filter based on cross of two Stochastics running 2x long SP500 (SSO) / 2x short SP500 (SDS).
Initial performance (Cagr +40%, Sharpe >1) seems interesting in some market times, but needs additional filters for stability and reduce high drawdowns. I post here if somebody is interested...
No notes
|
Trading System
Medium
Private
|
| |
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
|
| |
RSI3 Box is a long-only mean reversion system that trades large, liquid ETFs. This version has an average hold time of 2 days. I haven't explored the system in detail -- some optimization, but haven't tested a ton for robustness -- but I think it has promise and a ton...
No notes
|
Trading System
Medium
Private
|
| |
Structural Arbitrage
This strategy was implemented to verify some ideas of Harry Long I read on Seeking Alpha. It exploits different prices of long duration bonds and VIX ETFs, which can both be used as substitutions for equity hedging.
Here is the article on Seeking Alpha: http://seekingalpha.com/article/2276573-the-quant-strategy-that-returned-36-percent-ytd-with-etps#comments_header ...
No notes
|
Trading System
Basic
Private
|
| |
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
|
| |
This trading system is based on Tony Cooper's volatility trading strategy #3, which is to simply buy XIV when the VIX futures are in contango and buy VXX when the VIX futures contracts are in backwardation.
It adds to Tony Cooper's startegy by adding a couple of buy and sell rules....
No notes
|
Trading System
Basic
Private
|
| |
This trading system reproduces the Global Sector Rotation (GSRS) Investment Strategy developed by Frank Grossmann
http://www.logical-invest.com
http://www.logical-invest.com/strategy/global-sector-rotation-low-volatility
http://www.logical-invest.com/strategy/global-sector-rotation-aggressive
...
No notes
|
Trading System
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 is an expansion and on the original which diplayed prices rather than returns. I did this 2 years ago and forgot to share.. :(
Added: Equity Cumulative, Benchmark Cumulative, and Equity OverUnder(Equity Cumulative - BM Cumulative)
----------Original--------- ...
No notes
|
Money Manag.
Basic
|
| |
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
|
| |
This is a quick script to pull some data from portfolios and write them into a common csv file for later analysis. This should be a workaround until portfolio stats are accesible from Scripts. Then we rather pull them there and do analysis within QS, Azouz will include this in...
No notes
|
Money Manag.
Medium
Private
|
| |
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
|
| |
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
|
| |
This downloader gets splits announcements for U.S. stocks. It creates a custom database (splitsannounced) with the following fields:
Date: Ex-date or the date that the stock price is scheduled to adjust on the exchange
Ratio: The split ratio. Example: 5-4 or 1-2
Payable: The date the stock split will be paid. Example: Sep02
Announced:...
No notes
|
Downloader
Medium
Private
|
| |
Current list of Russell 3000 stocks including ticker, name (description), and exchange....
No notes
|
Symbols
Basic
|
| |
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
|
| |
Money Management script, that reduces invested capital depending of value of selected symbol:
- if close price is above long SMA and above short SMA - script invests 100% capital
- if close price is below long SMA and below short SMA - script invests 0% capital
- if close price is between...
No notes
|
Money Manag.
Basic
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
|
| |
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 use of the Indicator Switcher function and the Symbol switch in the same strategy
Can be used to test via optimize any combination of indicators and symbols
Note: Download & Update the "SymbolIndex" function for folder location of your symbols list for this strategy in addition to normal update of symbols...
No notes
|
Trading System
Medium
Private
|
| |
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
|
| |
The Insider Data History downloads several years' worth of insider data for U.S. stocks.
The following fields are downloaded and stored in a custom database called "insiderdata":
Date: The announcement date of the insider transaction
Insider: The name of the insider
...
No notes
|
Downloader
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
|
| |
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
|
| |
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
|
| |
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
|
| |