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:	128
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
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by AaronKoRn, Today, 09:49 PM
    0 responses
    11 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Today, 08:42 PM
    0 responses
    10 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Today, 07:51 PM
    0 responses
    11 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,980 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Today, 06:48 PM
    0 responses
    9 views
    0 likes
    Last Post rbeckmann05  
    Working...
    X