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

Market analyser condition

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

    Market analyser condition

    Hi,

    On the market analyser can you get it to put a condition on the scan. For example you want to get a alert on a CCI on oversold, you only want to get it when the price is below a certain moving average.

    Thanks,
    Bdg820

    #2
    Hello Bdg820,

    Are you referring to when the RSI is greater than the Upper line and when the RSI is lower than the Lower line?

    The Market Analyzer is able to add cell conditions and alert condition when comparing a column to a hard coded value. For example, you could add the RSI column, and add an Alert filter that checks when this column crosses above 70 and a second condition when the RSI crosses above under 30.

    However, you have additional requirements with this condition that would mean the value cannot be hard set (manually set). The requirement that RSI is also below a moving average line (or any other indicator's plot), means you would need to create an indicator that has this multi-conditional logic.

    Because of this, to accomplish your goal in NinjaTrader 7, this would require custom programming.

    I have an example that demonstrates how to use an indicator to scan for conditions, set a value in a plot that can be read by the Market Analyzer, and use this to trigger an alert.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello banghasan,

      Welcome to the NinjaTrader forums.

      Yes, I can confirm these features are part of the Market Analyzer in NinjaTrader.

      May I provide any further information?
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Good work, like your style.

        Comment


          #5
          Hi, can I add condition in the market analyzer for example, if opening price above or bellow bollinger band upper or lower?

          Comment


            #6
            That's for NT8

            Comment


              #7
              Hello mkaraa,

              Thank you for your note.

              You would not be able to create an alert condition in the Market Analyzer that checks if the Open price crosses above or below the upper and lower Bollinger bands. Only the Ask, Bid, and Last prices are available to create Alert conditions.

              This would require multiple conditions so you would need to create an indicator that has this multi-conditional logic.

              In the custom indicator, you would create a condition that checks if the Open[0] crosses above the upper Bollinger band and assigns a value of something like 1 to a plot. You would also create a condition that checks if the Open[0] crosses below the lower Bollinger band and assigns a value of something like -1 to a plot. Then, you could add the custom indicator to a Market Analyzer column and create an alert that checks if the custom indicator equals 1 or -1.

              See the attached example script demonstrating how to create a cross detection for the Market Analyzer.

              Also, see the help guide documentation below for more information.

              Bollinger - https://ninjatrader.com/support/help...nger_bands.htm
              Open - https://ninjatrader.com/support/helpGuides/nt8/open.htm
              AddPlot - https://ninjatrader.com/support/help...t8/addplot.htm
              CrossAbove - https://ninjatrader.com/support/help...crossabove.htm
              CrossBelow - https://ninjatrader.com/support/help...crossbelow.htm
              Alert - https://ninjatrader.com/support/help.../nt8/alert.htm

              Let us know if we may assist further.
              Attached Files
              Brandon H.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by cls71, Today, 04:45 AM
              0 responses
              1 view
              0 likes
              Last Post cls71
              by cls71
               
              Started by mjairg, 07-20-2023, 11:57 PM
              3 responses
              213 views
              1 like
              Last Post PaulMohn  
              Started by TheWhiteDragon, 01-21-2019, 12:44 PM
              4 responses
              544 views
              0 likes
              Last Post PaulMohn  
              Started by GLFX005, Today, 03:23 AM
              0 responses
              3 views
              0 likes
              Last Post GLFX005
              by GLFX005
               
              Started by XXtrader, Yesterday, 11:30 PM
              2 responses
              12 views
              0 likes
              Last Post XXtrader  
              Working...
              X