Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using Buy Sell Pressure Indicator To Run A Strategy

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

    Using Buy Sell Pressure Indicator To Run A Strategy

    I'm using the Buy Sell Pressure Indicator to set up a strategy and I can not figure out how set up the If Any part in Conditions and Actions. I want to trigger a long position if the buy pressure goes above 58% and after that a short position if the sell pressure goes above 58%.

    #2
    Hello Sadat,

    You would need two conditions sets. One condition set that compares Indicator -> BuySellPressure -> BuyPressure plot to be greater than Misc -> Numeric value set to 58. The action for this condition set will be Order Management -> Enter long position.

    The second condition set will be comparing the SellPressure to be greater than 58 and the action will be to place Enter short position.

    One thing to note, is that the BuySellPressure Indicator only works in real-time. So you would likely want to prevent your script from working historically or being backtested. (Or use TickReplay)

    I highly recommend you review the Strategy Builder 301 video which demonstrates how to use the Strategy Builder.
    Below is a public to this training video.

    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea,

      I set it up and looked at the 301 video and it is not taking trades in real time. I have seen the Buy Pressure go above 58 several times and no trade. Do you know what could be the problem?

      Comment


        #4
        Hello Sadat,

        Using a print added in an empty condition set that prints the value of BuySellPressure().BuyPressure[0], I found the value is always 50.

        Then I found a comment in the indicator code.

        "/// This is a tick by tick indicator. If 'Calculate on bar close' is true, the indicator values will always be 100."

        This should actually say:
        "This is a tick by tick indicator. If 'Calculate' is .OnBarClose or .OnPriceChange, the indicator values will always be 50."

        The gist is, your strategy needs to be Calculate.OnEachTick to use this indicator.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi Chelsea,
          I was able to figure out what you advised me to do. Thanks for your help.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Yesterday, 05:17 AM
          0 responses
          54 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          131 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          73 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          44 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          49 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X