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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    160 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    308 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    245 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    349 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X