Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator value = 0 for new entries on strategy

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

    Indicator value = 0 for new entries on strategy

    I have RSI bands from this forum in a strategy. When I apply the strategy to a chart it works correct for anything already on the chart but for each current/new tick I get a value of zero:

    RSIBands(14, 30, 70).RSIBandLower[0]

    I am also getting zero for new entries for another indicator than is a clone of the Bollinger indicator but uses Jurik.

    I am writing an entry to the log for each tick to display the value so I can see any old entries are correct but anything new is zero.

    The strategy has 3 added time frames. The strategy chart is a volume chart.

    Any ideas or suggestions?

    in summary: old entries OK, new tick entries indicator values = 0.

    #2
    Hi ct, thanks for your post - please remove any CalculateOnBarClose setting from the indicator(s) you reference and retry this.

    Comment


      #3
      Bertrand

      you are a star! That seems to have fixed it. many thanks.

      ct

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      59 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      143 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      161 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      97 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      276 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X