• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Equivolume Candles?

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

    #16
    You can adjust the barwidth through Chart Properties. This is more of a universal application as opposed to single bars though.
    JoshNinjaTrader Customer Service

    Comment


      #17
      It can be done by writing your own custom plotting algorithm, look at Gumphrie's HeikenAshi indicator for inspiration. It probably wouldn't be pretty though.
      Last edited by Rollins; 08-20-2008, 01:11 AM.

      Comment


        #18
        Equivolume Bars / Candles

        Any news yet on whether these will be included in Version 7?

        Comment


          #19
          Originally posted by jackh View Post
          Any news yet on whether these will be included in Version 7?
          We are not sure if this will be implemented in NT7 or not. They are on our list but we may not get to it. Here is a current list of NT7 features.

          http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
          RayNinjaTrader Customer Service

          Comment


            #20
            EquiVolume

            Count me in as well

            Cheers W

            Comment


              #21
              Definitely count me in on this one too... if you don't get it done in the first iteration of NT for the initial release, please add it as soon as possible after launch...

              Comment


                #22
                This is how others do it. Dont know if it can be used
                Cheers, W

                http://www.ensignsoftware.com/espl/espl15.htm

                This example implements an EquiVolume plot on a chart. It not intended to update in real-time or to be persistent by redrawing itself when a chart repaints. It will draw an EquiVolume image on a chart when the #9 button on the script editor is clicked.
                Cut the script from this page and paste it into the ESPL Script editor. Click on the #9 button on the script editor form to execute.

                procedure EquiVolume;
                var
                i,xPos,iVolRange,iBarIndex: integer;
                OO,HH,LL,CC,x,cl: integer;
                begin
                if FindWindow(eChart)>0 then
                begin
                i:=BarEnd;
                xPos:=IndexToX(BarEnd);
                iVolRange:=Highest(eVolume,BarEnd,BarEnd,iBarIndex ,1,0);
                while (i>1) and (xPos>0) do
                begin
                OO:=PriceToY(Open(i));
                HH:=PriceToY(High(i));
                LL:=PriceToY(Low(i));
                CC:=PriceToY(Last(i));
                if (OO < CC) then cl:=clRed else cl:=clLime;
                SetPen(cl);
                SetBrush(cl);
                x:=20*Volume(i) div iVolRange; if x=0 then x:=1;
                Rectangle(xPos-x,HH,xPos,LL);
                SetPen(clBlack);
                MoveToLineTo(xPos-x div 2,CC,xPos,CC); {close}
                MoveToLineTo(xPos-x,OO,xPos-x div 2,OO); {open}
                xPos:=xPos-x-2;
                dec(i);
                end;
                end;
                end;

                {**********Main Program**********}
                begin
                if who=9 then EquiVolume;
                end;

                Notes: i is the index for the bar records and initialize to start at the last bar on the chart.
                xPos is the horizontal plotting position.
                iVolRange is the largest volume for the bars in the chart's data set.
                The while statement will loop until we run out of bars or until the plot reaches the left edge of the chart.
                OO, HH, LL, CC are the vertical plot positions on the chart for the prices from bar( i ).
                Depending on the open vs. close relationship, choose a color for the bar.
                x will be the width of the bar up to a maximum of 20 pixels.
                The Rectangle function draws the bar for height and width and colors the interior of the rectangle.
                MoveToLineTo draws a line in black for the close and open tick hashes.
                Step the plot position to the left and decrement the index i.

                Last edited by Willem; 09-27-2009, 06:28 AM.

                Comment


                  #23
                  3rd Party Add On available for Equivolume Bars

                  Here's a 3rd party add-on for Equivolume from indicatorwarehouse. http://www.indicatorwarehouse.com/Equivolume-Bars.htm

                  I may have to buy it - seems like it should work great looking for dry volume (thin bars) before going long/short maybe using other indicators.

                  Comment


                    #24
                    Check out edsvolpricebar in the file sharing area for indicators. I tried loading it this weekend when not connected and it didn't seem to work, but I believe its intention is to plot equivolume bars. It is a very good feature and I strongly recommend it go into NT7.

                    Also Point and Figure with nicer drawing options than 0 and X and ability to shrink them into solid bars of different color when zooming out the chart to view more data every once in a while.
                    Last edited by cclsys; 11-01-2009, 08:46 AM.

                    Comment


                      #25
                      are you guys over at ninja planning on adding BASIC equivolume. for a troupe of programmers this should be a breeze. if you do your homework you'll notice that any PROFESSIONAL level package has this.

                      and that implementation over at indicator warehouse does NOT look correct at all. that is some proprietary formula to calculate the bars. ninja should use richard arms original formula.

                      Comment


                        #26
                        Hello traderlars,

                        I will forward your suggestion to our development team and ask them if they can add this to the list of future considerations for the software.
                        JasonNinjaTrader Customer Service

                        Comment


                          #27
                          Hi,
                          I've modified the existing out-of-the-box Candle so it scales the width according to what the volume is. Try sticking this file in: Documents\NinjaTrader 7\bin\Custom\Type, open an indicator NinjaScript, compile and restart.

                          CandleVol.cs

                          The specified barwidth in the settings is used as the maximum width so you could try setting it to 9-10 something.



                          Note: I've only tried it in NinjaTrader 7.

                          Regards
                          Last edited by klassej; 01-27-2010, 12:18 PM.

                          Comment


                            #28
                            Originally posted by klassej View Post
                            Hi,
                            I've modified the existing out-of-the-box Candle so it scales the width according to what the volume is. Try sticking this file in: Documents\NinjaTrader 7\bin\Custom\Type, open an indicator NinjaScript, compile and restart.

                            [ATTACH]9085[/ATTACH]

                            The specified barwidth in the settings is used as the maximum width so you could try setting it to 9-10 something.



                            Note: I've only tried it in NinjaTrader 7.

                            Regards
                            Thanks a lot! This seems to work fairly nicely. I was just wondering though - is there any way to construct this as an additional/new chart type so you we could still use the original candlestick chart type as well if we wanted to? Right now it replaces the original code, so if we want to use this we'll have to forego original candles on any of our charts... much appreciated!

                            Comment


                              #29
                              Thanks. What's the secret to becomming a beta tester? I've tried signing up a couple of times. Looking forward to using CandleVol when v7 is released - wish I could try it out now.

                              I tried in v6.5 and got some errors - guessing a newer version of the framework is being used in v7.

                              Comment


                                #30
                                Originally posted by dwhall View Post
                                Thanks. What's the secret to becomming a beta tester? I've tried signing up a couple of times. Looking forward to using CandleVol when v7 is released - wish I could try it out now.

                                I tried in v6.5 and got some errors - guessing a newer version of the framework is being used in v7.
                                I applied very early on to be a beta tester... I think there's a public beta that should be out soon anyways... probably in the next few weeks would be my guess, although they haven't said anything official.

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by Mike3238, Today, 07:09 PM
                                0 responses
                                6 views
                                0 likes
                                Last Post Mike3238  
                                Started by sambo81, Today, 06:57 PM
                                0 responses
                                7 views
                                0 likes
                                Last Post sambo81
                                by sambo81
                                 
                                Started by erichuff, Today, 04:53 AM
                                1 response
                                27 views
                                0 likes
                                Last Post NinjaTrader_ChrisL  
                                Started by stevenev1, Today, 01:43 PM
                                0 responses
                                8 views
                                0 likes
                                Last Post stevenev1  
                                Started by shinuvu, Today, 11:05 AM
                                3 responses
                                21 views
                                0 likes
                                Last Post NinjaTrader_ChrisL  
                                Working...
                                X