• 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

Narrow Range Bar

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

    Narrow Range Bar

    I was just curious if anyone had written script for a narrow range bar with a customizable # of bars? I don't know how to write code or I would do so myself and share it.

    #2
    NR7v1

    My first NinjaScript. Hope this is useful for the community.
    Attached Files

    Comment


      #3
      Thanks for the contribution. Would you mind submitting this to the File Sharing section where all indicators are cataloged?
      RayNinjaTrader Customer Service

      Comment


        #4
        thx shasha

        Hi Shasha,

        thx for sharing your first Ninja stuff. Itīs up to me do follow your spirit but as it will be my first script ever it will take time to comprehend this kind of language...
        Every time I load my workspace with the nr7 it appears invisible on the charts. Itīs a little change done fast but if you consider to work over the nr7v1 may you keep in mind working out this change.
        Am I doing something wrong? I changed from the standard color to yellow... but if I keep the green setting itīs the same...


        Good Trading
        c

        Comment


          #5
          Originally posted by calibri View Post
          Hi Shasha,

          thx for sharing your first Ninja stuff. Itīs up to me do follow your spirit but as it will be my first script ever it will take time to comprehend this kind of language...
          Every time I load my workspace with the nr7 it appears invisible on the charts. Itīs a little change done fast but if you consider to work over the nr7v1 may you keep in mind working out this change.
          Am I doing something wrong? I changed from the standard color to yellow... but if I keep the green setting itīs the same...


          Good Trading
          c
          I got the same problem. The indicator can't retain the color when I save it to a template, and always turn invisible when loaded from the template. Can anyone help? Thanks.

          Comment


            #6
            You have to serialize the color input in your code.

            Check out this post
            mrlogik
            NinjaTrader Ecosystem Vendor - Purelogik Trading

            Comment


              #7
              Thanks, I tried it and it worked!

              Comment


                #8
                glad it worked for you tj,

                can you please post it for the community.

                thanks!
                mrlogik
                NinjaTrader Ecosystem Vendor - Purelogik Trading

                Comment


                  #9
                  Originally posted by mrlogik View Post
                  glad it worked for you tj,

                  can you please post it for the community.

                  thanks!
                  Of coz, attached the modified indicator.
                  Attached Files

                  Comment


                    #10
                    Great thanks for sharing!
                    BertrandNinjaTrader Customer Service

                    Comment


                      #11
                      dumb question, what does narrow range bars give you? It displays a vertical bar, but what does this mean? Hope someone can share the meaning of the narrow range bar indicator?

                      Thankyou in advanced.

                      Comment


                        #12
                        Could you build also NR4

                        Originally posted by shasha View Post
                        My first NinjaScript. Hope this is useful for the community.
                        Could you build also NR4?

                        Thnaks for the sharing

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by bouncetherubble, Yesterday, 08:42 PM
                        1 response
                        11 views
                        0 likes
                        Last Post NinjaTrader_ChrisL  
                        Started by bortz, Yesterday, 08:18 AM
                        5 responses
                        35 views
                        0 likes
                        Last Post bortz
                        by bortz
                         
                        Started by GARZONJ, Yesterday, 09:02 PM
                        1 response
                        15 views
                        0 likes
                        Last Post NinjaTrader_ChrisL  
                        Started by siroya, Today, 06:32 AM
                        4 responses
                        19 views
                        0 likes
                        Last Post NinjaTrader_ChrisL  
                        Started by cstern71, 09-02-2019, 10:30 AM
                        2 responses
                        40 views
                        0 likes
                        Last Post tgn55
                        by tgn55
                         
                        Working...
                        X