Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fib Drawing Tool

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

    Fib Drawing Tool

    Would any one be able to help.

    I use FIB drawing tool and use a couple of different setups to measure.

    It seems that with ninja there is no way of hot keying the templates so you have to manually go in and select the one you want.

    Would it be possible for anyone to copy the code for the existing FIB tool and just rename it and re submit it as a new drawing tool/ ninja add on?

    This way I could have each template with a new drawing tool eg FIB 1, FIB 2, and have the template I want as the default on each one and a hotkey on each.

    IF so can someone point me to how to do this.

    Thanks

    Bread.

    #2
    Here's one way of doing this, assuming you're referring to the Fib Retracements (not the Extensions, Circle or TimeExtensions).

    Place the attached file in either:
    Documents > NinjaTrader 8 > bin > Custom > DrawingTools
    ​or
    Documents > NinjaTrader 8 > bin > Custom > AddOns

    then open a NinjaScript Editor window and compile (F5).

    You should get two new DrawingTools derived from NinjaTrader's built-in Fibonacci Retracements (named them A and B but you can change that easily). Assign the Hotkey for each as you would any other DrawingTool.

    For the default percentages/brushes, you can either:
    edit the defaults manually in the file (lines 43-48 and 78-82)
    or
    load up each of the tools, configure it the way you want, then save a template with the name "Default"


    I hope this helps.
    Attached Files
    Last edited by samir.of.salem; 02-18-2024, 02:54 PM.

    Comment


      #3
      Hello Bread,

      Thanks for your post.

      We are tracking interest in an existing feature request for placing drawing tools with a template using a hotkey.

      Please let me know if you would like me to add your vote to this feature request.

      In the Support department at NinjaTrader we cannot create/debug/ or modify code or logic for our clients. This is so that we can maintain a high level of service for all of our clients as well as our partners.

      If you want to create a copy of a script you could do so by opening a New > NinjaScript Editor window, opening the DrawingTools folder, double-clicking on the file you want to make a copy of, right-clicking within the code of the file, selecting 'Save as', and naming the copy of the script. Note that if any compile errors appear these would need to be resolved.

      You could consider taking the approach shared by samir.of.salem using the script file they shared to accomplish your goals.
      <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


        #4
        Originally posted by samir.of.salem View Post
        Here's one way of doing this, assuming you're referring to the Fib Retracements (not the Extensions, Circle or TimeExtensions).

        Place the attached file in either:
        Documents > NinjaTrader 8 > bin > Custom > DrawingTools
        ​or
        Documents > NinjaTrader 8 > bin > Custom > AddOns

        then open a NinjaScript Editor window and compile (F5).

        You should get two new DrawingTools derived from NinjaTrader's built-in Fibonacci Retracements (named them A and B but you can change that easily). Assign the Hotkey for each as you would any other DrawingTool.

        For the default percentages/brushes, you can either:
        edit the defaults manually in the file (lines 43-48 and 78-82)
        or
        load up each of the tools, configure it the way you want, then save a template with the name "Default"


        I hope this helps.
        thanks so much for taking the time to do this I will try as you said now.

        Comment


          #5
          Originally posted by NinjaTrader_BrandonH View Post
          Hello Bread,

          Thanks for your post.

          We are tracking interest in an existing feature request for placing drawing tools with a template using a hotkey.

          Please let me know if you would like me to add your vote to this feature request.

          In the Support department at NinjaTrader we cannot create/debug/ or modify code or logic for our clients. This is so that we can maintain a high level of service for all of our clients as well as our partners.

          If you want to create a copy of a script you could do so by opening a New > NinjaScript Editor window, opening the DrawingTools folder, double-clicking on the file you want to make a copy of, right-clicking within the code of the file, selecting 'Save as', and naming the copy of the script. Note that if any compile errors appear these would need to be resolved.

          You could consider taking the approach shared by samir.of.salem using the script file they shared to accomplish your goals.
          Please do add my vote to this feature thanks for the reply.

          Comment


            #6
            Hello Bread,

            Thanks for your notes.

            I have added your vote to the existing feature request we are tracking interest for. This request is being tracked under the number SFT-2386.

            As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted on the Release Notes page of the Help Guide.

            Release Notes — https://ninjatrader.com/support/help...ease_notes.htm
            <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


              #7
              Originally posted by NinjaTrader_BrandonH View Post
              Hello Bread,

              Thanks for your post.

              We are tracking interest in an existing feature request for placing drawing tools with a template using a hotkey.

              Please let me know if you would like me to add your vote to this feature request.

              In the Support department at NinjaTrader we cannot create/debug/ or modify code or logic for our clients. This is so that we can maintain a high level of service for all of our clients as well as our partners.

              If you want to create a copy of a script you could do so by opening a New > NinjaScript Editor window, opening the DrawingTools folder, double-clicking on the file you want to make a copy of, right-clicking within the code of the file, selecting 'Save as', and naming the copy of the script. Note that if any compile errors appear these would need to be resolved.

              You could consider taking the approach shared by samir.of.salem using the script file they shared to accomplish your goals.
              Hi, Brandon, Please count me in too!

              I think this feature is going to be a life saver, if the templates can be chosen on the fly too.

              Nonetheless, step-by-step we'll be there I hope.

              Comment


                #8
                Hello,

                Your vote has been added.

                Comment


                  #9
                  .. as always.

                  An excellent request that goes back some years is added to "THE LIST" which is stored in the basement and ignored by NT entirely.

                  How can you not have this functionality listed as a priority?

                  Quite simple.

                  None of you actually trade so you have absolutely no concept of what's important.

                  Comment

                  Latest Posts

                  Collapse

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