Indicator calculated on specific time window daily

Forums ProRealTime forum Italiano Supporto ProBuilder Indicator calculated on specific time window daily

Viewing 1 post (of 1 total)
  • #225828

    Hello

    I’d like  to build an indicator that is calculated only on close values of a fixed spcific daily time window. For example RSI of the last 100 hourly bars at close, but the 100 hourly bars that must be taken into account are those inside the time window 9:00-22:00 of each day despite the market is open from 00:00-23:00. I mean that i need to filter out from the computation all the bars that are outside my desired time window

    I tried to customize the  graph intrady times displayed but it affects only the graph.

    The only way I thought to achieve this is to register each close on a custom array and then calculate my indicator, but it would be very complicate.Does anybody know an easy way to achieve this?

    Thanks a lot

     

Viewing 1 post (of 1 total)

This topic is temporarily locked.