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 Zeezee, Today, 12:45 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by tomasak, Today, 12:54 PM
    0 responses
    1 view
    0 likes
    Last Post tomasak
    by tomasak
     
    Started by swjake, Today, 12:04 PM
    2 responses
    9 views
    0 likes
    Last Post swjake
    by swjake
     
    Started by Richozzy38, Yesterday, 01:06 PM
    5 responses
    24 views
    0 likes
    Last Post Richozzy38  
    Started by tradingnasdaqprueba, 05-07-2024, 03:42 AM
    13 responses
    51 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X