Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Replace Swing indicators dots with text

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

    Replace Swing indicators dots with text

    hi,
    how can I replace dotted line in NT8 swing indicator with letters like texts to plot?

    #2
    Hello asmmbillah,

    Thanks for the post.

    The swing indicator uses the plots to draw the dots so if you wanted to do text instead you could hide the plot and use OnRender for that. The only performance friendly way would be to use OnRender if you need to draw a lot of text objects.

    The most simple way would be to replicate what the Pivots indicator does and use Plots to hold data and then OnRender to display it in a custom way. It uses the visible bars in a loop to show only what needs to be visible to save resources.

    You could also draw a text object for each bar where you need to, the logic of the swing uses loops to go back and re write data. You would have to come up with a system to tag your drawing objects so that you can later change/remove them as the swing updates.

    I look forward to being of further assistance.

    Comment


      #3
      thanks for your reply. is there anyway I can save the swing high and swing low value to a variable to use it in other indicator from NT8 Swing indicator?

      Comment


        #4
        Hello asmmbillah,

        Generally no, the swing needs to calculate as it goes so that value may change. You can see the existing methods in the swing which are used to expose its data however that indicator specifically is not intended to be used for signals.



        I look forward to being of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        574 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X