Support Board
Date/Time: Mon, 03 Nov 2025 21:40:49 +0000
Post From: How to set the time for the past 10 minutes to use sc.GetOHLCOfTimePeriod
| [2019-10-18 12:33:41] |
| User907968 - Posts: 847 |
|
You can simplify quite a lot enddatetime = sc.BaseDateTimeIn[sc.Index]; startdatetime = enddatetime - (10 * MINUTES); or if your chart is a time based and the period is a divisor of 10, and you only want the high and low, you could also use these functions - ACSIL Interface Members - Functions: sc.GetHighest() ACSIL Interface Members - Functions: sc.GetLowest() |
