Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Arrows Using Drawing Tool

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

    Custom Arrows Using Drawing Tool

    From my indicator , i will add multiple buttons in chart menu. Based on what button i select , i want to draw custom size Arrow on chart using mouse click. I need guidance to implement this on indicator/drawing tool.

    #2
    Hello nandhumca,

    Thanks for your post.

    To create custom sized arrows on the chart you could download and use the drawing tool "ChartMarkersPlus" which allows for resizing the draw objects of arrows, triangles, squares, dots. The tool also has NS methods you can then call from your code to draw the arrows as you wish.

    For buttons, please see: https://ninjatrader.com/support/help...ui)-modifi.htm

    The ChartMarkersPlus drawing tool is publicly available on our NinjaTrader Ecosystem website:Here is a basic guideline of how to import NinjaScript add-ons in NinjaTrader 8:

    Note — To import NinjaScripts you will need the original .zip file.

    To Import:
    1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
    2. From the Control Center window select the menu Tools > Import > NinjaScript Add-on...
    3. Select the downloaded .zip file
    4. NinjaTrader will then confirm if the import has been successful.

    Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

    The 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 add-ons 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.

    Comment


      #3
      Thanks Paul. I am a beginner and want to learn more about creating custom drawing tool from scratch. Can you guide me where can I find tutorial to learn ninja script drawing tool development?

      Comment


        #4
        Hello nandhumca,

        Thanks for your reply.

        I'm sorry there are no such tutorials for creating advanced topics such as drawing tools.

        The existing drawing tools source code can be found in the Ninjascript editor/explorer under the drawing tools folder.

        You can use the Ninjascript editor wizard to create a new drawing tool structure to work with. Reference: https://ninjatrader.com/support/help...?ns_wizard.htm

        Here is a link to the Help guide educational section where you will find some related topics: https://ninjatrader.com/support/help..._resources.htm

        Here is a link to the help guide drawing tool section: https://ninjatrader.com/support/help...wing_tools.htm

        Comment


          #5
          Thanks Paul. Do you have simple drawing tool implementation to understand the drawing tool life cycle ?

          Comment


            #6
            Hello nandhumca,

            Thanks for your reply.

            No, there is not a simple drawing tool implementation.

            I would suggest reviewing the existing drawing tools coding.

            Comment


              #7
              Thanks. Where can I find all existing drawing line coding?

              Comment


                #8
                Hello nandhumca,

                Thanks for your reply.

                "The existing drawing tools source code can be found in the Ninjascript editor/explorer under the drawing tools folder."

                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
                333 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