Login Page - Create Account

Support Board


Date/Time: Sat, 16 Aug 2025 15:00:37 +0000



Post From: ACSIL Calculate Bar Duration in Seconds

[2025-08-15 16:44:23]
User719512 - Posts: 318
Sierra chart provides examples using most all of its API.

C:\SierraChart\ACS_Source\Studies8.cpp

SCSFExport scsf_BarTimeDuration(SCStudyInterfaceRef sc)

or ask Grok to fill in details and/or tailor to your specific requirements.

You have to decide what you consider bar duration, especially in slow markets


BAR BAR BAR
|_| // start to end, ignore time between bars
|____| // start to start, includes time between bars
|____| // end to end, includes time between bars

Date Time Of Last Edit: 2025-08-15 16:57:11