Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 20:09:09 +0000



Post From: ACSIL: finding first bar for the trading day

[2015-10-11 14:27:30]
ejtrader - Posts: 688
You can try this one..

while (DATE_PART(sc.BaseDateTimeIn[FirstBarOfDay]) == DATE_PART(sc.BaseDateTimeIn[FirstBarOfDay - 1]) && FirstBarOfDay > 0) FirstBarOfDay --;