Click here to Login








Stop Mgmt v 1.1

by SystemTrade, 4302 days ago
Share |






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

c) override standard stop treatment on entry bar


In detail:

a) if you want to enter a long position at 100 with a stop at 95 and due to an opening gap you will effectively enter at 99, then your stop will be at 94 if you use SetSimStop(_StopLoss, _Point, 5, 1);

To avoid that set the parameter "Use exact numbers" to "Yes" and use the statement SetSimStop(_StopLoss, _Point, 95, 1) in your trading system.

b) this is kind of a trailing stop. Set "Stop Adjustment Enabled" to "Yes" and "NbPeriods" to 2 for instance and on each bar ater the entry bar the stop loss will be adjusted to the low of the 2 previous bars. In addition you can set a "Distance" either in percent or points, which will be added to the stop.

E.g. if the 2 bar low is at 95 and you have a distance of 1% then your long stop will be at 95 - 95*0.01 = 94.05

c) per standard the profit stop is triggered on the entry bar if the high is above or equal the entry price (long) as without having intrabar data, it cannot be determined in all cases whether the high happened before or after the entry.


This script provides the following solution: Profit target on the entry-bar is only executed, when

a) the entry happened at Open or

b) target price is reached at close.


In these cases profit stop is independent from intra-bar development.


Analyse Close Reasons: select "Yes" if you want to analyse exit reasons in the trading system report.


Share This ->
Share |


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




Type: Advanced Money Management

Object ID: 1159


Country:
All

Market: All

Style:
Technical Analysis

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
Money management to Reject Trading Positions Based on their Past Performance (by Tom Huggens, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 52 Notes Report an item
Buy/Short a Fixed Number of Shares (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 37 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 61 Notes Report an item
Risk Metrics (by Dave Walton, 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
Rebalance & Combine & backtest two trading strategies (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 111 Notes Report an item
R Squared of a Trading System Equity Curve (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 45 Notes Report an item
Trading based on Boillinger Lower Band position on defined Market (by clonex, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 27 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

Fundamental analysis: How to track economic indicators in the Forex market

Forecast volatility using trading rules and neural networks

Inverse Fisher Transform: Indicator, composite and trading system

Detect chart patterns using the auto support/resistance indicator

Getting Accurate Backtesting Results: Survivorship bias-free S&P 500

10 masks to create thousands of rules to use into your trading system

Trading System Analysis: Backtesting report and custom measures

How to predict and trade the stock market using pivot points

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 © 2024 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.