Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Buy Sell Pressure On Bar Close

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

    Buy Sell Pressure On Bar Close

    Is there an indicator that gives the same values as Buy Sell Pressure when set to "OnBarClose."

    When I set it to OnBarClose and use market replay the values it gives work well with my automated strategy. But when i try to make it part of the code it only outputs 50

    #2
    Hello HurtFamForever,

    The BuySellPressure indicator is a realtime only indicator so when using this in a strategy it would not report anything for historical bars. You would need tick replay enabled for historical processing to give estimates of the historical bars. It will not be as accurate during historical bars with tick replay.

    The indicator is also not designed to be used with OnBarClose processing so enabling that will limit its logic so it would not be completely accurate.

    The suggestion to use this from another strategy would be to use OnEachTick from the strategy. You would also need to get the 1 BarsAgo value from the indicator because this indicator updates the previous plot to the final value on the first tick of the bar.

    The other alternative would be to not use this as an input and just include the scripts logic directly in your strategy while running the strategy OnEachTick. That would provide the best accuracy while using that indicators code.

    Comment


      #3
      Hello,

      The mechanics of my strategy demand that it be set to "OnBarClose" I am using market replay data provided by Intentional Trader and NinjaTrader itself. When I manually put the Buy Sell Pressure indicator to "OnBarClose" it does an excellent job of predicting favorable trades. When I set it to OnEachTick it does not. I need the values from the OnBarClose version of Buy Sell Pressure. i don't know if its calculating a fluke or inaccurately but its working for me. Is there a way to grab these values? or another indicator that would also produce them?

      Comment


        #4
        Hello HurtFamForever,

        It looks like you had also sent in an email for this question. I will follow up in the email so that we are not double posting on the same question.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X