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 burtoninlondon, Today, 12:38 AM
        0 responses
        5 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        12 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        13 views
        0 likes
        Last Post strategist007  
        Started by StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,982 views
        3 likes
        Last Post jhudas88  
        Working...
        X