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
Lookback for conditions other than crossovers?
Collapse
X
-
Hello Tradarr,
A lookback period is used for CrossAbove and CrossBelow in the center.
A Period is used for indicators for a number of bars for the calculation and for MAX() and MIN() for the range (also under indicators).
For 'Bullish or Bearish engulfing' you might be referring to an indicator that has that as a parameter.
Are you referring to an indicator with that as a parameter?
If so, what is the indicator name?Chelsea B.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_ChelseaB View PostHello Tradarr,
A lookback period is used for CrossAbove and CrossBelow in the center.
A Period is used for indicators for a number of bars for the calculation and for MAX() and MIN() for the range (also under indicators).
For 'Bullish or Bearish engulfing' you might be referring to an indicator that has that as a parameter.
Are you referring to an indicator with that as a parameter?
If so, what is the indicator name?
Comment
-
Hello Tradarr,
The CandleStickPattern will have a CandlestickPatternFound plot that will be equal to 1 when a pattern is found and 0 when no pattern is found for the selected pattern type.
This does not have a period and a custom indicator would have to be created to implement a Period input.
However, peaking at the logic for indicator, it uses a specific number of bars ago, and does not accumulate values that would be averaged like a moving average similar to the SMA. In other words, this script never uses bar data from more than 4 bars ago that I can see.
You are free to copy this indicator is open source, and customize the logic for this indicator how you would like if you want to add a Period input and change the logic to use more bars of historical data.Last edited by NinjaTrader_ChelseaB; 10-12-2020, 02:20 PM.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
59 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
22 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
10 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment