Support Board
Date/Time: Wed, 12 Mar 2025 11:34:44 +0000
Post From: ASCIL MULTIPLE TRIGGER ORDERS
[2022-04-21 16:58:37] |
ForgivingComputers.com - Posts: 1021 |
There is an error in your SellEntry and BuyEntry orders. You need to specify the correct NewOrder: s_SCNewOrder NewOrder1;
//parameters for order 1; sc.SellEntry(NewOrder1); s_SCNewOrder NewOrder2; //parameters for order 2; sc.BuyEntry(NewOrder2); Specifying a BuyEntry after a SellEntry will either change the position by the second order's quantity, or if reversals are allowed, flatten the Short and then Go Long. |