Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

% Change From Open

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

    #16
    Attach:

    Hi Josh,

    Thanks for the help....
    Attached Files

    Comment


      #17
      Hello,

      You have 2 things you most likely have off.

      To get this to run correctly, you need to set Calculate On Bar Close = False. This way close is always the last price on the chart. If COBC = True, then the Close price updated would be the price for one bar ago.

      Secondly you want to make sure you have enough Bars back in your MA indicator settings that it can correctly calculate. You need to make sure you have at least 20 more bars then the number of bars needed to get you back to yesterday.

      Between these two changes I was able to get your indicator output the same value every time.

      Let me know if I can be of further assistance.
      BrettNinjaTrader Product Management

      Comment


        #18
        Thanks Brett,

        You mean as far as configuring the MA within the "columns" general properties or within the script itself? I leave the look back bars to 256 and have the "calculate on bar close" set to false... I swear it was working when I created it but it has been working again so perhaps it was just some sort of glitch or something...

        Not really sure,

        Thanks for the help

        Comment


          #19
          Hello,

          This would be inside the columns tab in the Market analyzer.

          Let me know if I can be of further assistance.
          BrettNinjaTrader Product Management

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          43 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          25 views
          0 likes
          Last Post PaulMohn  
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          163 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          98 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          158 views
          2 likes
          Last Post CaptainJack  
          Working...
          X