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

EMA bunch up together

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

    EMA bunch up together

    Hey guys
    how do you tell if ema are bunch up together? So when thing go sideways that normally what happen. I'm trying to code that on strategies builder. Thank you

    #2
    Hi SuperDude123 , thanks for writing in.

    The term bunched up will need to be better defined to implement within the condition builder. The strategy builder will need multiple conditions in the condition builder screen comparing several EMAs against each other. E.g. say you have 5 different EMAs, you will need several conditions in one set comparing all of the values against each other to check if they are within the same price range.

    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Ok say I have 9, 20, and 50 ema. And if they are close together how would I go about it. I can adjust the space room

      Comment


        #4
        Hi SuperDude123,

        One way you could define a grouping is two or more EMAS all within a single bar:


        In practice, you can pick any range of price values on the right side of the condition.

        Kind regards,
        -ChrisL
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          So on this sample, you use 20ema as high and low as range right.
          thanks

          Comment


            #6
            Hi, thanks for your reply.

            The sample is checking that both a 9 and 20 EMA are within the most current bar.

            Kind regards,
            -ChrisL
            Chris L.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by mmenigma, Today, 02:22 PM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by frankthearm, Today, 09:08 AM
            9 responses
            35 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by NRITV, Today, 01:15 PM
            2 responses
            9 views
            0 likes
            Last Post NRITV
            by NRITV
             
            Started by maybeimnotrader, Yesterday, 05:46 PM
            5 responses
            26 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by quantismo, Yesterday, 05:13 PM
            2 responses
            21 views
            0 likes
            Last Post quantismo  
            Working...
            X