Support Board
Date/Time: Tue, 11 Feb 2025 21:22:24 +0000
[User Discussion] - How to get the High, Low, etc of recent buy order Bar
View Count: 760
[2020-09-19 15:24:49] |
User681150 - Posts: 62 |
i executed a Buy order and want to use the low of the Bar as a reference point for an initial stop how do i access the Bars information? i see i can use s_SCPositionData but i only see the .AveragePrice is there another method? what are my options using ACSIL... thanks |
[2020-09-22 07:47:00] |
User553714 - Posts: 184 |
You would need to store the entry Index of the order as a Persistent Variable when the order is first placed and then use the BaseData Array to retrieve what you need, High Low etc ACSIL Interface Members - Variables and Arrays: sc.BaseDataIn[][] / sc.BaseData[][] float HighPriceAtEntry = sc.BaseData[SC_HIGH][EntryIndex]; float LowPriceAtEntry = sc.BaseData[SC_LOW][EntryIndex]; |
To post a message in this thread, you need to log in with your Sierra Chart account: