Support Board
Date/Time: Wed, 12 Feb 2025 01:43:39 +0000
Post From: How to get the High, Low, etc of recent buy order Bar
[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]; |