Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert not working sometimes in Strategy

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

    Alert not working sometimes in Strategy

    I have set both Alert and Drawing in my action in Strategy. I do get the Drawing (background painted) all the time. However, I get Alert only occasionally (very few).

    I didn't unlock code. Simply using the Strategy wizard to configure the Strategy. See attached screen image.

    Why is it so? How can I get consistent Alert. I do not stare at the screen all the way. So, I depend on the audio Alert to bring me back to the screen.
    Attached Files

    #2
    Hi kalim, do you reset the alert once triggered in your Alerts Window?



    What rearm time setting do you use?

    Thanks,

    Comment


      #3
      rearm seconds = 0

      Comment


        #4
        Ok, then please reset the alert once triggered in your window and then check if a subsequent one would get through as expected.

        Comment


          #5
          The reset works. But do I really need to do that every time an alert fires off?

          Comment


            #6
            Unfortunately you would need to, as the unique alert id you have assigned to it would need to be refreshed. This can be done programmatically as well with ResetAlert() but you would need to work outside the wizard here - http://www.ninjatrader.com/support/h...resetalert.htm

            Alternatively you can work with higher rearm time settings for your wizard script, which would provide an automatic reset effect then.

            Comment


              #7
              what would you suggest for the rearm time settings? I was just using the default value (which is 0).

              Comment


                #8
                I normally tie them to the bar size that is being used, but it really depends how often you want them to be refreshed. So if you're trying for example 10 - 20, any change in outcome for your case?

                Thanks,

                Comment


                  #9
                  Setting to 10-20 is not good. It basically gives me an alert every 10-20 seconds.

                  Comment


                    #10
                    Sorry kalim, don't follow you - what kind of chart and CalculateOnBarClose setting do you work on with your strategy?

                    Comment


                      #11
                      ES 09-12, 2min/5min/15/min. Cacluate On Bar Close unchecked.

                      Comment


                        #12
                        With 'unchecked' you mean updating on every tick?

                        Comment


                          #13
                          yes, update on every tick. I need the alert to be real time when the indicator value meets the condition. Not when the bar close.

                          On a 2min chart, if the indicator value didn't change, I do not want the Alert. Say, if the condition is for ADX > 50 to get an alert, when ADX is 51, I want to get an alert. If ADX continues up to 52, I don't mind to get another alert. The issue is when ADX remains 51 for the whole 2min bar, I get an alert every 20 seconds.

                          Comment


                            #14
                            Thanks much Kalim, then I would just try using a rearm of 1 for working with updates on each tick incoming. For the condition of the ADX then, try expressing this as a cross above your level and not just checking for being greater, as this really is not the signal you're interested then in, correct?

                            Comment


                              #15
                              Ok, I will try using rearm of 1 to see if it is working.

                              For the ADX condition, it was just an example for illustration. I am not looking at greater than or cross above/below. The condition is a lot more complex

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              647 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              369 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              108 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              572 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              573 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X