Calculate trading day between two date

Forums ProRealTime English forum ProBuilder support Calculate trading day between two date

Viewing 5 posts - 1 through 5 (of 5 total)
  • #223082

    In a Weekly Timeframe, I need to calculate how many trading days there are betweem two date.  example from 20200320 to 20231030 how many daily bars (trading days) there was?
    Period are only in the past.

    May you help me? Any ideas?

    #223093

    Just count the weekly bars in that interval and multiply them by 5 days (or 6 days if you want to include Sundays).

     

    #223096

    All,

    I would like to share this below indicator which calculates the trading days between two dates. It works on a daily timeframe. For weekly, just divide by five.

     

     

    #223105
    These are too approximate calculation methods, they do not take into account the trading days closed during the week. I would really like, in the W timeframe, to be able to count the daily bars that actually occurred.

    calculates the trading days between two dates. It works on a daily timeframe. For weekly, just divide by five.

    Just count the weekly bars in that interval and multiply them by 5 days (or 6 days if you want to include Sundays).

    #223178

    You can’t count days in a weekly timeframe.

     

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login