Support Board
Date/Time: Sat, 14 Jun 2025 08:23:50 +0000
Post From: Request for a new ACSIL function
[2025-06-11 18:59:16] |
User719512 - Posts: 315 |
Your question implies the remote chart is running on a different timeframe than your main chart otherwise you'd already have the answer since the bar index would be the same. So for your question about "GetBarHasClosedStatusFromChart", what bar index value would you be passing to this function? How would you know what index to use without calling some API to know the number of bars in the remote chart/etc? I would think some combination of GetStudyArrayFromChart() and ArraySize() and/or mapping a DateTime form the main chart to bars on the remote chart/etc would be in order. Reference: ACSIL Interface Members - Functions: sc.GetStudyArrayFromChart() |