Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Limiting a plot

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

    Limiting a plot

    Hi,

    I can readily draw a dot at every swing. But, I would like to remove the dot from the previous swing highs when a new swing high is formed. That is, I want the only the latest swing high to be indicated with a dot.

    Can anyone point me towards a solution or an example?

    Thanks

    #2
    Hi davel,

    You can modify a copy of NT's built in swing. Click Tools > Edit NinjaScript > Indicator. Open Swing then within the NS editor: Right Click > Save as to provide a new name.

    Unfortunately I'm not aware the exact changes you'll need here, but you could use drawing objects to draw objects at values. If the drawing object tag is not unique, then it's replaced each time so that only the last (most current) one is drawn.
    Last edited by NinjaTrader_RyanM1; 08-29-2011, 11:08 AM.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    152 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    89 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    131 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X