Support Board
Date/Time: Tue, 16 Sep 2025 00:22:01 +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: 844 |
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() |