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

Simple indicator

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

    Simple indicator

    I am trying out Ninja Trader so I am learning.

    How do I create a simple indicator based on daily close history that does not need to be plotted. That is all I want is just a column of data.

    #2
    Hello Occam,

    If you're looking for a column of data, then consider Market Analyzer. You can set this up with no custom programming.

    See here for an introduction to Market Analyzer.

    You can add the standard indicators here as well as any custom ones. Let us know exactly what you're looking for and we'll be able to help with whether this requires custom programming or is already offered.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      All I need is eg. average close price over last 15 days.

      Comment


        #4
        Hi Occam,

        You should be able to set this up in market analyzer, as long as your data provider offers daily data.

        See here for help adding columns to market analyzer.

        You would select indicator, then choose SMA, define the period as 15 and then view this data for all instruments in the market analyzer list.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Ok, got it.

          If I wanted to do something else with the SMA, like dividing it with something else would I then code it?

          Comment


            #6
            Correct. Performing math on an indicator requires custom programming. Can see here for an introduction to developing indicators:
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              Ok, so is there anyway I can somehow return the function/indicator without mucking around with Plot0.Set() since I don't need any charting.

              Comment


                #8
                When using the market analyzer: Indicator plots are what you access. It doesn't mean you have to chart this - it's just the part of the indicator that's visible from the market analyzer.
                Ryan M.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 DynamicTest  
                Started by ScottWalsh, Today, 06:52 PM
                4 responses
                36 views
                0 likes
                Last Post ScottWalsh  
                Started by olisav57, Today, 07:39 PM
                0 responses
                7 views
                0 likes
                Last Post olisav57  
                Started by trilliantrader, Today, 03:01 PM
                2 responses
                21 views
                0 likes
                Last Post helpwanted  
                Started by cre8able, Today, 07:24 PM
                0 responses
                10 views
                0 likes
                Last Post cre8able  
                Working...
                X