Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicator won't plot in Strategy Analyzer chart

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

    indicator won't plot in Strategy Analyzer chart

    I'm not sure if this is an NT7-related issue or just an issue or maybe I am doing something wrong.

    My Wizard-created strategy uses 2 EMAs with the same period. One of them has Offset=0, the other is Offset = -2. Both are set to Plot on Chart=True. However, when I look at the chart in Strategy Analyzer after running the backtest, I only see a single plot. I think both EMAs are plotting one on top of the other instead of offset, since if I change the period for one of them, two lines result.

    When I do the same thing on a regular chart, (2 EMA's with same period on a chart, one of them with a displacement of -2), they do plot as separate lines.

    Is "displacement" on a chart indicator different than "offset" in Strategy Wizard?
    Is "offset" able to accept a negative number? Isn't it okay to use a variable (int = -2) rather than strictly a number?
    Should I be using a different way to plot the regular EMA and also another one approx 2 ticks below?
    Attached Files
    Last edited by LG; 11-13-2009, 03:59 PM. Reason: add screenshots

    #2
    LG,

    Offset is not the same as displacement. Offset is to change the actual comparison values of the EMA and not to move the line.

    Offset works in adding positive values or subtracting values from the EMA value.

    Plot on Chart, plots the base indicator as is with no modifications. If you want modifications, you need a different indicator with those modifications already in place.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      where can I find a description of exactly what is done by displacement and offset?

      Comment


        #4
        In our 6.5 Help Guide under the Condition Builder.

        In short,

        Offset == Is the value added or subtracted from the indicator value. If your indicator was a value of 100 and you specified an offset of 1, the total value is 101.

        Displacement = Shifting the value of the indicator to the right by X. If X = 1, the current bar value would be equal to the indicator value 1 bar ago.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        597 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        343 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        556 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        555 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X