Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Analyzer Scanner

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

    Market Analyzer Scanner

    Hello, can anyone explain how can I program an indicator in the NinjaTrader Market Analyzer to scan the market using two Exponential Moving Averages (EMA)? For instance, I want the Market Analyzer to show me only "Trend is up" or "Trend is down" according to the crossover of two EMA's.

    Thank you in advance.
    Rodrigo

    P.S.: Please see the image attached... that's what I need...
    Attached Files

    #2
    Hello Rod LM,

    Thank you for your post and welcome to the NinjaTrader forums!

    A similar question was asked a couple days ago. Review this thread and let me know if you have any additional questions.
    http://www.ninjatrader.com/support/f...ad.php?t=29187
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      OK, let me try again: I need an indicator to show "1" (or "Trend is up") if, for instance, EMA(30) is greater then EMA(60) on a 60 Minute chart... I'm not looking for the crossover itself (although an alert when it crosses over would be very interesting for the indicator)... If the EMA(30) is lesser then EMA(60) on a 60 Min chart I need the indicator to show "0" (or "Trend is down").

      Thanks again in advance,
      Rodrigo

      Comment


        #4
        Hi Rod,

        A good place to start for learning NinjaScript is with our strategy wizard. You can see below for the article in making Indicator to value comparisons with the condition builder.



        A good approach might be creating some simple conditions in the strategy wizard and then applying that code to a custom indicator.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Thanks for your support... I have written the indicator and now it works perfectly!

          Regards,
          Rodrigo

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          117 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          166 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          85 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          130 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          88 views
          0 likes
          Last Post PaulMohn  
          Working...
          X