Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Previous Bar size (Need simple indicator)

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

    #31
    Hello all,

    Here's the latest. With Cutstocks request, just click on the "All bars" setting. Doing so will put the bar size on every bar and keep them there. If checked, the settings "Number of Bars" and "Display Ticks Offset - Horizontal" will be ignored.

    Hope that helps!
    Matt

    jtBarSize.zip

    Comment


      #32
      Hey StealthM93 thank you very much. This is exactly what I meant.

      Have a nice day!!

      Comment


        #33
        Hello all,
        StealthM93 i'm using this indicator you modified and it works perfectly. One question: i'm using a 14 days SMA of range bars in a different panel​.
        Would be perfect if i could see in the chart (near or above range bars values of your indicator), SMA value too. At the moment i have it on Data box.
        is it possible?
        Thank You
        Attached Files

        Comment


          #34
          Hello Fra12,

          Yes, that is possible. However, in my opinion, that is beyond the scope of the purpose of this indicator. Also, that would require a bit of extra programming that's outside of a free indicator here in the forums.

          Kind regards,
          Matt

          Comment


            #35
            Hello Fra12, just letting you know that I replied to your DM. I don't believe I got an email notification of your DM to me, so I'm @'ing you here.

            Comment


              #36
              Hey StealthM93, Is there any way to get this to work with daily bars (1440min)? The higher bar time you select, the fewer bars it displays. For example, right now if I select 120min, it shows 10 or so. Anything higher than that and it goes to none. 240min doesn't display on any bars. Thanks

              Comment


                #37
                Hello Touch-Ups,

                I just tested the situations you mentioned, and the indicator is working well. Be sure you have the latest version which is attached to post #31 above (October 5, 2024, 12:40 AM - Eastern US) or here:


                Hope that helps!
                Matt

                Comment


                  #38
                  Please help me with an indicator that paints blue when the candle is positive an the body over 50 ticks. And yellow when the candle is negative and body over 50 ticks. Thanks, Lucia

                  Comment


                    #39
                    LuciaMM,

                    Welcome to the NinjaTrader forums!

                    Below is a link to a support article on getting started with C# and NinjaScript.



                    Starting with the indicator provided by in post # 25

                    Add below line 70 where the barSize is calculated:
                    Code:
                    if (Close[0] > Open[0] && barSize > 50)
                    BarBrush = Brushes.Blue;
                    else if (Close[0] < Open[0] && barSize > 50)
                    BarBrush = Brushes.Yellow;
                    Chelsea B.NinjaTrader Customer Service

                    Comment


                      #40
                      Thank you, NinjaTrader_ChelseaB!

                      Since the additional code was minor, I added this feature to the indicator. Please see the latest attached to this post. FYI, LuciaMM

                      There are three new settings:
                      1. Large Candle (Ticks): How many ticks determines a large candle for color change. Use 0 to ignore this new feature.
                      2. Large Up Candle Color
                      3. Large Down Candle Color

                      For any users, please provide feedback or of any issues. If you deem appropriate, a Like on this post would appreciated.

                      Kind regards,
                      Matt
                      Attached Files

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                      0 responses
                      553 views
                      0 likes
                      Last Post Geovanny Suaza  
                      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                      0 responses
                      324 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by Mindset, 02-09-2026, 11:44 AM
                      0 responses
                      100 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                      0 responses
                      543 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by RFrosty, 01-28-2026, 06:49 PM
                      0 responses
                      546 views
                      1 like
                      Last Post RFrosty
                      by RFrosty
                       
                      Working...
                      X