• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

line crosses not number crosses

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

    line crosses not number crosses

    How do you set up alert, cell, or filter conditions based on two plotted lines crossing.
    It is quite simple to set an alert if, for example MACD, crosses above zero, or some other number. But what if I want an alert if the main macd line crosses the signal line. How do I do that?

    #2
    Hello mcteague,

    You may use the Strategy Wizard to be able to create an alert like this inside of a chart. Here is a link to our Help Guide that you may view for more information under the section "How to create a cross over condition".
    http://www.ninjatrader.com/support/h...on_builder.htm

    We also have a video demonstration that may help you create this as well that you may view.
    http://www.youtube.com/watch?v=vt0s4...A140D7&index=4

    Alternatively, you can create an indicator that will do this but would require some custom programming.

    Let us know if you are interested in creating an indicator and we can send you some references that will help out.
    JCNinjaTrader Customer Service

    Comment


      #3
      The point is to be able to scan through a list of instruments to see which meet the criteria.
      If I put it in a chart I have to enter the instrument each time individually.
      Lets think about what you're saying.
      We are using MACD because it is so common and well known. In Ninjatrader I can not scan for crosses of the the MACD line and the Average line. I can only scan for MACD or Average line crosses above or below a number.

      Stockcharts.com has this as one of their free predefined scans. How could this program not have this? Now I am not actually looking for MACD crosses. But any indicator producing 2 lines should be able to be scanned based on those lines crossing. (or one being above the other)

      Since this capability is available in ninjatrader for strategy development, I know that it can be done. And that you can do it. So please just add this rather basic functionality to Market analyzer. And don't ask me to custom code something that should be there already.

      Thank you

      Comment


        #4
        Hello mcteague,

        Thanks for the clarification on that.

        While, I am not StockCharts.com this is possible to do inside of NinjaTrader but you may want to use a custom Indicator to be able this and use the Market Analyzer window.

        Here is a quick MACD cross check that you may try out or view a reference for an indicator but you may want to make sure that Calculate on bar close is set to true.

        To Import
        1. Download the attached file to your desktop
        2. From the Control Center window select the menu File > Utilities > Import NinjaScript
        3. Select the downloaded file

        Note that on any files that say "File already exists on your PC" that start with an "@" symbol are the ones that came preloaded inside of NinjaTrader so you would say "No" so that you do not override those files.

        This will set the plot to 1 if a cross has happened so you can create an Market Analyzer Filter to only see the instrument that you want.

        http://www.ninjatrader.com/support/h..._and_filte.htm
        Attached Files
        JCNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by newuser, Today, 08:37 AM
        0 responses
        2 views
        0 likes
        Last Post newuser
        by newuser
         
        Started by bc24fl, Today, 06:51 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by U0000999, Yesterday, 05:17 AM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_Kate  
        Started by asmmbillah, Today, 05:03 AM
        3 responses
        27 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by lordvader34, Today, 06:18 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Working...
        X