Support Board
Date/Time: Sun, 02 Nov 2025 06:03:19 +0000
Post From: PositionData.PriceHighDuringPosition And PositionData.PriceLowDuringPosition
| [2022-05-18 16:36:12] |
| Richard Chinn - Posts: 35 |
|
RE: s_SCPositionData PositionData; sc.GetTradePosition(PositionData); PositionData.PriceHighDuringPosition AND PositionData.PriceLowDuringPosition I am not sure of the correct behavior for these two items. The PriceHighDuringPosition and PriceLowDuringPosition return -inf until the position experiences a high or low different from the entry price. I would expect an initial default to a price value like the entry price. Is this the correct behavior? It does not cause any errors in my code but it does skew my calculations by not having a value until after a high or low different from the open price is experienced. Thanks, Richard |
