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 Belfortbucks, Today, 09:29 PM
        0 responses
        6 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Working...
        X