Display less data than loaded
Forums › ProRealTime English forum › ProBuilder support › Display less data than loaded
- This topic has 10 replies, 4 voices, and was last updated 4 years ago by Nicolas.
-
-
12/28/2020 at 5:59 AM #15537712/28/2020 at 10:13 AM #155394
Yes … use below in your code …
https://www.prorealcode.com/documentation/calculateonlastbars/
12/28/2020 at 10:48 AM #155404Yes … use below in your code … https://www.prorealcode.com/documentation/calculateonlastbars/
Haha, that could be the idea, if the question had been the other way around.
But I suppose I read the question too literally and your answer will be spot-on.
Might I be right after all, then the answer lies in that command which pre-loads 20000 – 10 = 19990 bars. 🙂
Of course I don’t know the command from the top of my head … 🙁
Edit : Should be the PreloadBars command.12/28/2020 at 11:26 AM #15541712/28/2020 at 11:54 AM #155419Thank you.
I have PRT v11.
Regarding your answers:
- Calculateonlastbars = I think not appropriate since I want to limit the displayed data in my case.
- Preloadbars= seems to exist only for automatic trading. Not for Probuilder
Just for info : on timeframe 1 minute, the indicator worstcase looks the value of Senkou Span B (52 period) of the time frame 4 hours so at least 52*60*4 so = 12480 units/bars at least seem needed. Attached you will see the indicator (show more or less the trend of ichimoku, 1st line is 1 min, 2nd 5 min, 3rd 15 min 4th 1hour and 5th line is 4 hours).
I would like to display only the 10 last minutes for example. Not the 20 000 last units.
Thank you.
12/28/2020 at 12:06 PM #155423I would like to display only the 10 last minutes for example. Not the 20 000 last units.
Wouldn’t that be the case of, say, “zooming” until you see the last 10 minutes only ?
Notice that V11.1 will remember your zoom-state, so at a restart of the platform it will remain exactly as how you left it (if you let the chart be on-screen).1 user thanked author for this post.
12/28/2020 at 12:40 PM #15542712/28/2020 at 1:40 PM #155432I would like to display only the 10 last minutes for example. Not the 20 000 last units.
Think I’m missing the point (due to not reading / understnading), but why don’t you just select 10 units x 1 min (instead of 20k units) if you only want to see the last 10 minutes?
12/28/2020 at 2:14 PM #15543712/28/2020 at 2:30 PM #15543901/04/2021 at 11:48 AM #156190 -
AuthorPosts
Find exclusive trading pro-tools on