Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unbind from timeframe

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

    Unbind from timeframe

    Hello!
    Can I unbind my indicator from the main data series? For example I want to see dynamic of changing ask or bid price? And I want to plot every change in my indicator. Not to save only "on bar close" value. F.e. I want to plot T&S via line in my indicator.

    How to do this? Thank you.

    #2
    Hi YevhenShynkarenko, thanks for your note.

    The plots will always be tied to the series they run on, you can run your indicator OnEachTick and set a plot value for every bid/ask update, but there will still be one plot index for every bar of the series. There are other ways to plot such as the OnRender method, There are examples of histogram plotting such as the Volume Profile indicator, this is the best example I could think of that will help.

    Comment


      #3
      Thanks. Maybe I can create my own data series?

      Comment


        #4
        Hi YevhenShynkarenko, thanks for your reply.

        Yes, you can add any additional data series to the script, but if you plot based on this series then it will mess up the spacing of the bars. If you have a lifetime license you can pull up the OrderFlow Market Depth Map as an example of what you might be wanting to do. Although the code for this is not available, I believe this is the closest example of some indicator that is not necessarily tied to the primary data series.

        https://ninjatrader.com/support/help..._depth_map.htm - MarketDepthMap

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        673 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        379 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        577 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        582 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X