Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Displaced Indicators

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

    Displaced Indicators

    Hi,
    I already found out how to plot a horizontal (= time axis, i. e. plot the same indicator with the same settings displaced 3 bars to the right) displaced indicator. But now I want to do calculations/create strategies with this displaced indicator (i. e. if the "not displaced" indicator crosses the "displaced" indicator do something => see attached pic). How to address the displaced indicator within a strategy?
    Any help is highly appriciated.
    firstbrain
    Attached Files

    #2
    Hello firstbrain,
    Welcome to the forum and I am happy to assist you.

    Displayed is a visual setting only.

    You can however increase the look back period of the indicator to get the displaced value. For example if you are setting the displayed value to 3 then please set the lookback period of the indicator to 3. Thus instead of calling the indicator as say MyIndicator()[0], you will call it as MyIndicator()[3].

    Please let me know if I can assist you any further.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Joydeep,
      thank u very much for the quick response.
      I had the same idea, but had a little mistake in understanding the logic behind.
      Now it seems to work. Will test it back and forth in realtime. The backtested results are just unbelievable though.
      Will inform u when the my account crosses the first million USD ;-)
      Again many thx,
      firstbrain

      Comment


        #4
        Hello firstbrain,
        Thanks for your note.

        Please let me know if I can assist you any further.
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        661 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        375 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        110 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        579 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X