Support Board
Date/Time: Sat, 20 Apr 2024 14:14:11 +0000
Post From: PositionData.PriceHighDuringPosition And PositionData.PriceLowDuringPosition
[2022-05-18 16:36:12] |
Richard Chinn - Posts: 28 |
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 |