• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy builder - Bars ago ( within 25-75 bars)?

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

    Strategy builder - Bars ago ( within 25-75 bars)?

    Hi Everyone,

    Does anyone know how to add a condition to the strategy builder involving asking to look at a certain range of bars ago? I see you can ask to something like.. ..set an alert when The double stochastic value 50 crosses above 99, 20 bars ago..... But how do we ask for an alert to go off for ...The double stochastic value 50 crosses above 99 within 20-80 bars ago? Can strategy builder do this? If I knew how to code I would do that however I don't

    Thanks everyone!

    #2
    Hello Wolf1,

    Thank you for your note.

    The answer is "Partially". The "Cross Above" and "Cross Below" options in the conditions will allow you to specify a Lookback Period. However, in the Strategy Builder you're a little restricted with that, in that the lookback period always starts with the current bar and goes back from there. So, if you specify a Lookback of 80, it would go back through the past 80 bars. However, you can't specify a range that starts on another bar than the current bar, at least, not with the Builder. You would have to unlock the strategy and manually code that logic.

    Here's a link to our help guide that goes over setting up cross conditions:

    https://ninjatrader.com/support/help...sOverCondition

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by maltese, Today, 02:54 AM
    0 responses
    1 view
    0 likes
    Last Post maltese
    by maltese
     
    Started by morrnel, Yesterday, 04:18 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by jmahon, Today, 02:45 AM
    0 responses
    2 views
    0 likes
    Last Post jmahon
    by jmahon
     
    Started by brianshih, Today, 02:40 AM
    0 responses
    2 views
    0 likes
    Last Post brianshih  
    Started by franco12364, Yesterday, 02:29 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Marco  
    Working...
    X