Login Page - Create Account

Support Board


Date/Time: Tue, 13 May 2025 17:35:22 +0000



Post From: Referencing Studies Across Charts with Different Timeframes

[2024-08-30 16:46:40]
User719512 - Posts: 310
See
sc.GetChartDateTimeArray
to get the date/time for the bars on the other chart

See also
sc.GetContainingIndexForSCDateTime and sc.GetNearestMatchForSCDateTime

Just how GetStudyArraysFromChartUsingID gets you the values, GetChartDateTimeArray gets you the datetime for those bars.

When dealing with different timeframes, you need to decide how to handle matching bars/times/signals.