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:	122
Size:	41.6 KB
ID:	1055393
    Click image for larger version

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

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

    Click image for larger version

Name:	2019-04-26_1302.png
Views:	128
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 NullPointStrategies, Today, 05:17 AM
      0 responses
      25 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      121 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      64 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      41 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X