NinjaTrader EMA/SMA not showing fully

Discussion in 'Trading Software' started by roca, Aug 9, 2020.

  1. roca

    roca

    Hey guys,

    The EMA and SMA don't go all the way back to when the stock first started trading on the exchange.

    Here is an example in the picture below.

    I put "Maximum Bars Look back: Infinite" but still the problem is there


    How can I fix it?

    Thank you
     
  2. Big AAPL

    Big AAPL

    What are the parameters of the indicators you are using?
    Most canned indicators require a certain amount of bars to look back before they can compute an average.
     
    shatteredx likes this.
  3. shatteredx

    shatteredx

    The default NT SMA and EMA require 20 bars before they will start plotting.

    You will have to create custom versions of these indicators, modifying the BarsRequired parameter, if you want them to plot earlier than that.

    Alternatively, just load more historical data on your chart (I guess you don't have more here).

    https://ninjatrader.com/support/for...ment/42814-min-bars-required-to-plot-a-series
     
    Big AAPL likes this.