Running daily Volume in a intraday Chart
Forums › ProRealTime English forum › ProBuilder support › Running daily Volume in a intraday Chart
- This topic has 13 replies, 6 voices, and was last updated 6 years ago by Nobody.
-
-
08/07/2018 at 8:15 PM #77737
Hello,
I would like to have the running daily volume of the recent day visualized in an intraday chart like the 2min timeframe.
For example I attached two charts:
- msft PRT 2min chart where I need the running daily volume
- the msft 2min chart of Lightspeed platform, where the example of the running daily volume is showed.
Possible to create something similar like that in PRT?
Thanks for help
Best regards
André
08/07/2018 at 9:24 PM #77739Where does the 11,792,548 volume come from for the Lightspeed Platform ?
I ask because even if somehow you / somebody could provide a means to get a daily volume figure displayed on PRT Charts then it would only be the volume generated by IG Clients.
Would be a different source if you use the PRT direct Platform (correct name escapes me) operating / dealing direct to / from exchanges.
08/08/2018 at 9:37 AM #77752The code below will do it for you:
1234567891011defparam drawonlastbaronly=trueif intradaybarindex=0 thenvol=0endifvol=vol+volumedrawtext("running daily volume= #vol#",barindex,0,Dialog,Bold,22)returnBecause we can’t anchor the text at a fixed position on the chart, I made the text to appear at 0 price value, so you should add the indicator below the chart and not applying on price, like in the attached picture.
08/08/2018 at 2:23 PM #7777308/08/2018 at 2:26 PM #7777508/09/2018 at 7:08 AM #7781708/09/2018 at 7:25 AM #77818Does this work?
12345if Time < 090000 and Time > 160000 thenvol=0endifvol=vol+volume2 users thanked author for this post.
08/09/2018 at 7:54 AM #77819Does this work?
No but it looks like the right track
08/09/2018 at 8:26 AM #77825if Time < 090000 and Time > 160000 then
TIME cannot be < 090000 AND > 160000 at the same TIME! 🙂
Replacing AND with OR should do.
08/09/2018 at 8:46 AM #7782808/09/2018 at 9:20 AM #77831Appreciate all the help given . Very handy tool for me . This the code im using
12345678// cummulative volume for ASX aus200 Timezoneif Time < 095000 or Time > 163000 thenvol=0endifvol=vol+volumereturn vol coloured(285,165,32)style(histogram)08/09/2018 at 9:34 AM #77833Above added as row 55 here Snippet Link Library
1 user thanked author for this post.
08/09/2018 at 4:21 PM #77880Hello,
I have another additional question, regarding the indicator Nicolas has given me for the daily volume counter:
Works fine so far, but I noticed the following. When the chart is in an intraday timeframe like 2min or 1hour, the volume in the indicator is counting with a lag/delay. Not so when I switch to the daily timeframe.
What could be the reason for that? Please check the attached screenshot.
Thanks
André
08/09/2018 at 4:55 PM #77886Hello,
I have another additional question, regarding the indicator Nicolas has given me for the daily volume counter:
Works fine so far, but I noticed the following. When the chart is in an intraday timeframe like 2min or 1hour, the volume in the indicator is counting with a lag/delay. Not so when I switch to the daily timeframe.
What could be the reason for that? Please check the attached screenshot.
Thanks
André
The daily volume updates constantly but the intra volume counter only adds the volume for current 2 m bar once bar is completed
1 user thanked author for this post.
-
AuthorPosts
Find exclusive trading pro-tools on