Announcement

Collapse
No announcement yet.

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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X