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

DrawX() to the right of bar 0

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

    DrawX() to the right of bar 0

    Using the 6.5 CustomPlotSample indicator as a starting point, I have created an indicator that allows me to draw vertical lines to the right of bar 0, between specified prices. I don't have a clue how to now DrawDot(), DrawSquare(), DrawDiamond(), etc. to the right of bar 0. Any hints would be appreciated.

    #2
    Unfortunately negative index values for the "right" of a bar is not currently supported.
    RayNinjaTrader Customer Service

    Comment


      #3
      How else or when?

      I also have a need for this. I want to plot some "time" clustering. Say, for example, the time distance between the last 2 swing points plotted into the future.

      Can I plot it via an indicator rather than a vertical line?

      If I can't when will NinjaScript allow this important need?

      Thanks.

      Comment


        #4
        You can always draw to the right of the most current bar by overriding the Plot() method. This is advanced programming and a sample is provided as part of the standard NT indicator list.

        Otherwise, negative bar values is on our list for NT7 later this year.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Balage0922, Today, 07:38 AM
        0 responses
        1 view
        0 likes
        Last Post Balage0922  
        Started by JoMoon2024, Today, 06:56 AM
        0 responses
        6 views
        0 likes
        Last Post JoMoon2024  
        Started by Haiasi, 04-25-2024, 06:53 PM
        2 responses
        19 views
        0 likes
        Last Post Massinisa  
        Started by Creamers, Today, 05:32 AM
        0 responses
        6 views
        0 likes
        Last Post Creamers  
        Started by Segwin, 05-07-2018, 02:15 PM
        12 responses
        1,786 views
        0 likes
        Last Post Leafcutter  
        Working...
        X