Custom timeframe creation
Forums › ProRealTime English forum › ProRealTime platform support › Custom timeframe creation
- This topic has 23 replies, 7 voices, and was last updated 9 months ago by druby.
-
-
03/08/2024 at 6:00 PM #229490
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.
03/11/2024 at 8:55 AM #22956903/11/2024 at 9:17 AM #22957503/11/2024 at 11:52 AM #229604Hi 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!
03/11/2024 at 11:54 AM #229605If 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.
03/11/2024 at 12:45 PM #229606It 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.
03/11/2024 at 5:41 PM #22961803/11/2024 at 9:24 PM #229620Question 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.
03/15/2024 at 6:54 PM #229865hi… 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
-
AuthorPosts
Find exclusive trading pro-tools on