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

Hh hl lh ll

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

    Hh hl lh ll

    Hi Support and Community,

    Any suggestions where to get the HH HL LH LL indicator for the two adjacent(meaning it would only do the calculations for two bars) bars?

    Thanks

    #2
    cachevery, I'm only aware of the more general Ninja Price Action script floating around that would not be as strict in identification I believe. I will leave this open for other community members to comment, worst case would be implementing a study yourself via our NinjaScript.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      cachevery, I'm only aware of the more general Ninja Price Action script floating around that would not be as strict in identification I believe. I will leave this open for other community members to comment, worst case would be implementing a study yourself via our NinjaScript.
      Hi Bertrand,

      i`m aware of that(attached) too,but there are unnecessary variables such as ATR or Swing strength,which i don`t need.I`m only need it to compare two adjacent bars,but two bars are always would be HH or LL,so it would probably need the third bar in the equation,to add HL and LH.

      Is there a way to accomplish it within the code i`ve attahced,and remove the other average BullS.. stuff which will never work?I`m an amateur in C#,so would need a help.
      Attached Files

      Comment


        #4
        If you just want to directly compare the 2 adjacent bars, I would rather create the script conditions fresh without overly complicating with trying to include the posted more complex script into your works.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          If you just want to directly compare the 2 adjacent bars, I would rather create the script conditions fresh without overly complicating with trying to include the posted more complex script into your works.
          NO,the comparison should be for the 3 bars,to add HL and LH to the equation,since,as i`ve previously said,comparing two adjacent bars would always render HH or LL.I wasn`t perfectly clear in the opening post,so i`m sorry.I need a comparison for the 3 bars, in wich there would always be the following sequence:

          LL>>>HH>>>LH for an up trend;

          HH>>>LL>>>HL for a down trend.

          What do you suggest?Is there a way to accomplish it within the attached code?

          Comment


            #6
            Unfortunately we would not be familiar too much with the custom code you attached. Then for your updated case it just means you need to compare not across 2 but 3 bars in total, I still think it would be easier to start it off with a new project. If you're not a programmer yourself or want to get deeper into NinjaScript custom creation a consultant could certainly be of great assistance here.

            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by wuannetraam, Today, 08:20 AM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by HappyTrader76, 02-07-2023, 08:46 AM
            6 responses
            332 views
            0 likes
            Last Post SnailHorn  
            Started by geotrades1, Today, 07:54 AM
            6 responses
            12 views
            0 likes
            Last Post geotrades1  
            Started by Aviram Y, Today, 06:03 AM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by leonardomocci, Today, 08:28 AM
            0 responses
            4 views
            0 likes
            Last Post leonardomocci  
            Working...
            X