Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why is the text is only drawn once?

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

    Why is the text is only drawn once?

    I am using strategy builder.
    my condition is
    High[0] > High [1]

    Under "Do the following" I am drawing a text
    Draw.Text(this, @"HighHigh Text_1", @"HH", 0, (High[0] + 6) );

    This will draw the text every time the condition is true, but later down the line, when a new condition is true, the text is gone and drawn on the new bar satisfying the condition.

    why is the text, only drawn once? or kept only once? I wanna see the text on top of the candle every time the condition is true.

    #2
    Hello AaronKoRn,

    Thanks for the post.

    Thats to be expected when using a non-unique tag, you are just updating the existing object to a new bar/price. If you want multiple objects you need to edit the tag.
    In the do the following section edit your drawing object action
    For the Tag click Set
    In the window that opens where you can type in strings for the tag, click Add to add a new line.
    Click Set
    In the window that opens select Misc -> Current Bar.

    That will append the bar index to the tag name so it cannot update the previous object.


    I look forward to being of further assistance.

    Comment


      #3
      omg, magic, thanks that works

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      51 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X