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 NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X