Identification of the moment of a new session, new week and new month
In order to identify whether a new session has started on a specific bar, it is necessary to call the IsNewSession(int bar) function and pass the bar number to it.
Similarly there are IsNewWeek and IsNewMonth functions.
Customer support service by UserEcho