• 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

Alert window Reset

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

    Alert window Reset

    I have the same indicator generating Alerts from two different charts each with a different instrument. What happens is that one or both of the charts stops Alerting. I put debug code in the indicator to Print before and after the alert is triggered and the debug code prints as correctly but alas the alert does not alert. I thought it might have something to do with the Rearm time and set them all to zero just in case even tho when it stops it stops. What I found consistently was that if I Reset the Alert window the Alerts start up again. There are no Errors in the Log. Does anyone have any ideas on either what is going on or how to Debug it. I assumed a rearm time of zero would just play over the Alert with same ID that was in progress.

    Thanks
    J~

    #2
    JerryWar,

    Thank you for your post.

    You will need to use different IDs between the two charts. I would suggest adding
    + CurrentBar after the string name

    "myID" + CurrentBar
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Cal,
      Thanks - In that case I think I will try appending Instrument.MasterInstrument.Name

      J~

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by futures2018!, Yesterday, 05:01 PM
      3 responses
      12 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Splex, Today, 12:04 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by n8dogg59, Today, 06:55 AM
      0 responses
      3 views
      0 likes
      Last Post n8dogg59  
      Started by Tradarr, Yesterday, 07:13 PM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Started by unlobotrader, Today, 02:46 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_ChristopherS  
      Working...
      X