• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Repeating Alert

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

    #16
    Actually got ONE alert at 8:55pm preceding the 9:00pm condition.
    Attached Files
    Last edited by Rashid Garuba; 12-06-2018, 07:18 PM.

    Comment


      #17
      We need to simplify the alert on your end to make sure we can get one condition to work then we can repeat that to get the additional conditions working. I've tested the settings in the attached screenshot in Market Replay and they work for me. I would recommend that we try for just a few minutes after you finish this configuration instead of waiting for the half hour in order to speed up the confirmation of working/not working

      Attached Files
      Patrick G.NinjaTrader Customer Service

      Comment


        #18
        That worked...

        Comment


          #19
          Patrick,

          There is an inconsistency with the way this works.. A few times it did nothing and on the latest it is alerting DEFINITELY 5 minutes early.. same exact settings. On timer re-arm is consistent but the bar close is confused in some way...
          Attached Files
          Last edited by Rashid Garuba; 12-08-2018, 03:29 PM.

          Comment


            #20
            Patrick,

            This likely has something to do with the alerts being 5 minutes early:

            https://ninjatrader.com/support/foru...in-at-the-hour

            Comment


              #21
              Hello Rashid,

              I'm responding on behalf of Patrick who asked me to look into this further.

              Something to note with time based alerts is that they will check the timestamp of the developing bar with each incoming tick rather than checking the current time against the time noted in the alert. This would mean that on the first tick that develops the "trigger bar" the alert will fire and this will look like an early alert. I created a feature request to improve time based alerts so they can either check the actual time relative to the timezone configured in NinjaTrader's options menu or to check on bar closes instead of on each tick. That feature request is being tracked with the ticket ID SFT-3671. We can't offer an ETA or promise of fulfillment, but if anyone else would like to see these sort of improvements, we will track interest in that ticket ID.

              You can work around the "early alerts" with time based bars by creating an alert that triggers on the next bar.

              As for OnBarClose rearms not consistently firing alerts, this may be related, but I have opened a ticket with our QA team to look into further.

              I'll keep you posted on how that matter develops.

              Thanks for your post and bringing this to our attention.
              JimNinjaTrader Customer Service

              Comment


                #22
                Jim,

                Thanks for looking into it.. As long as the behavior is known I can adjust my alerts to compensate.. Will keep an eye out when it is fixed so I can re-edit the alerts back at that time.

                While you're at it can anything to be done we can use the Equals (makes more sense..?) rather than combining "Greater equal" and "Less"? Equals allows stacking ANY of several time conditions. ALL of "Greater equal" and "Less" forces using several separate alerts.. Currently Equals doesn't work.

                Thanks

                Comment


                  #23
                  Hello Rashid,

                  Statements of equality can potentially be off for timing reasons and for floating point calculation reasons. There are also circumstances where tick based bars and bars that have local time stamps (depending on your provider) can give timestamps that cannot be checked by equality. Creating alerts that check greater-or-equal with a less-than will be more universally reliable.

                  In the meantime, you should be able to handle creating your alerts with the 2 conditions and using a ReArm period for a timer matching the length of the bar's life.
                  Last edited by NinjaTrader_Jim; Yesterday, 02:48 PM.
                  JimNinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Orden33, Today, 10:09 AM
                  1 response
                  4 views
                  0 likes
                  Last Post NinjaTrader_Jim  
                  Started by martyn73, Today, 10:18 AM
                  1 response
                  4 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by silverm3170, Today, 10:03 AM
                  1 response
                  2 views
                  0 likes
                  Last Post NinjaTrader_Jesse  
                  Started by diff24rac, 04-04-2018, 05:32 AM
                  6 responses
                  473 views
                  0 likes
                  Last Post fx.practic  
                  Started by gma17, Today, 08:58 AM
                  1 response
                  10 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Working...
                  X