Hi Guys,
I’d like to run multiple trading systems however it appears that when I set “DEFPARAM CumulateOrders = False” in each, only one trade is active at any time. Is there another way to prevent trading systems making multiple trades without preventing other systems from making trades??
*Newbie, sorry if this is a stupid question!
Thanks!
Matt
Hi Matt, sorry but there is no possibility to interact with other running strategies with the code.
Hi Nicolas,
Thanks for the response. Sorry I’m not sure my question was very clear, please consider this scenario:
// Trading System A
//——————-
DEFPARAM CumulateOrders = False
BUY PositionSize SHARES AT MARKET
// Trading System B
//——————-
DEFPARAM CumulateOrders = False
BUY PositionSize SHARES AT MARKET
***************
- Both trading systems are running in ProOrder @ 1 minute
- 12:01 – Trading system A executes
- 12:02 – Long order executed
- 12:03 – Trading system B executes and cannot open a Long position as an order is currently being executed.
Is this correct or am I going crazy?? 🙂 If this is correct should I remove “EFPARAM CumulateOrders = False” and replace it with something else?
Sorry disregard! I’ve just tested above and it works fine
WingParticipant
Veteran
If you run several systems on one account, but there is only funds for one position, then the other systems are not able to follow through on their trades and will exit.