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 BarzTrading, Today, 07:25 AM
              2 responses
              14 views
              1 like
              Last Post BarzTrading  
              Started by devatechnologies, 04-14-2024, 02:58 PM
              3 responses
              19 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by tkaboris, Today, 08:01 AM
              0 responses
              3 views
              0 likes
              Last Post tkaboris  
              Started by EB Worx, 04-04-2023, 02:34 AM
              7 responses
              162 views
              0 likes
              Last Post VFI26
              by VFI26
               
              Started by Mizzouman1, Today, 07:35 AM
              1 response
              10 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Working...
              X