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 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
|
| |
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
|
| |
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
|
| |
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
|
| |
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
|
| |
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
|
| |
Inspired by Butler (2012) Adaptive Asset Allocation: A Primer (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...
No notes
|
Trading System
Advanced
Private
|
| |
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
|
| |
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 was inspired by an article on tweaking Harry Browne's Permanent Portfolio (I cannot find that article... )
This is v.01 so it's not 100% checked and verified.Please report any errors or mistakes.
The basic PP portfolio is equal weight in 4 assets:
25% Equity ...
No notes
|
Trading System
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
|
| |
Strategy uses 120 function to simulate simlple mean reversion strategy: RSI(3)55;
Annual return is nothing excellent 9,18% with 5% DD in last 14 years. Goal was...
No notes
|
Trading System
Medium
Private
|
| |
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
|
| |
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
|
| |
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
|
| |
V1.1
- Change to daily timeframe
- Change correlation based cash protection to SPY/TLT
--------------------------------------------------------- ...
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 trading system tries to reproduce the 'Sleep Well' Bond Rotation Strategy developed by Frank Grossmann (http://www.logical-invest.com/)
The strategy switches, on a monthly basis, between 5 different ETFs, either on a Top1 or Top2 approach:
. AGG - iShares Core Total US Bond (4-5yr) ...
No notes
|
Trading System
Medium
Private
|
| |
V1.1:
- Added optimization items (heatmaps for parameter stability on google drive tbd)
- Risk free rate to 3%, comissions to $0.05 per trade
- extend backtest from Jan 03 to May 2014
- included synthetic synSSO and synEDV ticker (as per Marc Cohn to extend with MDY, TLT respectively), need to import from...
No notes
|
Trading System
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
|
| |
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
|
| |
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
|
| |
Mean-variance optimization (the implementation of Markowitz's modern portfolio theory) basically allows one to find the optimal weights of assets in a portfolio that maximizes expected return given a level of risk/variance, or equivalently, minimize risk/variance given a level of expected return. The biggest ingredient in mean-variance optimization is the covariance...
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
|
| |
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
|
| |
This Downloader allows you to download historical data from MT4 database.
There are 3 critical installation steps:
1) You must have Demo/Real MT4 Account ...
No notes
|
Downloader
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
|
| |
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
|
| |
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
|
| |
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
|
| |
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
|
| |
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
|
| |