Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

buy/ sell pressure indicator

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

    buy/ sell pressure indicator

    Does this indicator measure the relationship between the number of orders going of on bid/ask or the relationship between the volume of these orders?

    #2
    Hello solaris,

    It would be the relationship of the Bid and Ask


    BuySellPressure Indicator
    The BuySellPressure indicator displays both the current bar's buying and selling pressure as percentage values based on the categorization of trades as buy or sell trades. Trades are categorized in real-time as a buy (at the ask or above) or as a sell (at the bid or below).... Trades in between the market are ignored The BuySellPressure indicator displays both the current bar's buying and selling pressure as percentage values based on the categorization of trades as buy or sell trades. Trades are categorized in real-time as a buy (at the ask or above) or as a sell (at the bid or below).... Trades in between the market are ignored
    Click here to read more about PowerVolume Indicators
    MatthewNinjaTrader Product Management

    Comment


      #3
      You didn't answer my question. Is it the relationship between the number of trades going off or the relationship between volume?

      Comment


        #4
        solaris,

        If you have additional questions, I would suggest looking at the core logic of this indicator by going to Tools--> Edit NinjaScript--> BuySellPressure.

        Code:
          if (Close[0] >= GetCurrentAsk())
             buys += tradeVol;
            else if (Close[0] <= GetCurrentBid())
             sells += tradeVol;
        MatthewNinjaTrader Product Management

        Comment


          #5
          Hi all..resurrecting this post bcos i'm not sure even after reading the script what += means so I don't understand if the numbers of trades are considered or the volume. Also would the time frame of the chart affect the value that I see on the indicator? many thanks

          Comment


            #6
            Hello percma,

            Thanks for your post.

            From the help guide, on the += assignment, x += y is equivalent to x = x + y. Please see: https://ninjatrader.com/support/help...sic_syntax.htm
            Here is a further reference tpo the C# operator: https://docs.microsoft.com/en-us/dot...nment-operator

            Yes, the time frame would affect the value, you can observe this by creating two different time frame charts and checking the indicator on each.

            Paul H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by ageeholdings, Today, 07:43 AM
            0 responses
            7 views
            0 likes
            Last Post ageeholdings  
            Started by pibrew, Today, 06:37 AM
            0 responses
            4 views
            0 likes
            Last Post pibrew
            by pibrew
             
            Started by rbeckmann05, Yesterday, 06:48 PM
            1 response
            14 views
            0 likes
            Last Post bltdavid  
            Started by llanqui, Today, 03:53 AM
            0 responses
            6 views
            0 likes
            Last Post llanqui
            by llanqui
             
            Started by burtoninlondon, Today, 12:38 AM
            0 responses
            12 views
            0 likes
            Last Post burtoninlondon  
            Working...
            X