Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

adding CurrentBar number to draw vert line tag

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    adding CurrentBar number to draw vert line tag

    i'ld like to add the CurrentBar number to the tag string of a vertical line drawn by a strategy so that all the instances stay on the chart instead of just the last instance - i'm trying to do this in the string builder associated with the Draw Vertical line "do the following" and am only locking up the chart when i try... /thx

    #2
    Hello stafe,

    Thank you for your post.

    I'm including a number of screenshots to help illustrate how to add the CurrentBar number to your tag.

    Click image for larger version

Name:	2019-04-26_1255.png
Views:	132
Size:	41.6 KB
ID:	1055393
    Click image for larger version

Name:	2019-04-26_1303.png
Views:	131
Size:	24.3 KB
ID:	1055394
    Click image for larger version

Name:	2019-04-26_1259.png
Views:	131
Size:	31.3 KB
ID:	1055395

    Click image for larger version

Name:	2019-04-26_1302.png
Views:	139
Size:	25.0 KB
ID:	1055396

    Here's a link to our help guide that goes over using Drawing Objects in the Strategy Builder - there's a lot of conditions and actions that can be referenced in those tags:


    Please let us know if we may be of further assistance to you.

    Comment


      #3
      thanks, not sure why the "CurrentBars[0]" confused me - i'm used to using "+ CurrentBar" when i write an indicator... have a good weekend !!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      7 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      59 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      41 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      47 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      38 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X