Most active hours indicator v2

Forums ProRealTime English forum ProBuilder support Most active hours indicator v2

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

    In another ProOrder discussion Nicolas pointed out this indicator in the library that I hadn’t spotted before:

    https://www.prorealcode.com/prorealtime-indicators/active-hours-trading-indicator/

    I thought that the output could be more easy to read graphically so I re-wrote it a little.

    Now each hour is displayed under the hour it represents and an all time average is calculated and any hour above this average is highlighted with a darker colour.

    I can post it in the library if Nicolas thinks that it is a worthwhile update on the original code.

    Thanks to throwaway200 for the original idea.

    Screenshot_5

     

    #86797

    Yes, that will be a good addition to the library, please do share it there, thanks.

    #86798

    I have also converted it to check for the most active months just for interest.

    I will submit both versions to the library as one indicator.

    Screenshot_6-1

    1 user thanked author for this post.
    #87120

    An interesting alternative is to based the indicator on hourly volume rather than hourly range.  Potentially trading in only high volume hours and with take profit and stop loss values adjusted each hour based on the historical range from the first indicator. This might be a nice trading idea to test out rather than basing the levels on average true range – which will be taking into account out of hours, low volume, low range candles for their calculations – so the ATR will be lower than truly can be expected during the best trading hours. I feel another indicator coming on…..!

    Here’s the adjusted code for the hourly chart:

     

    #87133

    So here is my first attempt at something to make ATR more useful. I call it HODATR Bands which stands for Hour Of Day Average True Range.

    It calculates the all time average range for every hour and the all time average volume for every hour. It then uses that HODATR to draw bands on each hourly candle. So it can be seen that during non high volume hours the bands are much closer and during high volume hours they are further apart. I have also added the options to expand the bands further out with a multiplier and also to be able to turn on or off colour highlighting for when the high volume best hours to trade are. The bands on each hour can be centred around any custom close from the previous hour so on closing price, median price etc.

    At the moment it can only be used on hourly charts.

    Any thoughts or ideas are welcome.

    …and yes I know it should technically be called HODAR as the range calculation is not at all like an ATR calculation but I couldn’t be bothered to change it after I realised.

    Screenshot_3-4

    HODATR-Bands

     

    1 user thanked author for this post.
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