Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 18:13:24 +0000



[Programming Help] - Old CalculateDailyOHLC function

View Count: 264

[2023-07-20 05:01:41]
Ed C. - Posts: 117
I'm trying to revive several old studies for 2400-series Sierra Charts. In the process, I am running into difficulties with the CalculateDailyOHLC() function call.

1. It doesn't seem to be supported directly - I've had to copy and paste it from SCStudyFunctions.cpp

2. When I try to compile it, it complains that there are an incorrect number of parameters. I've tried adding the requested parameters at the end of the function call, and the program will compile, but CalculateDailyOHLC() returns incorrect results. I've looked through the "What's New" page, but there doesn't seem to be any documentation for this function being either removed or changed.

Is there a new function that I should be using to replace CalculateDailyOHLC()? If not, is there any documentation available for the new version of CalculateDailyOHLC()?

Thanks, all!
[2024-09-27 19:13:45]
User688525 - Posts: 257
It looks there is a related compiling issue here: DailyOHLCSinglePoint Compiling Error

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account