Click here to Login






 
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object
Last Uploads

Select a Type :

Info: a money management script to include in trading systems
Minimum Bars Held
by QuantShare, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 10 downloads Notes Report an item
 Money Manag. 
Medium
Entry Trailing Stop V2
by Christian, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 19 downloads Notes Report an item
 Money Manag. 
Medium
Fixed Interest Cash
by QuantShare, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 10 downloads Notes Report an item
 Money Manag. 
Advanced
Entry Trailing Stop
by Christian, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 30 downloads Notes Report an item
 Money Manag. 
Medium
Equity and Date Export To Excel
by QuantShare, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 30 downloads Notes Report an item
 Money Manag. 
Medium
Ignore Orders for Recently Purshased Securities based on Return
by QuantShare, uploaded several months ago

By adding this money management to your trading system, you can prevent the backtester from purchasing any security that was previously bought in the past N days if its most recent return is lower than the specified threshold.

As an example, let us say that your trading system bought GOOG and...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 20 downloads Notes Report an item
 Money Manag. 
Medium
Switch Traded Asset
by QuantShare, uploaded several months ago

This money management script allows you to use an asset as a signal in your trading system then trade a different asset.

It works by creating a trading system with one single asset, defines your buy and short rules (no sell or cover) then specify in the money management script inputs...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 18 downloads Notes Report an item
 Money Manag. 
Medium
Equity Vs Benchmark
by Brian Brown, uploaded several months ago

This money management script calculates the 1-bar return for the strategy's equity curve and the benchmark you provide in the money management inputs. It then compares the values and adds the percentage of bars the equity curve is performing better than the benchmark in the trading system report table.

The percentage...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 17 downloads Notes Report an item
 Money Manag. 
Basic
Margin Cost Simulation
by QuantShare, uploaded several months ago

In QuantShare, you can simulate a strategy that buys on Margin by editing the trading system, selecting the "Settings" tab, clicking on "Capital" then updating the "Margin Factor" field.
When trading U.S. stocks, you can for example set this value to 2 or you can set it to a higher number...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 12 downloads Notes Report an item
 Money Manag. 
Advanced
The 2 Percent Rule
by QuantShare, uploaded several months ago

The 2 percent rule is a simple risk management strategy that controls the maximum amount you can lose for each invested asset.

The rule here is very simple: Never risk more than two percent of your total capital on any single stock. If you end up having 10 consecutive losses, that...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 88 downloads Notes Report an item
 Money Manag. 
Basic
Disable or Enable your Stop Rules
by Brian Brown, uploaded several months ago

If you have a stop rule and you want to disable it under certain circumstances then this script may help you achieve this.

By adding this money management script to your trading system, you are going to change the stop default behavior.
In order for your original stop rule to be...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 21 downloads Notes Report an item
 Money Manag. 
Advanced
Days Since Inception Filter
by Caleb, uploaded several months ago

This item calculates the number of days since the inception of the security (first available bar date) and then accepts or rejects a new order depending on whether that value is higher or lower than a specified threshold.

If for example your want to ignore stocks that are less than 365...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 11 downloads Notes Report an item
 Money Manag. 
Basic
Industry Weight
by QuantShare, uploaded several months ago

The following money management script calculates the weight of the industry given the current open positions and orders and rejects any new order if the new weight would be higher than a specific threshold.

If you specify an industry weight of 50% then your portfolio will always have an industry concentration...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 18 downloads Notes Report an item
 Money Manag. 
Advanced
Laggard Rule
by QuantShare, uploaded several months ago

The Laggard money management script is designed to sell a stock or a security that lags behind a specified index.

The script has two parameters which are "Benchmark Symbol" and "Bars". Any of your stock in the simulation will be sold if after the specified number of bars (Bars), the stock's...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 14 downloads Notes Report an item
 Money Manag. 
Medium
Ignore Orders for Recently Sold Securities
by QuantShare, uploaded several months ago

This money management script allows you to set a number of days to wait before purchasing a security that you have sold previously.

Imagine you purchased GOOG then sold it after few days on 5 July 2015. After 5 days your system generates a new buy signal to purchase GOOG again.
By...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 26 downloads Notes Report an item
 Money Manag. 
Medium
Minimum Number of Positions in a Trading System
by QuantShare, uploaded several months ago

This money management script allows you to specify a minimum number of positions in your trading system.
The script uses the "OnClosePosition" event to reject any exit order if the current number of positions (both longs and shorts) in the portfolio is equal or below the specified threshold.

Formula rules as well...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 19 downloads Notes Report an item
 Money Manag. 
Basic
Equity Data to Ticker Symbol
by QuantShare, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 17 downloads Notes Report an item
 Money Manag. 
Medium
Standard Deviation of Monthly/Yearly Returns
by MikeMM, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 31 downloads Notes Report an item
 Money Manag. 
Advanced
Percent Volatility Model (Position Sizing)
by Klas, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 43 downloads Notes Report an item
 Money Manag. 
Medium
Custom Weight for Individual Securities
by QuantShare, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 25 downloads Notes Report an item
 Money Manag. 
Medium
Tax Implications for Your Trading System
by QuantShare, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 15 downloads Notes Report an item
 Money Manag. 
Medium
Invest Available Cash In a Security
by QuantShare, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 21 downloads Notes Report an item
 Money Manag. 
Medium
Reinvest Dividends in Your Trading System
by QuantShare, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review one review Number of downloads 15 downloads Notes Report an item
 Money Manag. 
Medium
% Invested Capital by Value of Index
by Piotr, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 2 downloads Notes Report an item
 Money Manag. 
Basic
 Private 
Portfolio Statistics to CSV File
by Alexander Horn, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 6 downloads Notes Report an item
 Money Manag. 
Medium
 Private 
Benchmark Expansion
by Alpha Trader, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 21 downloads Notes Report an item
 Money Manag. 
Basic
Megan Ratio - Maximum Exponential Growth Annualized
by bug man, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 19 downloads Notes Report an item
 Money Manag. 
Advanced
Cash/Equity Rebalance
by Felipe, uploaded several months ago

This money management script defines a "Ratio Cash" variable that is used to set the percentage of capital to invest in equities. The rest of the capital remains in cash.
If "Ratio Cash" is equal to 20 then 80% (100-20) will be invested into equities (at least available for buying/shorting securities).

The...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 28 downloads Notes Report an item
 Money Manag. 
Advanced
Maximum Intraday System Drawdown
by QuantShare, uploaded several months ago

This is the Maximum Intraday System Drawdown money management script.


...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 22 downloads Notes Report an item
 Money Manag. 
Medium
MAE and MFE of a Trading System
by QuantShare, uploaded several months ago

Maximum Adverse Excursion (MAE) and Maximum Favorable Excursion (MFE) for individual trades are available under the "Trades" and "MAE/MFE" tabs of the trading system report.

The current money management script calculates the MAE and MFE for the whole trading system.

The calculation is based on the highest/lowest portfolio equity compared to...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 26 downloads Notes Report an item
 Money Manag. 
Medium
Equity Export To Excel
by QuantShare, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 63 downloads Notes Report an item
 Money Manag. 
Medium
Staggered Trade Entry - Profit Entry
by QuantShare, uploaded several months ago

This staggered entry money management strategy lets you enter a certain number of shares when the buy rule is met and the rest of the shares when the position increases by a specific percentage.

For example, we can define the following strategy:

Enter long 60% of shares when the stock crosses its...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 30 downloads Notes Report an item
 Money Manag. 
Advanced
Conditional Trailing Stop Exit 2013-10-18
by Dave W., uploaded several months ago

This money management script allows you to add a trailing stop to your trading strategy AFTER a condition is met. For example, the script will allow you to set a 2% trailing stop after RSI(2) > 70.

The script accepts two inputs from the user: the condition to evaluate, and...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review 2 reviews Number of downloads 40 downloads Notes Report an item
 Money Manag. 
Medium
Buy/Short a Fixed Number of Shares
by QuantShare, uploaded several months ago

Here is a very simple money management script that shows you how to buy a fixed number of shares instead of a number of shares determined by the available cash (default money management sizing method).

In order to use this script, simply add it to your trading system. Later, when selecting...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 38 downloads Notes Report an item
 Money Manag. 
Medium
Exit Position based on Profitability
by QuantShare, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 62 downloads Notes Report an item
 Money Manag. 
Medium
Custom Trading System Rebalancing
by Dave W., uploaded several months ago

I had the QuantShare development team build this advanced money management (AMM) script to allow testing of several advanced rebalancing options triggered when a new buy signal is received but insufficient margin is available to take the new position.

When a new buy signal is received and insufficient margin is...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review one review Number of downloads 43 downloads Notes Report an item
 Money Manag. 
Advanced
System Metrics v2.0
by Dave Walton, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review 2 reviews Number of downloads 49 downloads Notes Report an item
 Money Manag. 
Advanced
Fixed Fractional Position Sizing
by Dave Walton, uploaded several months ago

Implements traditional fixed fraction position sizing (fixed percentage risk per trade). In this case, risk = (entry price - stop) * nbshares. If you have an account of $100,000, @ 1.5% risk, the first trade risk will be $1500. $1500 is not the same as margin used...
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 36 downloads Notes Report an item
 Money Manag. 
Medium
System Metrics
by Dave Walton, uploaded several months ago

This MM scrip adds many system statistics and per trade metrics to help compare trading systems. Most of the calculations are done in terms of R (defiend as initial risk).

Trade Statistics:
Total R - P/L in terms of R
Expectancy (R)
...

No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 24 downloads Notes Report an item
 Money Manag. 
Advanced
Risk Metrics
by Dave Walton, uploaded several months ago

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

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review one review Number of downloads 18 downloads Notes Report an item
 Money Manag. 
Advanced
0 1 2 - Next






QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2025 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.