Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Strategy builder - Bars ago ( within 25-75 bars)?
Collapse
X
-
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:
Please let us know if we may be of further assistance to you.
-
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!Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by PhillT, 04-19-2024, 02:16 PM
|
3 responses
14 views
0 likes
|
Last Post
by mangel2000
Today, 03:04 AM
|
||
Started by TraderBCL, Today, 02:37 AM
|
0 responses
1 view
0 likes
|
Last Post
by TraderBCL
Today, 02:37 AM
|
||
Started by mangel2000, Today, 02:23 AM
|
0 responses
5 views
0 likes
|
Last Post
by mangel2000
Today, 02:23 AM
|
||
Started by mangel2000, Today, 01:30 AM
|
0 responses
13 views
0 likes
|
Last Post
by mangel2000
Today, 01:30 AM
|
||
Started by Doxxxx, Today, 01:24 AM
|
0 responses
5 views
0 likes
|
Last Post
by Doxxxx
Today, 01:24 AM
|
Leave a comment: