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

Profitunity Squat Bar

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

    Profitunity Squat Bar

    Has anyone programmed Bill William's Profitunity System squat bar indicator? He has two incarnations of this indicator. The preferred one is to turn the price bar blue to indicate a squat.

    #2
    In adition to your post, please check the NinjaScript File Sharing area. I am not sure if this indicator exists but it does not hurt to check.
    RayNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Ray View Post
      In adition to your post, please check the NinjaScript File Sharing area. I am not sure if this indicator exists but it does not hurt to check.
      Yes, I did search there on Profitunity Squat and didn't come up with anything. I am trying to develop it but as a non C programmer I'm having problems. The forum will probably hear from me for help.

      Comment


        #4
        Hello Esmet,

        I'm planning to develop the squat bar indicator also... I'm not a very good programmer and for now I'm gathering information, but I'll work on that.

        Do you know if the tick volume indicator already exist for Ninja ?

        I hope to hear from you !

        Comment


          #5
          Originally posted by jed77 View Post
          Hello Esmet,

          I'm planning to develop the squat bar indicator also... I'm not a very good programmer and for now I'm gathering information, but I'll work on that.

          Do you know if the tick volume indicator already exist for Ninja ?

          I hope to hear from you !
          Jed77,

          I did program both the Market Facilitation Index and a squat indicator. The squat indicator's a bit mickey mouse. I didn't want to mess with changing the bar color which is what Bill William's does because I like to look at candlesticks so what I did was put a dot over a squat bar. Because of the differences in magnitude in which different markets are quoted, in some cases the dot is very far away from the bar. This can be scaled with a parameter called TickMult. But since the indicator is mickey mouse I don't feel comfortable posting it in the indicators forum.

          If you like however, send me an email (which will reveal your email to me) and I'll email you an attachment of the indicators.

          Comment


            #6
            Sent you an email... Did you received it ?
            Have a good week-end !

            Comment


              #7
              Originally posted by jed77 View Post
              Sent you an email... Did you received it ?
              Have a good week-end !
              I did but I won't have time to attend to it until this evening.

              Comment


                #8
                esmet, try using TickSize for the dot offset. For example:
                Values[0].Set(High[0] + 1.5 * TickSize);
                and then you can post your non-mickey mouse code.
                eDanny
                NinjaTrader Ecosystem Vendor - Integrity Traders

                Comment


                  #9
                  Originally posted by esmet View Post
                  I did but I won't have time to attend to it until this evening.
                  No problem !
                  All the best

                  Comment


                    #10
                    Originally posted by eDanny View Post
                    esmet, try using TickSize for the dot offset. For example:
                    Values[0].Set(High[0] + 1.5 * TickSize);
                    and then you can post your non-mickey mouse code.
                    DrawDot("dot" + CurrentBar, true, 0, High[0] + TickSize*TickMult,Color.Blue);

                    This is the line in my code. The issue is that, in some markets, one tick puts the dot right on top of the bar (which may be all right I suppose) and in other markets it places it a pleasant-to-view distance away. I use 150 as the default for TickMult.

                    The way Bill Williams apparently does it is by changing the color of the price bar to blue. I didn't want to do that because I use candlesticks and I need to see if the bar is red or green to know whether it closed up or down.

                    Comment


                      #11
                      You can make the candles any color you wish and still see if they close up or down by using code to make trend candles:

                      if(your test here for candle color 1)
                      {
                      CandleOutlineColor = Color.DarkBlue;
                      if(Open[0]<Close[0] && ChartControl.ChartStyleType == ChartStyleType.CandleStick )
                      {
                      BarColor = Color.Transparent;
                      }
                      else
                      {
                      BarColor = Color.Blue;
                      }

                      }


                      if(Your test here for candle color 2)
                      {
                      CandleOutlineColor = Color.Crimson;
                      if(Open[0]<Close[0] && ChartControl.ChartStyleType == ChartStyleType.CandleStick )
                      {
                      BarColor = Color.Transparent;
                      }
                      else
                      {
                      BarColor = Color.Red;
                      }

                      Make candles as many colors as you like, according to any rules and still see if they are hollow (up) or filled (down). If the outline and wicks are too thin, increase the thickness to 2-3 pixels in you chart properties.
                      eDanny
                      NinjaTrader Ecosystem Vendor - Integrity Traders

                      Comment


                        #12
                        eDanny,

                        Thank you for the information on coloring candlestick bars. I'm going to a Profitunity workshop next month. I'll see just how they're displaying the signal and when I get back, time permitting, maybe I'll code the indicator and post it in the indicator forum

                        Comment


                          #13
                          I'd also be interested in this indicator.

                          Been trading the Profitunity system with very good results thus far.

                          Comment


                            #14
                            Squat bar--Can't find this indicator in the archives--anybody know if it exists for Ninja?

                            Comment


                              #15
                              Originally posted by esmet View Post
                              Jed77,

                              I did program both the Market Facilitation Index and a squat indicator. The squat indicator's a bit mickey mouse. I didn't want to mess with changing the bar color which is what Bill William's does because I like to look at candlesticks so what I did was put a dot over a squat bar. Because of the differences in magnitude in which different markets are quoted, in some cases the dot is very far away from the bar. This can be scaled with a parameter called TickMult. But since the indicator is mickey mouse I don't feel comfortable posting it in the indicators forum.

                              If you like however, send me an email (which will reveal your email to me) and I'll email you an attachment of the indicators.
                              Jed77, do you think you could send me the indicator as well if I give you my email address?

                              Cheers mate.

                              Carlton
                              p.s.

                              If anyone else knows where I can find the MFI indicator I would appreciate it if they would let me know..

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by BarzTrading, Today, 07:25 AM
                              2 responses
                              23 views
                              1 like
                              Last Post BarzTrading  
                              Started by devatechnologies, 04-14-2024, 02:58 PM
                              3 responses
                              20 views
                              0 likes
                              Last Post NinjaTrader_BrandonH  
                              Started by tkaboris, Today, 08:01 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post tkaboris  
                              Started by EB Worx, 04-04-2023, 02:34 AM
                              7 responses
                              163 views
                              0 likes
                              Last Post VFI26
                              by VFI26
                               
                              Started by Mizzouman1, Today, 07:35 AM
                              1 response
                              10 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Working...
                              X