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 frslvr, 04-11-2024, 07:26 AM
          7 responses
          109 views
          1 like
          Last Post caryc123  
          Started by rocketman7, Today, 09:41 AM
          3 responses
          7 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by traderqz, Today, 09:44 AM
          2 responses
          4 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by stafe, 04-15-2024, 08:34 PM
          8 responses
          41 views
          0 likes
          Last Post stafe
          by stafe
           
          Started by rocketman7, Today, 02:12 AM
          7 responses
          31 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X