Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 23:41:26 +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.