Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

print dots on the price chart (overlay) as certain conditions are met

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

    print dots on the price chart (overlay) as certain conditions are met

    I am trying to print dots on the price chart (overlay) as certain conditions are met. I want to see all the dots and NOT to be erased as they are being printed. As per my code it currently prints only one dot (last dot) at a time. I have attached the indicator's code file. What am I doing wrong here? Please help me with this issue. Hoping to hear from you soon. Thanks!
    Attached Files

    #2
    Hello sukhob, thanks for your post.

    To get multiple drawing objects you must make a unique tag for each of them. This is typically done by appending the CurrentBar to your tag e.g.:

    @"NsBullBearFlag12 Dot_1" + CurrentBar,

    Kind regards.

    Comment


      #3
      Thanks for your prompt reply. Your reply has helped me to resolve the issue. Is there any way to resize the painted dots on the chart? I would like to make them smaller.

      Comment


        #4
        Hello sukhob, thanks for your reply.

        There is no size setting for the dot drawing tool. One would need to use custom rendering to draw a dot in a specific size. There is a guide on using custom rendering here:



        There is also an example in the platform demonstrating much of SharpDX's functionality titled "SampleCustomRender"

        Best regards.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        590 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        342 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        555 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X