Support Board
Date/Time: Sat, 22 Feb 2025 09:14:04 +0000
Post From: ASCIL strategy trades will not reverse positions
[2020-12-29 17:56:08] |
ForgivingComputers.com - Posts: 1012 |
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
|