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...

      http://www.ninjatrader-support.com/H...lertConditions

      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 Board game geek, Yesterday, 09:46 AM
          6 responses
          41 views
          0 likes
          Last Post Board game geek  
          Started by cls71, Today, 01:28 AM
          1 response
          18 views
          0 likes
          Last Post Gibranes  
          Started by Irukandji, Today, 03:10 AM
          0 responses
          5 views
          0 likes
          Last Post Irukandji  
          Started by speedytrade02, Yesterday, 12:07 PM
          4 responses
          25 views
          0 likes
          Last Post speedytrade02  
          Started by zayone, Today, 01:31 AM
          0 responses
          11 views
          0 likes
          Last Post zayone
          by zayone
           
          Working...
          X