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

Ruler with multiple points

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

    Ruler with multiple points

    How would I go about adding additional points to the existing native ruler in NT8. Please see the attached image.
    Or perhaps someone knows of something like that already exists with an indicator.
    Attached Files

    #2
    Hello satmatw,

    You'll need to make a copy of the drawing tool script first.

    Next, you need to add Anchors and logic for these anchors in the GetCursor(), GetSelectionPoints(), IsVisibleOnChart(), OnMouseDown(), and OnMouseMove() methods.

    In OnRender() is where the logic for measuring between the anchor points is done and the lines, rectangles, and text is drawn.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you for your response. I look at this and is a bit complicated - could you perhaps show me for one anchor point so that I can perhaps use that as a guide to complete for the rest? Thank you.

      Comment


        #4
        Hello satmatw,

        When comes to creating custom logic, our team typically does not do this at request.

        What you are wanting to do is very advanced and will be quite complex. I do not have any examples of this specific custom logic at this time.

        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 or one on one educational support in our NinjaScript Support department. This is so that we can maintain a high level of service for all of our clients as well as our associates.

        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. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like a list of affiliate consultants who would be happy to create this script or any others at your request or provide one on one educational services.​

        I will note your request, and we may address at a future date if time and resources allow.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,788 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        835 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,291 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        11 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        62 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X