Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change plot on NinjaScript Editor

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

    Change plot on NinjaScript Editor

    Hi,
    I want to change the setting of the Swing indicator and instead of plotting a line of dots, I would like to only see a single dot on the respective high or low marked by the indicator.

    This is how it plots right now:


    This would be how I would like it to be:
    Click image for larger version

Name:	image.png
Views:	221
Size:	79.4 KB
ID:	1219130

    Any tips on how and where (on the Editor) to change this config?

    Thanks!!
    Attached Files

    #2
    Hello carlosgutierrez,

    The swing indicator uses Plots to draw the dots which represent the data contained in the plot. To have only 1 dot per swing would require going back and clearing out the plot data for the remainder of the swing. You can use the Reset method to reset specific bars however you would need to use a loop to go back over the previous data. https://ninjatrader.com/support/help...lightsub=reset

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    646 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    367 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X