Period Seperators
Forums › ProRealTime English forum › ProBuilder support › Period Seperators
- This topic has 8 replies, 2 voices, and was last updated 3 years ago by ashoka.
-
-
03/17/2021 at 10:34 PM #164525
Hi,
Does anyone know how to have the platform draw period seperators i.e every 5 mins. So if I was looking at 1min chart or seconds chart, a horizontal line would draw every 5mins. (So for example, the 1min would shown 5 candles then on next candle draw the line again and continue doing this every 5mins.)
Thanks
03/17/2021 at 11:06 PM #164529Only post in the language of the forum that you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.
Thank you 🙂
I moved it from the German forum.
03/17/2021 at 11:12 PM #16453103/17/2021 at 11:13 PM #164532There you go (not tested):
1234If (OpenMinute mod 5) = 0 thenDRAWVLINE(BarIndex) COLOURED(255,0,0,255) style(DottedLine,1)EndifReturn03/17/2021 at 11:19 PM #164534Do not double post, again in the German forum!
I deleted it.
Please take more time to read the basic rules highlighted in yellow below.
Thank you 🙂
03/17/2021 at 11:39 PM #164535Hi Roberto,
Many Thanks for the code. I tested and it is verey close to what I want. I have attached 3 images. The first image (Period-Sep1.png) when I add the indicator to a 15sec chart this is how it shows. I need it to show like in the second image (Period-Sep2.png). Basically I kept the indicator code you gave but colored the start with yellow vertical line and then the next vertical Yellow line. (The yellow vertical lines should display very 5mins i.e image show first line started at 19.55 and next at 20.00. This should continue every 5mins.) (note: the final result should look like image Period-Sep3.png).
One other thing. How do I only show the lines on a specific timeframe and not other timeframes also.
Thank you once again for your help.
03/18/2021 at 12:01 AM #16453903/18/2021 at 12:14 AM #164541Yes, that was to be used only on minutes.
Tio work also on seconds, replaxce line 1 with:
1If (OpenMinute <> OpenMinute[1]) AND ((OpenMinute mod 5) = 0) then03/18/2021 at 12:20 AM #164542 -
AuthorPosts
Find exclusive trading pro-tools on