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!
See more
See less

Partner 728x90

Collapse

sma crossover

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.
    Attached Files

    #2
    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

    Comment


      #3
      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


        #4
        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


          #5
          okay sweet. many thanks!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by 1001111, Today, 01:35 AM
          0 responses
          5 views
          0 likes
          Last Post 1001111
          by 1001111
           
          Started by ETFVoyageur, Yesterday, 07:05 PM
          1 response
          16 views
          0 likes
          Last Post ETFVoyageur  
          Started by MarianApalaghiei, Today, 12:35 AM
          1 response
          8 views
          0 likes
          Last Post MarianApalaghiei  
          Started by Rogers101, 05-05-2024, 11:30 AM
          17 responses
          57 views
          0 likes
          Last Post Rogers101  
          Started by haas88, 03-21-2024, 02:22 AM
          13 responses
          176 views
          0 likes
          Last Post haas88
          by haas88
           
          Working...
          X