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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    53 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    34 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    100 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    181 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    170 views
    0 likes
    Last Post CarlTrading  
    Working...
    X