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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        41 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        66 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X