Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator within strategy is giving false values

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

    Indicator within strategy is giving false values

    Hello,
    I've just noticed for the first time that the print of the value of one of the 4 conditions in my strategy is super high, like 5000 vs it should be down around 20. That same indicator on the chart is fine. I opened another strategy that uses the same indie in question and it also was messed up. I started from scratch with new charts and restarting NT. but no luck.
    I made a quick new strategy to just observe print of that indicator, and it is fine.

    My next step is to build the strategy up from scratch, which is a pain.

    Any suggestions?

    Thanks


    #2
    I now see what may be going on. In my strategy I have one condition that runs on the 15 second data series (it is assigned, all my conditions have data series assigned, not default). The indie that is wigging out is on the 150 range chart data series. When I enable the strategy on the 15 second chart, it gets the super high values, when I enable it on the 150 range chart the values are in the normal range. I've ran this way for months if not years. Somehow NT appears to not be recognizing that the data series are assigned and reverting to default. Seems like NT is messed up. I think I will reload NT.
    Any ideas?

    Comment


      #3
      Hello Panama9878,

      Is this is a value from a price series like Close[0]?
      Do you have multiple series added with AddDataSeries()?
      Are you checking the BarsInProgress before using the value or specifying the series you want the value from such as Closes[0][0]?

      Is this is a custom calculated value?
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      51 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X