Custom timeframe creation

Forums ProRealTime English forum ProRealTime platform support Custom timeframe creation

Viewing 9 posts - 16 through 24 (of 24 total)
  • #229490
    JS

    Hi Maria,

    What is possible in PRT is to make new “candles” based on the information of, for example, the last 36 hours of candles…

    In the image you can see on the lower part the candles with a time frame of 36 hours…

    1 user thanked author for this post.
    #229569

    It works fine with Light Crude Oil (CL) Futures instruments.

    Look carefully at the attached picture (above 36-hours chart, below daily chart), they are different charts.

    1 user thanked author for this post.
    #229575

    If it would work fine, the bars would emerge each 36 hours. But they emerge each 24 hours.

    1 user thanked author for this post.
    #229604

    Hi Maria,

    What is possible in PRT is to make new “candles” based on the information of, for example, the last 36 hours of candles…

    In the image you can see on the lower part the candles with a time frame of 36 hours…

    Hi JS

    Thank you – I will investigate to see if this can help me!

    #229605

    If it would work fine, the bars would emerge each 36 hours. But they emerge each 24 hours.

    Yes, true. This is the idea — it needs to be a separate 36 hour bar!

     

    I emailed PRT support to see if they have any thoughts about this.

    #229606

    It works fine with Light Crude Oil (CL) Futures instruments.

    Look carefully at the attached picture (above 36-hours chart, below daily chart), they are different charts.

     

    Hi, thanks Nicolas.

     

    There are a few minor colour differences on some bars. But overall there is something still quite not right — as @PeterSt has also been able to point out.

     

    The chart would be different because each bar is 36 hours (1.5 days.) Right now it’s showing the same thing. (On a 36-hour chart, I’d expect to see all that in less bars because of the merging.)

     

    You’ll be able to see this principle in reverse. On the 12-Hour chart, the Daily bar is split into two separate 12-Hour bars.

    #229618

    Question is: what is really a 36 hour candle ?  Is it one single candle summing up 36 x 1 hour candles ? Or is it one candle spanning 1.5 trading sessions ?  Both should be different if the instrument doesnt trade 24h/day !

    #229620

    Question is: what is really a 36 hour candle ? Is it one single candle summing up 36 x 1 hour candles ? Or is it one candle spanning 1.5 trading sessions ? Both should be different if the instrument doesnt trade 24h/day !

    Good question 😅 I’m fine with either.

     

    But if I had a choice: Whatever the daily chart bar was ((even if it doesn’t trade 24h/day)), plus 12 hours of the next day.

     

    So today’s would be Monday’s bar, all the way to 12PM Tuesday afternoon — making a day and a half. It’s about right and would get the job done. Won’t make too much of a difference for what I want to study.

     

    Right now I’m working with available timeframes like Daily, sometimes D2 (48 hours). Was just always curious if there’s any “gold” in H36. Not a huge deal.

     

    Very appreciative of the help, thanks guys! 👍

    1 user thanked author for this post.
    #229865

    hi… Modified and re-written this from some other code I wrote to see problems involved with custom timeframe.

    Using your 36hrs, this displays rectangles representing the bodies and highs and lows.

    The only frame of reference for the candle start, at the moment,  is bar zero of the chart and then a count of 36 bars.

    It appears to be stable and works on number of timeframes.

    I put a 10 period SMA on chart but multiplied by 36 and increased historical unit to render in right place. I think!

    So its possible with a bit of work, depends how your using it and what other indicators and type of information you want from it.

    druby

     

Viewing 9 posts - 16 through 24 (of 24 total)

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