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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        44 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        58 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        35 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        95 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        59 views
        0 likes
        Last Post PaulMohn  
        Working...
        X