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