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

Struggling to create a simple condition in strategy builder.

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

    Struggling to create a simple condition in strategy builder.

    How do I input in strategy builder a condition like:

    current previous bar high >= Highest high of 30 bars ago

    Thank you for anyone who helps in advance.

    #2
    Hello Maoz1155,

    Welcome to the NinjaTrader forums!


    Attached is a screenshot of how this would look.

    This is also discussed in the 'Automate Your Trading with NinjaTrader's Strategy Builder' training video. If you have not started with this training video, I recommend watching this first.

    Below is a link to a forum post with help resources on getting started with C# and NinjaScript which includes a link to this training video.
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jpapa, Today, 07:22 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by kevinenergy, 02-17-2023, 12:42 PM
    116 responses
    2,758 views
    1 like
    Last Post kevinenergy  
    Started by franatas, 12-04-2023, 03:43 AM
    7 responses
    106 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Jltarrau, Today, 05:57 AM
    3 responses
    9 views
    0 likes
    Last Post Jltarrau  
    Started by f.saeidi, Today, 05:56 AM
    2 responses
    8 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X