Library "MyLibrary001" Library for calculating the number of bars in the last X trading days
BarsInLastXDays(numTradingDays) BarsInLastXDays description Calculates the number of bars in the last X trading days Parameters: numTradingDays (int): int Number of trading days to consider Returns: tuple(float, float) A tuple with the number of bars and the bar duration