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

How to correctly use Highest/Lowest in strategy wizard

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

    How to correctly use Highest/Lowest in strategy wizard

    Hi Guys

    I am trying to develop an idea that needs for the chart
    to have the highest/lowest bar within the last 5 bars to
    trigger the rest of strategy. I have tried various combinations
    within the wizard and cannot seem to figure out the correct
    method.

    Any Suggestions.

    Thanks

    Lynn Atkinson

    #2
    For clarification...

    - You want to know how many bars ago was either the highest or lowest value?
    RayNinjaTrader Customer Service

    Comment


      #3
      Strategy for using highest/lowest

      Hi Ray

      The strategy would be like this.

      If a 34 period high has occurred withing last 10 bars followed by
      a 5 bar low, sell 5 bar low - 1 tick.

      Hopefully this will clarify what I am trying to do.

      Thanks

      Lynn

      Comment


        #4
        Close...

        You will need to be more specific.

        - 34 Period high to me is a price and not an event that I could write a condition for

        The following would be an example of an event.

        - In the last 10 bars the high seen must be the highest value of the last 34 bars
        RayNinjaTrader Customer Service

        Comment


          #5
          Highest/lowest

          Hi Ray

          I believe I am confusing both of us.

          Can you explain how to code the event you
          mentioned in wizard. I believe i could make
          something like that work.

          Lynn

          Comment


            #6
            See attached image.

            I am personally hosting an 8 hour seminar covering basic wizard based strategy development. More information - http://www.ninjatrader.com/webnew/ev...evelopment.htm
            Attached Files
            RayNinjaTrader Customer Service

            Comment


              #7
              Thanks

              Hi Ray

              thanks for your help on this idea,

              I will be interested in the online seminar as you can tell
              I need it.

              Thanks again

              Lynn

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Perr0Grande, Today, 08:16 PM
              0 responses
              2 views
              0 likes
              Last Post Perr0Grande  
              Started by elderan, Today, 08:03 PM
              0 responses
              3 views
              0 likes
              Last Post elderan
              by elderan
               
              Started by algospoke, Today, 06:40 PM
              0 responses
              10 views
              0 likes
              Last Post algospoke  
              Started by maybeimnotrader, Today, 05:46 PM
              0 responses
              9 views
              0 likes
              Last Post maybeimnotrader  
              Started by quantismo, Today, 05:13 PM
              0 responses
              7 views
              0 likes
              Last Post quantismo  
              Working...
              X