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:	271
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 kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    131 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    106 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    88 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    107 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    87 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X