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 cmoran13, Yesterday, 01:02 PM
      0 responses
      29 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      21 views
      0 likes
      Last Post PaulMohn  
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      160 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      95 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      148 views
      2 likes
      Last Post CaptainJack  
      Working...
      X