Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert only on live data?

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

    Alert only on live data?

    Hi, I made an indicator that will generate an alert... it seemed to go off on me when I was looking at historical data that met the criteria.

    how can i make it trigger only if data is live realtime data coming in right now?

    #2
    NinjaCustomer,

    If you coded with Alert() those will only trigger in real-time. If you were connected it likely occurred on some streaming data.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      thanks, that's what I thought Alert was supposed to do... but...

      it definitely triggers for me on historical data...

      if I'm at the furthest right possible in the chart, i.e. the live data... and it is under threshold like right now... and I press pgup and hold it, it will eventually trigger the alert as the previous chart pages flash on the screen.

      now that I think about it, there is probably no easy solution for this...
      Last edited by NinjaCustomer; 12-01-2009, 04:43 PM.

      Comment


        #4
        Not sure I follow. Suggest you add Print()s in your code to see what is happening under the hood.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        51 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        31 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        165 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        100 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        160 views
        2 likes
        Last Post CaptainJack  
        Working...
        X