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 fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,403 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
94 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
6 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
158 views
0 likes
|
Last Post Yesterday, 10:23 PM | ||
Started by Belfortbucks, Yesterday, 09:29 PM
|
0 responses
8 views
0 likes
|
Last Post
by Belfortbucks
Yesterday, 09:29 PM
|
Comment