Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Moving Average calculation

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

    Moving Average calculation

    Ray,

    Could you add the AVERAGE calculation as an additional option in moving averages like VMA etc (if you have not already done so)

    This is

    HIGH + LOW + CLOSE /3. Quite a few strategies use this type of calculation and it would be great to have in your charts.

    Thanks

    #2
    It already exists. When placing any moving average on a chart, there is a 'Price type' parameter that can be set. Set this to 'Typical'.

    In NinjaScript, you would do something like:

    double myAverageSmaValue = SMA(Typical, 20)[0];
    RayNinjaTrader Customer Service

    Comment


      #3
      Number of Lots

      Ray,

      You have any plans for the number of lots traded in the ACCOUNT PERFORMANCE. Would be helpful to know total lots traded in a day/week/month for negotiating rates etc.

      Also any chance of being able to keep MARKET ANALYZER Always on TOP.

      Thanks

      Comment


        #4
        Shiva,

        You could export the Performance Report into Excel and just run a quick summation on the quantity column for your trades.

        Market Analyzer already has an Always on Top feature. Right click and it is in the list.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Well Ray,

          Just found the Always on Top...so Thanks but the number of lots is still a query?

          Thanks

          Comment


            #6
            OK Josh,

            Thanks for that. Perhaps that simple feature could be added to next version.

            Comment


              #7
              Thank you for your suggestion. I will put it on the list of future considerations.
              Josh P.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by nailui, Today, 07:26 AM
              1 response
              28 views
              0 likes
              Last Post NinjaTrader_Spencer  
              Started by chartchartchart, Today, 08:08 AM
              1 response
              5 views
              0 likes
              Last Post NinjaTrader_Emily  
              Started by andreslazor7, Today, 08:08 AM
              2 responses
              14 views
              0 likes
              Last Post andreslazor7  
              Started by FatCanary, Today, 08:09 AM
              2 responses
              8 views
              0 likes
              Last Post FatCanary  
              Started by vantojo, 01-12-2021, 02:13 PM
              15 responses
              197 views
              0 likes
              Last Post FatCanary  
              Working...
              X