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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    163 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    82 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    126 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    206 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    185 views
    0 likes
    Last Post CarlTrading  
    Working...
    X