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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    65 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    23 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    26 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    52 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X