Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alerts on Lines

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

    Alerts on Lines

    Hi,
    Is it possible to attach an alert to a line? Yes, I know it can be programmed and I can do this but I wanted to know if this is already built into NT7 and I am missing something. Please let me know. Thank you.

    Is it possible to modify the existing built-in line tool to add an alert?
    Or, how can I build a custom line tool with alerts and link it inot NT7?
    Any info would be gretaly appreciated. Thank you.

    #2
    Hi Zeos,

    This is only available with custom programming, by exposing drawing objects properties using IDrawObject:
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks Ryan. I neeed a little bit more.What part are you answering? Are you saying I can create a custom line tool with alerts using the IDraw object? So would I create an indicator code that exposes the property desired and run it on the chart?

      Comment


        #4
        This will be in an indicator or strategy script. You're not creating a new drawing object tool, but rather using NinjaScript to expose properties related to drawing objects. They're identified by the tag, so these can be code placed and manually placed objects.

        To see examples and what properties you can expose, use the IDraw page for the specific object you plan to work with.

        Horizontal Line:
        Last edited by NinjaTrader_RyanM1; 06-23-2011, 02:13 PM.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Thanks Ryan. What is the IDraw object for line. I find horizontal line, vertical line extended line but not line.
          Last edited by Zeos6; 06-23-2011, 02:13 PM.

          Comment


            #6
            Line is Iline.
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            161 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            309 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