Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

programmatically wrote alert for indicator

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

    programmatically wrote alert for indicator

    Is there any way to programmatically wrote the alert, cell and filter condition of an indicator so that I don't need to create alerts when I put the indicator to the Market Analyzer? If there is please share some tips and sample. Thanks in advance.

    #2
    You can not program a cell or filter condition, but it would be possible to program an alet condition using the Alert() functions.

    We do not have a direct sample on how to do this, but please see our Help Guide for more information:

    MatthewNinjaTrader Product Management

    Comment


      #3
      I will create an indicator that can fire an alert depending on my conditions. Can that method works in Market Analyzer?

      Comment


        #4
        Yes as long as you've added that indicator to an indicator column in the market analyzer, it will work based of the conditions you used.
        MatthewNinjaTrader Product Management

        Comment


          #5
          Okay I will try that one. I will let you know how it goes. Thanks.

          Comment


            #6
            Does mail function works on Market Analyzer? I have built an indicator that will email to the user when some conditions meet and I have tried it in the chart and it works well but when I add it in the Market Analyzer it doesn't send some email. Please help.

            Comment


              #7
              Yes, it should work on the market analyzer as well. I would suggest increasing the # of bars to load from the indicator column properties to ensure there are enough bars to calculate your conditions as well.
              MatthewNinjaTrader Product Management

              Comment


                #8
                My Indicator doesn't work on Market Analyzer. I used this function SmtpServer.Send(mail); and it works when I put the indicator in the chart.

                Comment


                  #9
                  Hello,

                  Thank you for your response.

                  SmtpServer.Send(mail); would be an unsupported method, please try using SendMail() instead.

                  For information on SendMail() please visit the following link: http://www.ninjatrader.com/support/h...7/sendmail.htm

                  Please let me know if this works in the Market Analyzer.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by RubenCazorla, 08-30-2022, 06:36 AM
                  3 responses
                  77 views
                  0 likes
                  Last Post PaulMohn  
                  Started by f.saeidi, Yesterday, 12:14 PM
                  9 responses
                  23 views
                  0 likes
                  Last Post f.saeidi  
                  Started by Tim-c, Today, 03:54 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post Tim-c
                  by Tim-c
                   
                  Started by FrancisMorro, Today, 03:24 AM
                  0 responses
                  5 views
                  0 likes
                  Last Post FrancisMorro  
                  Started by Segwin, 05-07-2018, 02:15 PM
                  10 responses
                  1,772 views
                  0 likes
                  Last Post Leafcutter  
                  Working...
                  X