Click here to Login

                                                   Combine Trading Systems and invest 100% Equity?


Praveen Baratam
2016-05-05 03:58:22

I have multiple trading systems with different symbols that generate buy and sell signals once every 3-6 months. In all trading systems, long and short categories are merged to allow only one position at a time.

As the signals from these systems hardly ever overlap, I want to know how my Portfolio will perform (Simulate) if I invest 100% of the Equity when ever any of the trading systems generate signals.

Meta-Strategy and Combine TS split the equity among the available systems and simulate the whole thing. I dont want to split my equity but invest the whole into whatever trading system generates signal for that day.

2016-05-06 03:37:47


You can add this line in the meta-strategy formula to force one position:
SetSimSetting(_NbPositions, 1);

Praveen Baratam
2016-05-06 03:46:18


Thanks for the response.

I have added the line "SetSimSetting(_NbPositions, 1);" but nothing changed. No trades.

Then added "buy=1; sell = 1;" Now it is buying every day.

I want the Meta-Strategy to invest when any of the trading systems generates a signal (buy/sell) and follow the exit signal of the same trading system for that position.

2016-05-07 04:57:09


The meta-strategy uses the same logic as the trading system. Please check our blog post. You need to use "buy" in order to generate buy orders.

The volume of your equity curve should store the percentage of capital invested so try this:

buy = volume > 0;
sell = volume == 0;

Praveen Baratam
2016-05-07 15:49:43


Still not working... When I use the below formula for the Metastrategy... it is showing some trades but not the way it is expected to behave.


SetSimSetting(_NbPositions, 1);

buy = volume > 0;
sell = volume == 0;

2016-05-09 04:29:03


The meta-strategy would buy your trading system equity curve, it will not generate individual stock trades.
Then it buys strategy1 then this means that you need to invest in strategy1.

Please check our last blog post about this.

If you need further help regarding this, please contact support by email.

No more messages


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"


Trading Items
Design and backtest a trading system with two strategies
Adaptive Trading System - Minimum Percent Winners and Percent Inv...
Rebalance & Combine & backtest two trading strategies
Fibonacci Trading Indicator - Support and Resistance Lines
Consecutive Up and Down Bars - Works With Any Trading Indicator

How-to Lessons
How to backup your databases (EOD, Intraday, Tick and Custom) and...
How to create trading rules based on Put and Call volume data
How to optimize the number of positions in a trading system
How to detect stocks trading near all time highs
How to get trading orders from a portfolio programmatically

Related Forum Threads
Trading System Target Profit and Loss prices
Login and Downloading Trading Objects Problem
Basic Backtesting and Systems
Automated Trading Systems Without Realtime Data Provider
Import equity curve and backtest equity curve trading strategies

Blog Posts
How to combine long, short and custom portfolio strategies within...
Reducing risk and increasing return by combining several trading ...
The Ultimate Guide to Create Trading Systems in QuantShare
Volatility and trading systems
Create indicators, composites and trading systems using QL and CS...

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2024
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.