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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    47 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    33 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X