Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Delta Buy/Sell Volume

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

    I downloaded the latest version, but im unsure as to what i have to do to make it so that the data isn't lost when i change the chart, like add a moving average or something.

    Comment


      Originally posted by subterfuge View Post
      I downloaded the latest version, but im unsure as to what i have to do to make it so that the data isn't lost when i change the chart, like add a moving average or something.
      You can add your code in ProcessDelta, which processes the real time ticks and the historical read ticks.

      Comment


        Sorry, made a regression in 2.5, the indic couldn't create a file from scratch. This one correct the problem
        Attached Files

        Comment


          Originally posted by gomifromparis View Post
          Sorry, made a regression in 2.5, the indic couldn't create a file from scratch. This one correct the problem
          Hi Gomi, thanks for the improvements, i ask u if is possible add a choise for up down ticks instead bid ask, to use it with forex data.
          Thanks.

          Lubo.

          Comment


            Originally posted by LuboLabo View Post
            Hi Gomi, thanks for the improvements, i ask u if is possible add a choise for up down ticks instead bid ask, to use it with forex data.
            Thanks.

            Lubo.
            What's the exact rule for calculation with up/down ticks ?

            EDIT : IMHO in Forex there is no centralized exchange so no useful volume information. And if you're trading forex futures, you've got bid/ask I suppose ?
            Last edited by gomifromparis; 04-08-2009, 03:08 AM.

            Comment


              Here's the 3.0 indicator, compliant with GomRecorder framework (see http://www.ninjatrader-support2.com/...ad.php?t=16006 )

              You'll see small differences with previous versions due to changes in how bid>=ask situations are managed. In fact now they are managed.

              Here's a picture of 2.5 version with new version using Flat file format and new version using Short file format.

              Enjoy !
              Attached Files

              Comment


                Originally posted by gomifromparis View Post
                What's the exact rule for calculation with up/down ticks ?

                EDIT : IMHO in Forex there is no centralized exchange so no useful volume information. And if you're trading forex futures, you've got bid/ask I suppose ?
                I'm trading forex spot, tick volume is useful, the difference is that there's no contract volume, but ticks to build spot volume, i think for delta calculation u use difference between ask bid contract volume or number of trades(tell me if i'm wrong), in forex should be used tick up down difference for calcution of delta.

                Thanks.

                Lubo.

                Comment


                  Hi,

                  A simple approach to uptick/downtick might be;

                  if(Close[0] > lastPrice) up = true;
                  if(Close[0] < lastPrice) up = false;
                  lastPrice = Close[0];

                  although I have seen;

                  if(ask > lastAsk) up = true;
                  if(bid < lastBid) up = false;

                  lastAsk = Ask;
                  lastBid = Bid;

                  using either OnMarketDataEventArgs or OnBarUpdate GetCurrentAsk method to populate Ask and Bid.

                  Personally I prefer the first approach as it is a more accurrate reflection of buyer/seller momentum (the ability of either to keep prices moving in their direction regardless of counter pressure exerted as reflected by Bid/Ask transactions.

                  Comment


                    Here's GomCD 3.1, implementing 2 new deta calculation rules in addition to bid/ask comparison
                    • UpDownTick => delta=sign(price-lastprice)*volume
                    • UpDownTickWithContinuation : same as above but if price=lastprice, volume is considered to be in direction of last up or down tick
                    Attached Files

                    Comment


                      Another fine improvement . Very telling when plotted one above the other .
                      Just wondering what "Recording short " means ?

                      Comment


                        Originally posted by T2020 View Post
                        Another fine improvement . Very telling when plotted one above the other .
                        Just wondering what "Recording short " means ?
                        It's the file format, there are 2 of them : flat and short. OK mena it's recording OK. It's true the message can be confusing

                        Comment


                          Originally posted by gomifromparis View Post
                          It's the file format, there are 2 of them : flat and short. OK mena it's recording OK. It's true the message can be confusing
                          Is there any advantage to using Flat or Short format ?

                          Comment


                            Originally posted by T2020 View Post
                            Is there any advantage to using Flat or Short format ?
                            Flat gives larger files but easier to read if you need it. But data is the same.

                            Comment


                              OK , thanks again .

                              Comment


                                Volume Filter

                                Do you have any plans to add a volume filter to your indicator? For example plotting your indicator for block trades over 5000 shares.

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by lorem, 04-25-2024, 09:18 AM
                                19 responses
                                80 views
                                0 likes
                                Last Post NinjaTrader_ChelseaB  
                                Started by joselube001, 05-10-2024, 12:17 PM
                                6 responses
                                29 views
                                0 likes
                                Last Post joselube001  
                                Started by bigc0220, 09-18-2018, 09:16 AM
                                6 responses
                                2,579 views
                                0 likes
                                Last Post NinjaTrader_ChelseaB  
                                Started by DawnTreader, 05-08-2024, 05:58 PM
                                21 responses
                                81 views
                                0 likes
                                Last Post NinjaTrader_Gaby  
                                Started by doihaveto13, Today, 12:46 PM
                                2 responses
                                7 views
                                0 likes
                                Last Post doihaveto13  
                                Working...
                                X