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:
        https://clauber.tinytake.com/msc/NTg4MjIzN18xNzk4OTY5OA

        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 sjeffblack, Today, 01:22 PM
            2 responses
            12 views
            0 likes
            Last Post sjeffblack  
            Started by Kicks.Spin, Today, 01:24 PM
            1 response
            11 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by JLSwin, Today, 01:07 PM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_ChrisL  
            Started by dgee949, Today, 12:11 PM
            4 responses
            20 views
            0 likes
            Last Post dgee949
            by dgee949
             
            Started by jalro, Today, 10:25 AM
            1 response
            18 views
            0 likes
            Last Post NinjaTrader_Kate  
            Working...
            X