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

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.
    Paul H.NinjaTrader Customer Service

    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
        Paul H.NinjaTrader Customer Service

        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.

            Paul H.NinjaTrader Customer Service

            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."
                Paul H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Mestor, 03-10-2023, 01:50 AM
                16 responses
                388 views
                0 likes
                Last Post z.franck  
                Started by rtwave, 04-12-2024, 09:30 AM
                4 responses
                31 views
                0 likes
                Last Post rtwave
                by rtwave
                 
                Started by yertle, Yesterday, 08:38 AM
                7 responses
                29 views
                0 likes
                Last Post yertle
                by yertle
                 
                Started by bmartz, 03-12-2024, 06:12 AM
                2 responses
                22 views
                0 likes
                Last Post bmartz
                by bmartz
                 
                Started by funk10101, Today, 12:02 AM
                0 responses
                7 views
                0 likes
                Last Post funk10101  
                Working...
                X