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 love2code2trade, Yesterday, 01:45 PM
          4 responses
          28 views
          0 likes
          Last Post love2code2trade  
          Started by funk10101, Today, 09:43 PM
          0 responses
          7 views
          0 likes
          Last Post funk10101  
          Started by pkefal, 04-11-2024, 07:39 AM
          11 responses
          37 views
          0 likes
          Last Post jeronymite  
          Started by bill2023, Yesterday, 08:51 AM
          8 responses
          44 views
          0 likes
          Last Post bill2023  
          Started by yertle, Today, 08:38 AM
          6 responses
          26 views
          0 likes
          Last Post ryjoga
          by ryjoga
           
          Working...
          X