• 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

  • NinjaTrader_Kate
    replied
    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.

    Leave a comment:


  • Wolf1
    started a topic Strategy builder - Bars ago ( within 25-75 bars)?

    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!

Latest Posts

Collapse

Topics Statistics Last Post
Started by swcooke, Today, 07:17 AM
0 responses
2 views
0 likes
Last Post swcooke
by swcooke
 
Started by shaista parveen, Today, 01:45 AM
1 response
8 views
0 likes
Last Post NinjaTrader_PaulH  
Started by Thomas79, Today, 03:41 AM
2 responses
13 views
0 likes
Last Post Thomas79  
Started by herkok, Today, 03:53 AM
2 responses
3 views
0 likes
Last Post herkok
by herkok
 
Started by Traderwhite, 08-29-2018, 09:23 AM
7 responses
312 views
0 likes
Last Post NinjaTrader_Tyler  
Working...
X