Click here to Login





                                                   Simulator: Different exit orders for different rules, partial exits

  1

0
Christoph
2013-12-31 21:11:38


I have two questions regarding the implementation of a trading strategy in the simulator:
1) How can I use different exit orders for different rules to be triggered?
Simple example:
Rule1: Close<EMA20 -> I want to exit on next open
Rule2: Close<EMA50 -> I want to create a stop-order for the exit with, say, stop price=close*1.01

2) How can I accomplish partial exits? For example, sell 50% of the position if a certain condition/rule is met.

Thanks
Christoph





QuantShare
2014-01-02 23:00:31

  1

Best Answer
Hi Christoph,

1/ For this, you must use a money management script. Here is an example you may want to check:
Transform any order into a limit order selectively based on a trading rule

2/ Using a money management script too. You can use this one:
Staggered Entry and Exit Strategy






Transform any order into a limit order selectively based on a trading rule (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 Notes Report an item
Staggered Entry and Exit Strategy (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 Notes Report an item

Christoph
2014-01-04 03:35:29

  0

Thanks! That helped a lot.
Now I realized that the money management scripts are really powerful - much more than I'd expected from the name.



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
The Best trading rules for the ADX technical indicator
Fast Fourier Transform - Plots the Amplitude of the different Bin...
Market trading rules
Ignore Orders for Recently Sold Securities
Backtest different Segments in your Trading System

How-to Lessons
How to display the number of stocks per day for different RSI gro...
How to plot two different time frames in the same chart
How to plot a stock using different periods in the same chart
How to get fundamental data for U.S. Stocks
How to quickly download the most recent EOD data for your stocks

Related Forum Threads
Different Stops for Long/Short Positions
different weights for different asset class
Different symbol list for Long/Short / custom portfolio categorie...
Different scales in the same pane
How do you retrieve the entry and exit price for a position?

Blog Posts
Rules performance for different volatility regimes
Different Ticker Symbols for Each Data Source
How to get buy and sell orders for a portfolio based on a trading...
Different Types of Trading Indicators: Trend, Momentum, Volatilit...
Different periodicities and chart bar types in QuantShare Trading...









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.