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

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

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

    Click image for larger version

Name:	2019-04-26_1302.png
Views:	131
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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      42 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      29 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      46 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Working...
      X