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