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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        73 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        152 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        100 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        288 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X