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 mattbsea, Today, 05:44 PM
                0 responses
                3 views
                0 likes
                Last Post mattbsea  
                Started by RideMe, 04-07-2024, 04:54 PM
                6 responses
                31 views
                0 likes
                Last Post RideMe
                by RideMe
                 
                Started by tkaboris, Today, 05:13 PM
                0 responses
                2 views
                0 likes
                Last Post tkaboris  
                Started by GussJ, 03-04-2020, 03:11 PM
                16 responses
                3,282 views
                0 likes
                Last Post Leafcutter  
                Started by WHICKED, Today, 12:45 PM
                2 responses
                20 views
                0 likes
                Last Post WHICKED
                by WHICKED
                 
                Working...
                X