Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

condition builder and time periods

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

    condition builder and time periods

    Hello, maybe someone can help me with my problem.I want to know if there is a possibility in my condition builder to create a condition where for example i go short if an indicator had a higher value than 50 for the last 5 bars(this is only a part of my conditions).so i know how to create if i want 5 bars ago,but i don't find a way for my condition because i need it for a period of time.hope you can help me..

    #2
    Hello,

    I assume you are using the Strategy Analyzer. Just create multiple conditions for bars 5 (which you state you can already do), 4, 3, 2, 1, and maybe 0 if you want the current bar. That will over it for the entire 5 bar span that you want.
    DenNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    102 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X