Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

cumulative bid and ask

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

    cumulative bid and ask

    I would like to develope a indicator or even a box with the amount of the total contracts at the bid for the day and ask for the day, perhaps even have ti look at the current candle and if there are more buying on the bid of a red candle to alert me, Is it possible to pul this data from the time and sales window??

    I can prob figure it out just need a point in the right direction or if it is possible

    thanks

    #2
    You can create an indicator like using OnMarketData(). This would only work in real-time.

    More information - http://www.ninjatrader-support.com/H...arketData.html
    RayNinjaTrader Customer Service

    Comment


      #3
      Real time is understood thanks again ray

      So just quickie here

      protected override void OnMarketData(MarketDataEventArgs e)
      {
      // Print some data to the Output window
      if (e.MarketDataType == MarketDataType.Last)
      Print("Last = " + e.Price + " " + e.Volume);

      }

      How do i get it from the output window?? It been a couple months since i been programming ninja, even a point towards a indicator or file that does almost the same would help me understand the code

      and

      Print ("Last = "+ e.Price + " " + e.Volume); <<<< what does that line mean

      thanks anyone again

      Comment


        #4
        What do you mean how do you get it from the Output window? The Print(...) line you point to sends information to the Output window.
        RayNinjaTrader Customer Service

        Comment


          #5
          i mean to an indicator, not just the output window or even a box with a number

          Comment


            #6
            Are you familiar with indicator programming in NinjaScript by chance? Meaning, have you developed any yet?
            RayNinjaTrader Customer Service

            Comment


              #7
              Yes I am familiar and have made maybe 8 different indicators, I have been ofline line for almost 3 months now so i have to start delving into code again. Like i said i am sure i should be able to get it situated if pointed in the right direction. I guess waht i am confused the most about is the retreiving from the output window to the indicator

              thanks again

              Comment


                #8
                What is sent to the Output window is sent from the indicator thus whatever you send you already have in the indicator. I guess that's why I am confused with your question.
                RayNinjaTrader Customer Service

                Comment


                  #9
                  Obviously i am more confused than i first thought, let me sit down for a bit and try to put in words what i am having trouble with

                  Comment


                    #10
                    Hello everybody, this is my first post, and english is not my language, my apologizes.

                    I'm interesting in knowing the amount of the total contracts at the bid for the day and ask for the day, too. But I have not idea about programming in NinjaScript, can I obtain this data? there are any indicator made yet?

                    Thanks in advance.

                    Comment


                      #11
                      Hi, welcome to the NinjaTrader Support forums !

                      Please check out those scripts posted to our sharing section - http://www.ninjatrader-support2.com/...bid+ask&desc=1

                      Or try those AddOn products giving you bid/ask analysis - http://fin-alg.com/product.html

                      Comment


                        #12
                        Thank you very much, but thought I'm little lost in translation, sorry.
                        My request is easier than that, I want to know the total amount of negotiated contracts of the day, in real time. In dynamic super DOM you can see this at the price (between the brackets), but not the total of the day. Is it possible?

                        Thanks again.
                        Last edited by salakazam; 01-30-2009, 12:07 PM.

                        Comment


                          #13
                          Hi salakazam, I see - you could for example run a daily chart and add the volume indicator to it. Or open a Market Analyzer window, add your instrument and the Daily Volume to it. This link explains more - http://www.ninjatrader-support.com/H...ngColumns.html

                          Comment


                            #14
                            You can see what I'm asking for here:



                            Is similar to dynamic super DOM in NT, whith the nearest five positions, but you can see the total of contracts in the day (yellow mark).

                            Thanks for your time.

                            Comment


                              #15
                              Sorry I post this meanwhile you do too, I'm going to follow your link to see.

                              Thanks.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              581 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              338 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              103 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              554 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              552 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X