Login Page - Create Account

Support Board


Date/Time: Wed, 04 Feb 2026 08:38:14 +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.