Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 ETFVoyageur, Today, 04:00 PM
            2 responses
            15 views
            0 likes
            Last Post ETFVoyageur  
            Started by dward123, 01-02-2024, 09:59 PM
            3 responses
            168 views
            0 likes
            Last Post bjunaid
            by bjunaid
             
            Started by AaronKTradingForum, Today, 03:44 PM
            1 response
            8 views
            0 likes
            Last Post AaronKTradingForum  
            Started by Felix Reichert, 04-26-2024, 02:12 PM
            11 responses
            77 views
            0 likes
            Last Post Felix Reichert  
            Started by junkone, 04-28-2024, 02:19 PM
            7 responses
            83 views
            1 like
            Last Post junkone
            by junkone
             
            Working...
            X