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