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 NullPointStrategies, Today, 05:17 AM
      0 responses
      50 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      126 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      69 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 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