Click here to Login








Minimum Number of Positions in a Trading System

by QuantShare, 1794 days ago
Share |






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 as stops will be ignored until the current number of positions in the portfolio or trading system is above the specified value.

To use this money management script, just add it to your trading system then edit the "Minimum Number of Positions" field.

You can update the script to ignore stop rules by select the "OnStartSimulation" event then replacing the first line by:
TradingSystemSettings.IsExecuteOnClosePositionOnStop = false;


Share This ->
Share |


You have to log in to bookmark this object
What is this?




Type: Advanced Money Management

Object ID: 1596


Country:


Market:

Style:

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects
Show All
Benchmark Return in a Trading System Simulation (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 79 Notes Report an item
Exit Position based on Profitability (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 58 Notes Report an item
Maximum Intraday System Drawdown (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 18 Notes Report an item
U.S. Stock Market (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 2897 Notes Report an item
Historical Stock Market Data (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 7787 Notes Report an item
US Stocks: Exchange, Market, Sector, S&P 500, Optionable (by Patrick Fonce, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 90 Notes Report an item
Update the Industry Name of your U.S. Stocks (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 67 Notes Report an item
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

Technical Analysis


Fundamental Analysis



Random Blog Posts

QuantShare Trading Software: New Features in the 3.4.0 Version

Advanced Tactical Asset Allocation Strategies

Create Your Own Tactical Asset Allocation Strategies

QuantShare Trading Software: New Features in the 3.3.2 Version

How to use the new Market Regimes Feature in QuantShare Trading Software

Create Realtime Quote Sheets with the Watchlist Tool

How To Create and Backtest an S&P 500 Trend Following System

QuantShare Trading Software: New Features in the 3.3.1 Version

Show All

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






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 2020 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.