Login Page - Create Account

Support Board


Date/Time: Tue, 11 Feb 2025 18:03:45 +0000



Post From: Trade Entry/Exit Markers Move with Each New Bar

[2020-09-09 18:53:45]
BlakJak - Posts: 108
Changing the code to this:

sc.GetOHLCForDate(sc.BaseDateTimeIn[idx] - SCDateTime::DAYS(1), o, h, l, c);


appears to have resolved the problem.

Please advise why the '.SubtractDays()' function did not work.