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 jaybedreamin, Today, 05:56 PM
    0 responses
    3 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    18 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    1 view
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    6 views
    0 likes
    Last Post Javierw.ok  
    Started by timmbbo, Today, 08:59 AM
    2 responses
    10 views
    0 likes
    Last Post bltdavid  
    Working...
    X