Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How do I set for entry on a breakout using strategy wizard?

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

    How do I set for entry on a breakout using strategy wizard?

    Hi

    Using the wizard, for entry on a breakout, I have tried unsuccessfully to set for an entry on say, highest of the last 20 bars. I am getting error messages, which are beyond my comprehension. I have tried Close(0) ==Highest Bar(0,20), and
    Lowest bar(0,10)==True. Both generate error messages.

    What am I doing wrong?

    Steve

    #2
    Hi Steve,

    Given here in Australia, I know it might be a few hours before one of the Ninja team are back online so this might get you going in the meantime.

    I use the following when looking for the high of the current bar is greater than the high of the previous 20 bars:

    High[0] > MAX(High, 20)[1])

    There is a good reference sample that you can look at for breakout trading also.



    I hope this gets you going.

    Regards,
    Kylie.

    Comment


      #3
      Hi Kylie

      Thanks for that. I seem to be running on that one.

      Do you know how to add RSI(9) <70 under the same condition set? I'm new to this without the wizard and the error message just keeps on coming up.

      I'm also stuck on exit long when open> entry price.

      Steve

      Comment


        #4
        Steve,

        We will be able to better assist you if you posted exact complete code snippet of what you have already. Then we can direct your efforts accordingly to adjust the code. Thanks.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ScottW, Today, 06:09 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by ScottWalsh, Today, 06:52 PM
        0 responses
        3 views
        0 likes
        Last Post ScottWalsh  
        Started by ftsc2022, 10-25-2022, 12:03 PM
        5 responses
        256 views
        0 likes
        Last Post KeyonMatthews  
        Started by Board game geek, 10-29-2023, 12:00 PM
        14 responses
        244 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Waxavi, 04-19-2024, 02:10 AM
        4 responses
        56 views
        0 likes
        Last Post sonia0101  
        Working...
        X