Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 03:11:48 +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];