Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 08:22:29 +0000



Post From: Problem with sc.GetOHLCOfTimePeriod function (v2586)

[2024-01-17 17:16:37]
User264623 - Posts: 28
Issue: 'Open' price for this function is outputting the open price of the current/last bar within the Start/End time-frame. Instead of Open price for the entire time period specified in the parameters.

More specifically: seeing this occur when the the current bar is happening between the start and end times specified in the function parameters: (i.e. bar time = 12:00, start time = 09:30, end time = 16:00).
Note: the function High and Low output values do not take on the current bar values (they retain the High/Low of the period value), just the Open value of the current bar changes the period Open value on each new bar printed.
Date Time Of Last Edit: 2024-01-17 17:53:08