Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 GetCurrentBidVolume() & GetCurrentAskVolume() Return same value

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

    NT8 GetCurrentBidVolume() & GetCurrentAskVolume() Return same value

    I'm trying to get difference between GetCurrentBidVolume() & GetCurrentAskVolume() on a Tic Replay chart but both methods return the same value.
    I'm using: Calculate = Calculate.OnBarClose;

    long bidvol = GetCurrentBidVolume();
    long askvol = GetCurrentAskVolume();
    int buysellstrength = (int) askvol - (int) bidvol; //buysellstrength always = 0

    Print(String.Format("{0:MMM dd HH:mm:ss} {1} {2}",Time[0],bidvol,askvol));

    Any help appreciated.
    Note: I couldn't download the NT8 version of BuySellStength because the NinjaEcoSystem download isn't working.

    #2
    check this
    Attached Files
    Last edited by Emma1; 05-23-2020, 06:29 PM.

    Comment


      #3
      Thanks Emma1!

      Comment


        #4
        Hi saturntd, thanks for your question.

        The Get methods can only be used in real time. To get historical bid/ask data, we have an example here on this page:



        See the example titled "Accessing the current best bid and ask at the time of a trade"

        A working example would be the BuySellVolume indicator.

        Try Chrome for your browser when downloading from the Ecosystem website, I am able to download anything while using Google Chrome.

        Please let me know if I can assist any further.

        Comment


          #5
          Thanks Chris. the Buysellstrength indicator Emma1 sent worked fine.
          I am using Chrome to download but can't get it to work. I've also tried Incognito & it doesn't work either. Not sure what happened, Chrome used to work fine, Tried 2 other browsers, no luck.

          Comment


            #6
            Hi saturntd, thanks for your reply.

            I asked my supervisor on the downloading issue and we actively looking into the problem to resolve ASAP.

            Kind regards.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            70 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            152 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            162 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            100 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            288 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X