• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SMA of indicator has different values if Tick Replay is checked for the dataseries

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

    SMA of indicator has different values if Tick Replay is checked for the dataseries

    I am using the standard SMA indicator to plot an SMA of another indicator. This works fine and the values are correct if Tick Replay is not checked. If Tick Replay is checked the values are way off. I am adding the sma from the indicator selector and selecting the other indicator as the input series.

    I have other indicators on the chart that need Tick Replay. Is there something I need to do differently or should I just create another indicator and add the one I want inside it?

    I am running NT8 B11. Thanks!

    #2
    Hello,
    Which indicator are you having the SMA based off of?
    I look forward to your reply.
    Cody B.NinjaTrader Customer Service

    Comment


      #3
      I think this issue is simply related to the logic that is underneath Tick Replay. The help file has gotten better, but it's still unclear and I'm still having issues with it.

      Assume I have simple code that looks like this with primary data series of daily bars and tick replay enabled and there are enough bars on the chart.

      OnBarUpdate
      {
      Print (SMA(10));
      }

      It appears to use 10 ticks in the SMA and outputs different SMA's than if Tick Replay is not enabled. With Tick Replay disabled and assuming OnEachTick in Strategy Analyzer, this function would use 10 closing bar values. With Tick Replay enabled, I believe the desired output would be to use the prior 9 bars of data and then the current tick price, so as to simulate what happens in Live or Playback.

      I personally am looking at using Strategy Analyzer with tick replay to simulate the tick by tick intraday update to a daily SMA (or any other indicator) that would be achieved with OnEachTick in live trading.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by danitralla, Yesterday, 03:33 AM
      1 response
      18 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by ninjo, Yesterday, 11:54 AM
      0 responses
      6 views
      0 likes
      Last Post ninjo
      by ninjo
       
      Started by deblanka, Yesterday, 08:56 AM
      0 responses
      13 views
      0 likes
      Last Post deblanka  
      Started by Boonfly8, 03-22-2019, 12:30 PM
      7 responses
      24 views
      0 likes
      Last Post sledge
      by sledge
       
      Started by Sohal, Yesterday, 05:02 AM
      2 responses
      19 views
      0 likes
      Last Post techmint  
      Working...
      X