• 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 authenticx, Today, 03:51 PM
      0 responses
      2 views
      0 likes
      Last Post authenticx  
      Started by PN720, Today, 12:54 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by linuxguru, Yesterday, 05:59 PM
      1 response
      22 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by xasser, Today, 02:17 PM
      3 responses
      28 views
      0 likes
      Last Post xasser
      by xasser
       
      Started by ttodua, Today, 01:54 PM
      5 responses
      16 views
      0 likes
      Last Post ttodua
      by ttodua
       
      Working...
      X