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
sma crossover
Collapse
X
-
sma crossover
i'm putting together a strategy with a sma crossover. in the strategy builder it asks for period and plots twice. do i just put the period again and the plot again in the "conditions" window. i already put it in the "data series input series" window.Tags: None
-
Hello SteveReiza,
In the image you provided you are doing an SMA of an SMA of the low series against an SMA of an SMA of the low series.
Did you mean to just do SMA of low with 3 period crosses SMA of low of 8 period?
The crossabove you are checking is also set to 156 bars meaning if a cross happens in the last 156 bars it would be true.JesseNinjaTrader Customer Service
-
thanks for the reply. okay, sweet. i see what you are saying. i'm just doing an sma crossover sma of low 3 period cross above sma of low 8 period. i see what i did. i have it now where its correct. but, what is the look back period? do i need to have that set at a certain value?
Comment
-
Hello SteveReiza,
The crossovers lookback period is how many bars to check for a crossover. If you are trying to see when a crossover happens immediately as bars process you can use 1 for the lookback, that would check if there was a cross between the current bar and last bar.JesseNinjaTrader Customer Service
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by 1001111, Today, 01:35 AM
|
0 responses
5 views
0 likes
|
Last Post
by 1001111
Today, 01:35 AM
|
||
Started by ETFVoyageur, Yesterday, 07:05 PM
|
1 response
16 views
0 likes
|
Last Post
by ETFVoyageur
Today, 01:33 AM
|
||
Started by MarianApalaghiei, Today, 12:35 AM
|
1 response
8 views
0 likes
|
Last Post Today, 01:17 AM | ||
Started by Rogers101, 05-05-2024, 11:30 AM
|
17 responses
57 views
0 likes
|
Last Post
by Rogers101
Today, 01:14 AM
|
||
Started by haas88, 03-21-2024, 02:22 AM
|
13 responses
176 views
0 likes
|
Last Post
by haas88
Today, 01:13 AM
|
Comment