Support Board
Date/Time: Tue, 01 Jul 2025 10:07:42 +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: 840 |
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() |