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

Anybody want to help with a super simple favor?

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

    Anybody want to help with a super simple favor?

    NinjaScripters,

    Don't suppose one of you coders would be willing to bang out a no brainer (I'm pretty sure this would be simple) for me? I'm looking for an "indicator" that will draw a dot or arrow under/over a candle that closes in the top or bottom 25% of the candle's range?

    Doesn't hurt to ask right?


    JDog42

    #2
    Hello JDog42,

    Thank you for your post.

    We do not provide programming services for our users. This does appear to be a fairly simple idea and would be a great example for you to learn NinjaScript (if you are interested).

    I should be able to provide you with the code for this, however I need you to define and clarify what the candle's range is and how this is determined for your indicator.

    Comment


      #3
      PatrickH,

      First of all I would love to learn Ninjascript, and would be very interested in where and how to get some of the basics and beyond. I define the range as the High and the Low of the bar. If the bar closes UP then it's: ((Close - Low)/Range) > 75 would be in the top 25%- plop a dot or arrow BELOW the UP bar. Flip it all around for a DOWN bar. I'm currently using a 1 for the "K" period on a fast stochastic which gives me the same formation, but it's not where or how I want the information visually.

      JDog

      Comment


        #4
        Originally posted by jimdog42 View Post
        NinjaScripters,

        Don't suppose one of you coders would be willing to bang out a no brainer (I'm pretty sure this would be simple) for me? I'm looking for an "indicator" that will draw a dot or arrow under/over a candle that closes in the top or bottom 25% of the candle's range?

        Doesn't hurt to ask right?


        JDog42
        What's a good name for this?

        Comment


          #5
          You mean for the indicator? "JBar"

          Comment


            #6
            Originally posted by jimdog42 View Post
            You mean for the indicator? "JBar"

            Comment


              #7
              Originally posted by jimdog42 View Post
              You mean for the indicator? "JBar"
              I guess I should have used >= and <= .. it's currently using > or <.

              so use 26% instead of 25%, or change the code on the check.

              Comment


                #8
                WHAT THE.... Are you kidding me?!?!? Do you sneeze code or something?!?!? Dude, you had this done before I hit send to my original request!

                Brother Sledge Rocks...

                Thank you!

                JDog

                Comment


                  #9
                  Originally posted by jimdog42 View Post
                  WHAT THE.... Are you kidding me?!?!? Do you sneeze code or something?!?!? Dude, you had this done before I hit send to my original request!

                  Brother Sledge Rocks...

                  Thank you!

                  JDog
                  I started around 5:55pm EST... Finished 6:41pm EST.

                  Comment


                    #10
                    Perfect... From here I want to see if I can manage some simple conditioning to clean up the frequency of occurrence.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by adeelshahzad, Today, 03:54 AM
                    1 response
                    13 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by RookieTrader, Today, 07:41 AM
                    1 response
                    5 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by kujista, Today, 05:44 AM
                    1 response
                    9 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by elderan, Yesterday, 08:03 PM
                    1 response
                    12 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by samish18, Yesterday, 08:57 AM
                    8 responses
                    25 views
                    0 likes
                    Last Post samish18  
                    Working...
                    X