Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw question

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

    Draw question

    I'm using the following;

    DrawDot("tag1", true, 0, Low[0] - TickSize, Color.Red);

    as part of an indicator. I want the DrawDot to stay there, but each time the condition is met that calls for the dot to be drawn, it removes the previous one. Is there a way to keep all of the dots drawn, and not just the current one?

    Thanks,

    Safetrading

    #2
    Hello safetrading,
    Please modify your code with the below code


    Code:
    DrawDot("tag1" + CurrentBar, true, 0, Low[0] - TickSize, Color.Red);

    Please let me know if I can assist you any further.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    173 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    91 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    129 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    209 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    186 views
    0 likes
    Last Post CarlTrading  
    Working...
    X