Indicator calculated on specific time window daily

Forums ProRealTime English forum ProBuilder support Indicator calculated on specific time window daily

Viewing 3 posts - 1 through 3 (of 3 total)
  • #225830

    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

    #225856

    You can find some examples I coded  about 3 kind of MAs, but it can work with most indicators, if you have some knowledge of programming with the PRT language https://www.prorealcode.com/prorealtime-indicators/time-range-moving-averages-simple-exponential-weighted-trsma-trema-trwma/.

    If you can’t write, let me know.

     

    #225857

    Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums.

    Thank you 🙂

     

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

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