Hi all,
Can I run three same strategies in the same chart with take profit different but the same stop?
There are contraindications to load three strategies in a chart?
Thanks
Run 3 same strategies in a chart
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
Re: Run 3 same strategies in a chart
somebody can you help me?
I have 3 strategies on the gold, 2 daily and 1 long term. It's possible manage these three strategies indipendently without 1 strategy corrupts the other one?
Any suggestions?
I have 3 strategies on the gold, 2 daily and 1 long term. It's possible manage these three strategies indipendently without 1 strategy corrupts the other one?
Any suggestions?
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Run 3 same strategies in a chart
The short answer: no, because individual signals are combined by MultiCharts into one strategy and orders are aggregated on that level.Can I run three same strategies in the same chart with take profit different but the same stop?
The longer answer: yes, you can communicate data between different signals on the same chart (with global variables or with `SetPlotValue()` and `GetPlotValue()`), but this gives a lot of additional coding work and testing. Personally, I wouldn't trust this "solution" quickly because a small error or miscommunication somewhere can get all three strategies out of balance. So there's a lot of complexity and "gotchas" 'hidden' behind this approach.
Have you thought about combining the code of the three different signals into one signal script? Then they can share information (like variables) much easier.
No, adding several signals to the same chart works perfectly fine. MultiCharts does it for years now.There are contraindications to load three strategies in a chart?
It depends on what you mean with 'managing' and 'corrupting', but several signals added to the same chart will be combined into one strategy by MultiCharts. So they won't be independent anymore.I have 3 strategies on the gold, 2 daily and 1 long term. It's possible manage these three strategies indipendently without 1 strategy corrupts the other one?
Perhaps trading the same instrument from multiple charts is a solution? There's a whole wiki page dedicated to that in case that might help you: trading from multiple charts on one instrument.