Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Buy Sell Pressure in Strategy BUilder

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

    Buy Sell Pressure in Strategy BUilder

    Hello - I'm trying to add buy sell pressure to a strategy in strategy builder that currently prints markers just fine but when I add the requirement that buy sell pressure > 70 (for example) it doesn't generate any markers...So I tried >.70 and it put a marker under every candle. Any help as to what I'm doing wrong? Thanks.

    #2
    Hello bsbisme,

    Do you see this working if you use the 1 bars ago value?

    Comment


      #3
      BuySellPressure().BuySellPressure[1]>=.7 this prints a dot under every bar. Thanks

      Comment


        #4
        Hello bsbisme,

        The value from buy sell pressure will most always be greater than 0.7 because it will either be 0 or a positive number of volume like 1, you would need to use whole numbers with that indicator.

        Comment


          #5
          Yes, thanks. As I mentioned, I tried to use the whole number 70 as well and still doesn't work for me. Thanks

          Comment


            #6
            Hello bsbisme,

            Did you try that with 1 bars ago? The BuySellPressure relies on live market dat and also resets its value on the first tick of the bar which can cause difficulties in accessing the value. The values re returned as whole numbers so 0.7 would not work because it would mostly always be true. You can view the chart to see what values are being reported for the instrument being used and then use those range of values.

            Comment


              #7
              Thanks. Yes, I did use the whole number of 70 and 1 bar ago which is depicted as the [1] correct? So I now have BuySellPressure().BuySellPressure[1]>= 70

              Comment


                #8
                Hello bsbisme,

                Yes that would be correct. If that is still not working you may want to use a Print to output the values that the script is seeing in a separate set with no conditions. That would let you know why that is not working.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by NullPointStrategies, Today, 05:17 AM
                0 responses
                19 views
                0 likes
                Last Post NullPointStrategies  
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                119 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                63 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                41 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                45 views
                0 likes
                Last Post TheRealMorford  
                Working...
                X