• 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 DariusDeck, Yesterday, 04:22 PM
      5 responses
      37 views
      0 likes
      Last Post NinjaTrader_EricB  
      Started by StevenNelson, Today, 05:49 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Started by fx.practic, Today, 01:41 AM
      0 responses
      12 views
      0 likes
      Last Post fx.practic  
      Started by wolfcuring, Today, 01:29 AM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by BrandonT1292, 06-17-2019, 03:03 PM
      2 responses
      32 views
      0 likes
      Last Post thinarthrill  
      Working...
      X