Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Price alert

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

    Price alert

    Hi,

    I link market analyzer and chart. What is the most feasible way to set price alert on multiple charts? Due to my workspace limitation, I cannot open more than 10 chart windows. If I want to set price alert on mulitple charts, how can I do this? I just read from MA forum that market analyzer doesn't support price alert. Thank you.

    Sunnyrain

    #2
    Market analyzer support alerts (please see docs), chart don't (unless coded in a NinjaScript indicator/chart, please see docs).

    Comment


      #3
      Try this...

      Comment


        #4
        Hi KBJ and Dierk,

        Thank you for quick reply. I am not sure I understand. From document, the alert is created per column, not per cell. I set alert to triggle if last price is great than 30. The problem is that I only want this alert to happen on certain symbol, say BRCM. For GOOG, I may want to set alert if last price is larger than 570 because it doesn't make sense to set price alert of GOOG at 30. Can I achieve this? I tried on MA but for all of the symbols in MA, the last price alert is at 30.

        Thank you.

        SunnyRain

        Comment


          #5
          You could write a special indicator to load into the Market Analyzer that would check for a match on the Instrument name as well as the price.

          Something like this...

          Code:
          protected override void OnBarUpdate()
          {
              check_alert( "GOOG", 570 );
              check_alert( "BRCM", 30 );
          }
          
          private void check_alert( string sym_name, double sym_price )
          {
              if (Instrument.FullName == sym_name)
              if (Close[0] > sym_price)
              {
                  Alert( sym_name + CurrentBar, 
                     NinjaTrader.Cbi.Priority.High,
                     String.Format( "Stock {0} has exceeded a price of {1}", sym_name, sym_price ),
                     "Alert1.wav", 10, Color.Black, Color.Yellow);
              }
          }
          I haven't tested this, but it should be a starting point for you.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          72 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          39 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          63 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          63 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          53 views
          0 likes
          Last Post CarlTrading  
          Working...
          X