Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Anybody willing to make quick adjustments for a custom indicator me please?

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

    Anybody willing to make quick adjustments for a custom indicator me please?

    I've been playing around with some free add-ons/indicators but I wanted to customize them a little bit more. In the Ninjascript editor I've been able to get some things changed to my liking. I would need someone with more experience to take just a few minutes to adjust a few more things for me.



    1. One click trading indicator

    -Want to add another button as a hot key other than "Shift or Alt"
    ***edit**Got this one done myself after playing around


    2. Range Counter

    -Wanted to move it farther to the right of the bars



    Thanks
    Last edited by kdegale; 08-20-2023, 02:41 PM.

    #2
    Hello kdegale,

    Thanks for your post.

    In the support department at NinjaTrader it is against our policy to create, debug, or modify, code or logic for our clients. Further, we do not provide C# programming education services in our support. This is so that we can maintain a high level of service for all of our clients as well as our partners.

    That said, I am happy to answer any questions you may have about NinjaScript if you decide to code this yourself.

    This forum thread will be open for other community members to share their insights or offer their services to you.

    ​If you need someone to write this script for you on your behalf, you can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script.

    You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!

    https://ninjatraderecosystem.com/sea...mming-services

    Educators - https://ninjatraderecosystem.com/sea...ures=education

    You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.

    This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Originally posted by NinjaTrader_BrandonH View Post
      Hello kdegale,

      Thanks for your post.

      In the support department at NinjaTrader it is against our policy to create, debug, or modify, code or logic for our clients. Further, we do not provide C# programming education services in our support. This is so that we can maintain a high level of service for all of our clients as well as our partners.

      That said, I am happy to answer any questions you may have about NinjaScript if you decide to code this yourself.

      This forum thread will be open for other community members to share their insights or offer their services to you.

      ​If you need someone to write this script for you on your behalf, you can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script.

      You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!

      https://ninjatraderecosystem.com/sea...mming-services

      Educators - https://ninjatraderecosystem.com/sea...ures=education

      You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.

      This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

      OK,

      I'd actually like to take a floating range counter I use & modify it slightly.
      At the moment, the text is far too small & far too close the current bar being printed. I just need to move the counter a few more pixels to the right of where it normally is. Then I'd like to increase the size of the text.
      Attached Files
      Last edited by kdegale; 08-21-2023, 03:01 PM.

      Comment


        #4
        Hello kdegale,

        Thanks for your notes.

        How exactly is the counter being drawn on the chart window and how is the method drawing the drawn object being defined?

        Does the script use Draw.Text() or Draw.TextFixed() to draw the text on the chart window?

        Or, does the script use SharpDX in OnRender() to custom render objects on the chart?

        I look forward to assisting further.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment


          #5
          Originally posted by NinjaTrader_BrandonH View Post
          Hello kdegale,

          Thanks for your notes.

          How exactly is the counter being drawn on the chart window and how is the method drawing the drawn object being defined?

          Does the script use Draw.Text() or Draw.TextFixed() to draw the text on the chart window?

          Or, does the script use SharpDX in OnRender() to custom render objects on the chart?

          I look forward to assisting further.
          Hi,

          I'm guessing it would be here somewhere?:

          if(ShowValues)
          {
          Draw.Text(this, "HighValue", true, "" + FormatPrice(highMarker), -1, highMarker , 5, AxisColor, textFont, TextAlignment.Left, AxisColor, TransparentBrush, 10);
          Draw.Text(this, "LowValue", true, "" + FormatPrice(lowMarker), -1, lowMarker , -5, AxisColor, textFont, TextAlignment.Left, AxisColor, TransparentBrush, 10);
          }

          if(ShowTicksTillFullBar)
          {
          double HiLoPrice = High[0]-Low[0];
          int HiLoTicks = HiLoPrice == 0? (int)0: (int)(HiLoPrice/TickSize);
          int TicksTillFullBar = Bars.BarsPeriod.Value - HiLoTicks;
          Draw.Text(this, "BarSizer", true, "" + TicksTillFullBar.ToString() + " Ticks", -1, MidPrice , 0, AxisColor, textFont, TextAlignment.Left, AxisColor, TransparentBrush, 10);
          }
          }​
          Attached Files

          Comment


            #6
            Hello kdegale,

            Thanks for your notes.

            I see the script is using the Draw.Text() method to draw text on the chart window. It also seems like the Draw.Text() method uses a SimpleFont called textFont.

            To change the size of the text you could modify the SimpleFont textFont variable in the script.

            See this help guide page for more information about SimpleFont and sample code: https://ninjatrader.com/support/help...font_class.htm

            See this help guide page for more information about the Draw.Text() method and its properties: https://ninjatrader.com/support/help.../draw_text.htm


            ​If you need someone to write this script for you on your behalf, you can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script.

            You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!

            https://ninjatraderecosystem.com/sea...mming-services

            Educators - https://ninjatraderecosystem.com/sea...ures=education

            You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.

            This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.​​
            <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            639 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            366 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            107 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            569 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            572 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X