Replies

davcartep
01 Jun 2023, 11:16

RE:

firemyst said:

Example to help you get started:

 

if (Bars[index].OpenTime.DayOfWeek != DayOfWeek.Sunday)

{

}

else

{

// skip Sunday

}

You just have to make sure your bot is set to work in your time zone, otherwise if your market data is being derived in another time zone, obviously that Sunday might not line up with your Sunday.

Thanks very much. Appreciated!


@davcartep