Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Running Multicharts signal with two sets of parameters
I have a signal that produces nice results with a certain set of parameters, call it set A.
The same signal produces good results with another set of parameters, call it set B.
Running both signals in parallel should, according to my backtesting, improve returns to some extent while decreasing drawdown, thereby improving the Return On Account significantly.
However when I tried to do that I get double exit orders. For example - when the signal with set A enters a position, then both signals place stop and limit exit orders. So I have a position of 1 lot with two stop orders of 1 lot each and two limit orders of 1 lot each.
Is there a simple way to run two signals on the same instrument and have them completely independent from each other. Perhaps in Portfolio trader?
Can you help answer these questions from other members on NexusFi?
it sounds like you placed both signals on the same chart and your code is causing this behavior.
I don't think it will work without modifications in Portfolio Trader - same thing would be two separate charts, you'd probably end up with a different result than what you'd get combined on one chart. Therefore you will probably need to adjust your code to manage only the positions you want it to, tie exits to specific entries etc..
If they're going to be on different charts - will they run completely independent of each other? mind you, I am using marketposition(0) to determine if I have an order and if it's long or short, and send orders accordingly.
So I guess my question is, does marketposition and similar orders return the status on the broker side, or according to the code on the specific chart.
My purpose is to run them completely independent of each other. As if they were running on different accounts.
This depends on your code. If you don't use anything that has the ability to exchange data between charts or use reserved words that use the market position at the broker for example, then the results should be independent from each other. But it's likely that the results will be different than from your backtest, too - simply because you are looking at separate systems (as in the combination of signals one might block the other, which wouldn't be the case when you run it on separate charts).
If your backtests have been done by a combination of the signal on one chart, I'd invest the time to track down what causes the situation you encounter live. If you split the system now or switch to portfolio trader you create a new situtation and it might not have any relevance to your backtest anymore.