Login Page - Create Account

Support Board


Date/Time: Tue, 24 Dec 2024 02:47:38 +0000



Post From: bug report: CalculateDailyOHLC

[2015-10-22 01:10:43]
jesslinn - Posts: 108
This is of no consequence to me and I do not need a response, unless you would rather not see support requests like this or would rather get an email instead.

There is a problem in the CalculateDailyOHLC function in scstudyfunctions.cpp, where the else clause following "if (!UseDaySessionOnly)" refers to the StartDateTime and EndDateTime of the session without setting them to the session start and end times.

The result is that if one turns on UseDaySessionOnly in scsf_DailyOHLC for a symbol where the start session time is after the end session time (previous day) the function and study will not work.