Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Alert..

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

    Alert..

    Is it possible to configure this in strategy analyzer?:

    Price crosses above keltner channel?

    I can only set values..

    Or do I have to code this in the indicator itself? How can I do that..?

    #2
    Hello no111,

    Yes, it's possible to test for crossing conditions using the Strategy wizard as well as set alerts.

    See here for help on using the condition builder to test for cross overs.

    Setting alerts is one of the default strategy actions available when creating through the wizard.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_RyanM View Post
      Hello no111,

      Yes, it's possible to test for crossing conditions using the Strategy wizard as well as set alerts.

      See here for help on using the condition builder to test for cross overs.

      Setting alerts is one of the default strategy actions available when creating through the wizard.
      Ok I get it. But that is in the active chart I have on my screen right? How can I set that for all my symbols, I have on Market Analyzer?

      Also, this doesn't work really:

      PHP Code:
              protected override void Initialize()
              {

                  
      CalculateOnBarClose true;
              }

              
      /// <summary>
              /// Called on each bar update event (incoming tick)
              /// </summary>
              
      protected override void OnBarUpdate()
              {
                  
      // Condition set 1
                  
      if (Close[0] > KeltnerChannel(2.520).Midline[0])
                  {
                      
      Alert("MyAlert71"Priority.High"momo UP", @"D:\Program Files\NinjaTrader 7\sounds\Alert1.wav"0Color.GreenYellowColor.Black);
                  }
              } 
      Last edited by no111; 06-09-2010, 10:43 AM.

      Comment


        #4
        Yes, for the market analyzer it will be a little different. You can use the strategy wizard to generate the syntax needed and put this in a custom indicator.

        Please see this thread on setting crossover conditions in the market analyzer for additional information.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by judysamnt7, 03-13-2023, 09:11 AM
        4 responses
        57 views
        0 likes
        Last Post DynamicTest  
        Started by ScottWalsh, Today, 06:52 PM
        4 responses
        36 views
        0 likes
        Last Post ScottWalsh  
        Started by olisav57, Today, 07:39 PM
        0 responses
        7 views
        0 likes
        Last Post olisav57  
        Started by trilliantrader, Today, 03:01 PM
        2 responses
        19 views
        0 likes
        Last Post helpwanted  
        Started by cre8able, Today, 07:24 PM
        0 responses
        9 views
        0 likes
        Last Post cre8able  
        Working...
        X