This money management script loads dividend data and reinvests these dividends in your trading system using the "AddCash" function available in the "Functions" class of the "OnEndPeriod" event.
Dividend data can be collected using the following downloader:
93
...
No notes
|
Money Manag.
Medium
|
| |
This System for Tactical Asset Allocation is inspired by a system of Markos Katsanos published in his book "Intermarket Trading Strategies".
Following aspects of Asset Selection from a wide array of ETFs and its Timing are considered:
-An ETF is selected when the ROC of the MA is positive
-The Regression Slope...
No notes
|
Trading System
Medium
Private
|
| |
This daily Forex-System for the EURUSD is inspired by the book "Intermarket Trading Strategies" by Markos Katsaros.
It uses the 10 year US-Bond yields and the Commodity CRB-Index as an Intermarket-filter for the Moving Average Signals and Wilders pSAR as Stop-Loss.
...
No notes
|
Trading System
Medium
Private
|
| |
If you have a trading system that is not fully invested 100% of the time and you want to invest that cash into a security like a bond fund or a money market fund then you can use this money management script to do that for you.
Steps:
- Download this money...
No notes
|
Money Manag.
Medium
|
| |
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
|
| |
The "Announced Stock Earnings" downloader retrieves all stocks whose earning release occurs within the next 60 days.
The downloader stores in a custom database "earningsannounced" the following data:
Date: The announced release date (could be not confirmed)
Etime: Release time (Could be: Before Market Open, Before market open or Time Not supplied)
Estimate: The...
No notes
|
Downloader
Medium
Private
|
| |
This is a list of trading rules or metrics to be used in a stock/ETF rotational system. The list contains 15 metrics or measures.
Example of metrics:
Sharpe(close, 30) // Sharpe measure of the individual stock or ETF
Hhv(high, 30) / high // Ratio of 30-day highest high to current high ...
No notes
|
Rules
Medium
|
| |
This is a list of trading rules to be used for example in a stock picking system. The list contains 64 trading rules and use price, volume and some indicators like roc, rsi, sharpe and drawdown.
Example of trading rules include:
Close > open
Roc(30) > 5 ...
No notes
|
Rules
Medium
|
| |
This trading system can be used in the AI optimizer tool of QuantShare to generate millions of different and diverse trading systems.
It is a combination of a stock picking and stock rotational systems and uses two different trading rules to get the stock picking rules and stock rational metrics.
The trading...
No notes
|
Trading System
Medium
|
| |
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 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
|
| |
Definition:
VIX futures are often priced differently depending on the expiration date. VIX term structure is a plot of the futures values for different expiration dates.
When the near-term VIX futures contract is priced lower than later VIX futures, we say that the VIX futures curve is in contango. The opposite, backwardation,...
No notes
|
Downloader
Advanced
|
| |
Here is an option chains and LEAPS downloader that can get data for options traded on U.S. exchanges.
You just need to enter the underlying securities in the "Symbols" tab, click on "Start Downloading" to get options data for all strikes and expiration dates.
Example: ...
No notes
|
Downloader
Medium
Private
|
| |
This is a real-time grid/table that displays close and RSI14 values (1-min period) for a list of securities.
You can update any symbol by double clicking on its name (first column).
You can add a new symbol by rigth clicking on the table then selecting "Add Row".
You can learn how to create...
No notes
|
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
|
| |
NEPSE is the abbreviation of the Nepal Stock Exchange, the only stock exchange of Nepal. There are about 370 companies listed on that exchange and they account for more than 10 U.S. dollars billion in equity market capitalization.
This downloader gets today's quote data for all companies listed on the Nepal...
No notes
|
Downloader
Basic
|
| |
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
|
| |
Tax implications of your trading should always be taken into account. And in order to do so, I have just created a new money management script that will allow you to measure your trading strategy performance by accounting Taxes.
Depending on your country, you would pay a different tax on each...
No notes
|
Money Manag.
Medium
|
| |
Say you have a strategy that invests in 5 ETFs and you would like to set manually the weight of each security. By default QuantShare allocates an equal amount of money to each position so if you have 5 allowed positions in your trading system, each ETF will get 20%...
No notes
|
Money Manag.
Medium
|
| |
No trading rules based on individual stocks. Just one ranking rule and one market rule.
This trading system generates +25 % annual return with low risk (maximum drawdown lower than -18%) just by using a single ranking rule and a single market rule. Backtest was done using current NASDAQ 100...
No notes
|
Trading System
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
|
| |
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 example will show you some of the power and the flexibility of the Grid tool.
Download, install this item then display it using "Tools -> Grid -> Open Grid".
This item doesn't use real time data. I have created it to show you how you can access, manipulate and display QuantShare...
No notes
|
Advanced
|
| |
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
|
| |
This is a trend following trading strategy that trades S&P 500 stocks.
The S&P 500 trend following system uses the following rules:
- Daily data for S&P 500 stocks
...
No notes
|
Trading System
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 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
|
| |
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
|
| |
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
|
| |
Here is a modified version of the Triple Momentum Strategy described by Gerald Appel in his "Technical Analysis: Power Tools for Active Investors." book. Gerald Appel is also known for creating several trading indicators including the popular Moving Average Convergence Divergence (MACD).
The triple momentum indicator/level is simply the sum of...
No notes
|
Trading System
Medium
|
| |
From Van K. Tharps book "Trade your way to financial freedom"(chapter 14) with an addition of "number of positions". Total equity volatility is divided by this number to allow simultaneous positions. The script assumes it's dealing with stocks and is long only. Feel free to alter to suit your needs...
No notes
|
Money Manag.
Medium
|
| |
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 simple tactical asset allocation strategy (TAA strategy) based just on the relative strength indicator.
The strategy invests in 10 ETFs:
EDV (Vanguard Extended Duration ETF)
EEM (iShares MSCI Emerging Markets Index (ETF))
...
No notes
|
Trading System
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
|
| |
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
|
| |
This money management script calculates monthly and yearly standard deviation based on monthly and yearly returns.
It calculates monthly/yearly returns, calculates the standard deviation from these returns then adds two metrics in the simulation report table at the top.
If you are looking for a trading system that has consistent performance over...
No notes
|
Money Manag.
Advanced
|
| |
This is a tactical asset allocation strategy example based on momentum and volatility to rank some ETFs.
More info about how to create tactical asset allocation strategies can be found here:
Create Your Own Tactical Asset Allocation Strategies
Note that unlike the above article (see the link), the composite function here uses...
No notes
|
Trading System
Medium
|
| |
Body Momentum is a trading indicator described in Perry Kaufman's book. It is an oscillator that moves between 0 and 100 and calculates the percentage of bars that closed above the open price (white/green candle) during a specific period.
A period of 10 and a value of 100 for the body...
No notes
|
Indicator
Basic
|
| |
This is a modified version of NSE Nifty - S&P CNX Nifty
This modified version can download index of CNX NIFTY
Don't forget to add CNX NIFTY as a new symbol
...
No notes
|
Downloader
Medium
|
| |
The Forex long/short historical position ratios downloader gets the percentage of long positions for a specific currency pairs on the Oanda platform.
The data is stored in a custom database "fx_lp_ratio" and can be accessed by any QuantShare plug-in using the following formula:
a = GetData("fx_lp_ratio", "ratio");
...
No notes
|
Downloader
Advanced
|
| |