Using the simulator you can easily create and combine two different trading strategies, one long strategy and one short strategy.
However, if you want to create two long trading strategies, you will have to create your own money management script or use this object.
This money management script allows you to...
No notes
|
Money Manag.
Advanced
|
| |
The correlation filter money management strategy analyzes each incoming order and measures its correlation with each opened position in your portfolio. If the correlation between the new order symbol and a portfolio symbol is higher than a specific threshold (definable and optimizable in money management inputs) then the order is...
No notes
|
Money Manag.
Medium
|
| |
After adding this money management script to your trading system, you will be able to display the benchmark return in the simulation report table and the benchmark time-series in simulation graphs. This allows you to compare your strategy equity or rate of return against a benchmark such as a market...
No notes
|
Money Manag.
Medium
|
| |
This script adds two columns, entry price and exit price, in the "Trade -> Realized trades" table of the simulation report. Entry price refers to the execution price of the buy or short order and the exit price refers to the execution price of the sell or cover order. For...
No notes
|
Money Manag.
Medium
|
| |
This MM script is a simple improvement version Tom Huggens "Historical trading volatility-based system to adjust trade sizes"
You can change and optimize period of stddev and moving average.
Here is Tom Huggens description:
...
No notes
|
Money Manag.
Medium
|
| |
This script has the following main functions:
a) use of exact levels in stop setting
b) automatically adjust stop loss to the low/high of the previous x periods ...
No notes
|
Money Manag.
Medium
|
| |
This script allows backtesting of stock portfolios in different currencies and/or conversion of backtesting results to a different reporting currency. It works - but as it is quite complex, I would like to have it tested by the community under different environments before releasing it finally. This is why I...
No notes
|
Money Manag.
Medium
|
| |
The coefficient of determination or R2 is used in the context of statistical models whose main purpose is the prediction of future outcomes based on other related information.
R2 value is a number between 0 and 1 and it describes how well a regression line fits a set of data.
When R2...
No notes
|
Money Manag.
Advanced
|
| |
This Script MM is constructed for rebalancing your portfolio. When you buy in one day all of your assets MM this script works:
Allocations are based on the observed volatility of
each asset over the recent past for a portfolio of stocks and bonds. This concept can easily be extended to...
No notes
|
Money Manag.
Medium
|
| |
Margin could be defined as the percentage of initial capital that you can invest. A default margin factor of 1 indicates that you can invest 100% of your capital. A margin factor of 1.5 indicates that you can invest 150% of your initial capital. In this case, 50% of the...
No notes
|
Money Manag.
Medium
|
| |
This script adds two columns, entry price and exit price, in the "Trade -> Realized trades" table of the simulation report. Entry price refers to the execution price of the buy or short order and the exit price refers to the execution price of the sell or cover order. For...
No notes
|
Money Manag.
Advanced
|
| |
This is an enhancement from the "1327" MM script. This version has many calculation bug fixes and adds the following:
Four inputs:
1) # Tr Rolling R - the number of trades to use in rolling R/SQN calculation
2) Include Dividends - flag to indicate whether to include dividends in calculations (requires...
No notes
|
Money Manag.
Advanced
|
| |
The Exit Postition Based on Profitability money management script is used to exit an open position if X% profit has not been achieved after Y number of bars.
The values for the profit threshold (X) and the number of bars (Y) are configurable using the money management variable inputs screen....
No notes
|
Money Manag.
Medium
|
| |
After backtesting a trading system, you can create a ticker symbol from the strategy's equity by right clicking on the equity chart (in the simulation report) then selecting "Equity to Symbol" option.
This money management script allows you to automate this process by creating a ticker symbol for your strategy's equity...
No notes
|
Money Manag.
Medium
|
| |
Using this money management script, you can simulate the effect of withdrawing a fixed amount of money, every month, from your portfolio.
The script allows you to enter the fixed amount to withdraw and to determine whether to withdraw money on each month or only on months that show positive returns...
No notes
|
Money Manag.
Medium
|
| |
While backtesting a portfolio or trading system, trading signals and position sizing rules are defined at startup and cannot be changed or updated dynamically during the backtesting process. The money management tool allows you to create scripts for different events that are executed during the backtesting and therefore it allows...
No notes
|
Money Manag.
Medium
|
| |
When added to a trading system, the following money management automatically opens an excel document and exports the equity data when the simulation/backtesting ends.
Before using it, open the money management script using "Tools -> Advanced Money Management Script -> Load".
Select "Global" event, click on "Menu" at the bottom then select...
No notes
|
Money Manag.
Medium
|
| |
You won't believe how easy it is to hedge a portfolio strategy.
A hedge consists of reducing a portfolio risk by taking an offsetting position in a security. If you hold long positions on US stocks, you can hedge your portfolio by taking a short position on an S&P 500 futures...
No notes
|
Money Manag.
Advanced
|
| |
For a complete description of how this money management script was created and the role of each function it contains, please refer to the following article: Create a trading strategy using the money management tool
The money management script, you can get here, creates a simple long strategy that is...
No notes
|
Money Manag.
Medium
|
| |
Fixed dollar amount, or fixed cash amount, position sizing is a money management technique that lets you allocate exactly the same amount of money for each trade you enter. Regardless of the stock, its price or its volatility, the number of shares for each new trade is calculated based on...
No notes
|
Money Manag.
Medium
|
| |
This fixed percentage of current equity position sizing method is almost similar to the default position sizing. It allocates a certain percentage of the current portfolio equity to new positions. This percentage is calculated by dividing the current portfolio equity by the total number of positions allowed.
That percentage depends on...
No notes
|
Money Manag.
Medium
|
| |
If you have two trading strategies and would like to measure the performance and profit of a trading system that combine these two strategies then this money management script can help you achieve this.
Each strategy, whether it is applied to stocks, FOREX, futures or options, is given an initial equity...
No notes
|
Money Manag.
Advanced
|
| |
Traders have developed several position sizing techniques and systems. Here are for example the fixed bet size (493) and the fixed percentage of equity (499) scripts.
Another popular position sizing system, often using in trading, is the one that uses volatility to adjust the number of shares to buy or short...
No notes
|
Money Manag.
Advanced
|
| |
Adaptive trading strategies usually rely on one or several specific metrics to dynamically update some settings such as the percentage of capital invested. This money management script can transform any simple or complex trading system to an adaptive or auto-adjusted strategy.
When applying this money management script to a trading system,...
No notes
|
Money Manag.
Medium
|
| |
Some days ago I have shared a way to create adaptive trading systems using a simple money management script: 587. The script consists of updating the percentage of capital invested of a strategy depending on the percentage of winning trades (Those with a return superior than zero). If the percentage...
No notes
|
Money Manag.
Medium
|
| |
A money management script that splits trading orders and executes these split orders on different dates.
The money management first updates the percentage of capital invested of the trading strategy. It then detects buy orders and saves the number of traded shares. Because we have updated the percentage of capital...
No notes
|
Money Manag.
Medium
|
| |
Here is a money management script that can be applied to any trading system to prevent it from buying positions that didn't perform well in the past. This money management item simply tracks new positions in the "OnNewPosition" event and then decides whether to allow the position to be bought...
No notes
|
Money Manag.
Medium
|
| |
In order to reduce the average cost per share for a security, traders sometimes apply a technique called Averaging Down (scale trading).
The strategy consists of buying additional shares of a stock at lower prices than the first entry price. For example, a trader buys 1000 shares of Google at...
No notes
|
Money Manag.
Medium
|
| |
The expected US Market volatility for the next 30 days is measured by the VIX or the Chicago Board Options Exchange Market Volatility Index.
The VIX measures the implied volatility of the S&P 500 index options. It is a very popular index introduced by Robert Whaley in 1993. The index...
No notes
|
Money Manag.
Medium
|
| |
Return per bar is a metric calculated by dividing a position return by the number of bars since entry (holding period).
For each position and for each trading bar, this money management script calculates the Return par bar and then exits a position if this metric is lower than a specific...
No notes
|
Money Manag.
Medium
|
| |
The simulator tool analyzes hundred of stocks for buy signals and then picks few of them (A portfolio is limited by the maximum number of positions it can contains).
After a simulation is completed, you can display the trades that were generated by selecting the "Trades" tab of the Trading System...
No notes
|
Money Manag.
Medium
|
| |
Based on the number of buy signals, this money management script calculates its 10-Bar moving average and compares it to the 50-Bar moving average. If the former moving average is lower than 0.4 times the latter moving average, then trading is halted during the next 30 trading bars.
The number of...
No notes
|
Money Manag.
Medium
|
| |
In order to reduce your investment risk you have to diversify. The problem is that many traders do not know how to put the diversification concept into practice. How do we know the number of stocks to invest in and the percentage of equity to put in each one of...
No notes
|
Money Manag.
Medium
|
| |
By adding a stop loss to your trading system, you instruct the simulator or portfolio tool to exit a position if it drops more than N% (from the buy price).
You can add a stop loss by clicking "Stop Loss" (bottom panel in "Update a trading system" form). Once it is...
No notes
|
Money Manag.
Medium
|
| |
Here is a very simple script that allows you to create a sort of in-sample/out-of-sample testing. The money management creates a script that takes one parameter. You can set this parameter to 1 to perform a normal backtest or set it to 1 to perform a backtest based on half...
No notes
|
Money Manag.
Medium
|
| |
This MM script uses three variables to control the amount to invest per trade and the portfolio risk:
1. Stop loss %: the stop loss in % for a single trade
2. Risk per trade: how many % of your trading capital you want to risk in a single trade.
3. Max. risk:...
No notes
|
Money Manag.
Medium
|
| |
When you set up a trailing stop for your strategy, you have the ability to define a fixed threshold or a variable one that depends on a custom formula. However, you cannot specify a trailing stop level that depends on the position or trade settings (Example: position return, number of...
No notes
|
Money Manag.
Medium
|
| |
I bet most or all of your trading systems use the same order types to buy and short securities. My strategies also use single order type logic to enter all positions.
Here is a money management script that updates the default order type depending on a trading rule. The script transforms...
No notes
|
Money Manag.
Medium
|
| |
This asset allocation strategy is implemented using a money management script that rebalances your portfolio monthly and adjusts the open positions by making sure they are equally weighted.
At the beginning of a new month (Monday), this asset allocation strategy loops through open positions, calculates the ideal size (total equity divided...
No notes
|
Money Manag.
Medium
|
| |
The staggered entry and exit strategy allows you to enter a percentage of the total number of shares to buy when the first condition is met. The remaining number of positions is entered only when the second condition is met.
For exits, it will close only a percentage of the total...
No notes
|
Money Manag.
Medium
|
| |