Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

alert for automatically drawn lines

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

    alert for automatically drawn lines

    Hi Ninjas

    Is there anything I can use from the NT arsenal to get alerted if the MACD trendline is broken? I use EOD data so if alert wouldn't work (email/sound), printing smth. into Output window instead would be great.

    I've developed an "automatic" MACD trendline which I'd like to test:
    I've implemented a DrawTrendChannel on the MACD line. 1 trendline is plotted rather than channel, but that's what I needed. (I needed a trendline crossing both MACD swings with its plot lasting behind 2nd swing (classic trend), DrawLine only connects 2 swings with plot limited by 2 dots).

    I've noticed there's an indicator called "alert for manually drawn lines", but my line is "automatic" so I wonder if there's a better match in this case.

    #2
    Hello ionaz,

    That would be the best method that I can think of. You may want to take out the "UserDrawn" check so that way you can check for objects that are programmatically drawn.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    618 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    359 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    561 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    566 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X