Help to encode an indicator and strategy based on performance of each hour

Forums ProRealTime English forum ProOrder support Help to encode an indicator and strategy based on performance of each hour

Viewing 15 posts - 1 through 15 (of 22 total)
  • #86723

    Dear guys,

    I need support by encode a strategy based on the Dax (1h).

    First of all I want to the check the outcome of each bar. That means an indicator to check each hour of the day.

    The indicator:

    Check the open and close of each bar (1h).

    I want to see the performance of each hour of the day. Start from 8 am till 22.

    Once we have the results we can try to build a strategy. See example attached. If we enter a position at 8 o’clock and exit at 12 o’clock to reach the best results.

    As a filter we can use the Dfactor.

    If we see that at certain time of the day the indices start to claim we can open a buy position.

    I hope the explanation will be useful, otherwise feel free to ask.

    Best regards, Giuseppe

    #86743

    There is an indicator in our library about the most active hours of the day, that you could analyze to take the trading decision: Most active hours of trading indicator

     

    2 users thanked author for this post.
    #86745

    Thanks Nicolas, I will try later and let you know.

    Have a nice week.

    #86747

    Thanks for pointing out that indicator Nicolas – I hadn’t spotted it in the library.

    I notice though that the indicator calculates using HOUR and not OPENHOUR and so the results for say 16 are in fact the results for 1500 to 1600 and not the hour that starts at 1600

    #86870

    Not exactly what I am looking for.

    I attached a picture to explain it better.

    I want to see the strentgh of each hour …….. If I always buy at 7 am and sell at 8 am. How is the strentgh ?

     

     

    #86872

    What about this new indicator https://www.prorealcode.com/prorealtime-indicators/most-active-hours-and-months/?

    1 user thanked author for this post.
    #86875

    not really.

    I have tried several times without success … 🙁

    I want to see the inefficency of the day ….. I hope you understand what I mean.

    Maybe the strategy can sounds like this:

    If time = 1000 then buy this bar at close …

    #86876

    On a 1-hour TF:

    see attached pic.

     

    #86880

    I’m not sure that you are communicating what you want very clearly but then again my German is appalling!

    Maybe this is the sort of idea you have. It is a version of my library indicator but it just totals up the balance of close minus open for every hour:

    Screenshot_8-1

    #86883

    sorry …. not whta I mean.

    Which time of the day will be profitable.

    Let me explain:

    Day 1 of the Month

    Hour 1 = Calculate Open at 010000 – Close at 020000

    Hour 2 = Calculate Open at 020000 – Close at 030000

    and so on…….

    Day 2 of the Month

    Hour 1 = Calculate Open at 010000 – Close at 020000 (cumulate of Day 1)

    I hope it will be better ….

    #86884

    my previous post refers to Roberto

    #86885

    I think my indicator that I just posted matches your description otherwise I am really confused! 🙂

    #86891

    // Bedingungen zum Einstieg in Short-Positionen
    IF NOT ShortOnMarket AND Time = 120000 THEN
    SELLSHORT 5 CONTRACTS AT MARKET
    ENDIF

    // Bedingungen zum Ausstieg aus Short-Positionen
    IF ShortOnMarket AND time = 170000 THEN
    EXITSHORT AT MARKET
    ENDIF

    #86894

    Isn’t that just pure data mining? You would need a long forward test to see if it works as well in the future as just matching it to history does.

    You would be better to check each hour if it is a long or short profitable hour and how long that will last in the indicator and then do the same thing. Maybe adding in only trading in very active hours. Maybe this is something for me to test tomorrow but I fear history by the hour will not necessarily repeat in the future.

    #86895

    Why ? It is not the same like seasonal charts ?

Viewing 15 posts - 1 through 15 (of 22 total)

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