Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"Bars ago" Missing in Alert Conditions

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

    "Bars ago" Missing in Alert Conditions

    I am trying to add alerts in Market Analyzer. When I go into the Alert Conditions, I do not have "Bars Ago" field. I only see Properties "Offset" field. How can I make the Bars Ago field show?

    #2
    Hello zextra,

    Thank you for your post.

    The Market Analyzer is real-time only and does not display historical values, therefore it would not be possible to create an alert based on a historical bar or indicator value. This would be why you don't see the "Bars Ago" field when trying to set up an alert in the Market Analyzer.

    In contrast, a Chart does display historical bar data, therefore a chart alert would be able to use historical bar data to be considering in a specific alert condition used for indicators and other data series. I would suggest trying to set up your alert on a chart instead if you need to use information from historical bars in your alert.

    More information on using alerts is available here:



    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      There is actually a simple way to achieve this. If you make a simple indicator which displaces its input by a period of "N". And set the input of this displacement indicator as another indicator. Then BarsAgo[0] on the displacement indicator will produce the value at BarsAgo[N] on the input indicator.

      You can then make an alert on this column; which will show the indicator value from N Periods ago. I've attached an InputDisplacement Indicator and some screenshots of how to set this up.


      Attached Files

      Comment


        #4
        Hello kevinenergy,

        Thank you for your reply.

        Yes, you could make a custom indicator that uses the values from previous bars; however, there is no native way in the market analyzer to access the values from historical bars when setting up alerts.

        Please let us know if we may be of further assistance to you.
        Kate W.NinjaTrader Customer Service

        Comment


          #5
          Thank you NinjaTrader_Kate and kevinenergy!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by pmachiraju, 11-01-2023, 04:46 AM
          8 responses
          147 views
          0 likes
          Last Post rehmans
          by rehmans
           
          Started by mattbsea, Today, 05:44 PM
          0 responses
          5 views
          0 likes
          Last Post mattbsea  
          Started by RideMe, 04-07-2024, 04:54 PM
          6 responses
          33 views
          0 likes
          Last Post RideMe
          by RideMe
           
          Started by tkaboris, Today, 05:13 PM
          0 responses
          5 views
          0 likes
          Last Post tkaboris  
          Started by GussJ, 03-04-2020, 03:11 PM
          16 responses
          3,282 views
          0 likes
          Last Post Leafcutter  
          Working...
          X