Support Board
Date/Time: Sun, 02 Nov 2025 05:21:38 +0000
Post From: ASCIL strategy trades will not reverse positions
| [2020-12-29 17:56:08] |
| ForgivingComputers.com - Posts: 1150 |
|
Think you need to add additional check that a position exists before doing a sc.SellEntry(NewOrder);
// Check if there is an actual position, if not return s_SCPositionData PositionData; sc.GetTradePosition(PositionData); if (PositionData.PositionQuantity == 0) return; Date Time Of Last Edit: 2021-01-02 15:25:40
|
