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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      169 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      88 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      128 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      208 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      185 views
      0 likes
      Last Post CarlTrading  
      Working...
      X