Announcement

Collapse
No announcement yet.

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 cincai, Today, 07:02 PM
        0 responses
        1 view
        0 likes
        Last Post cincai
        by cincai
         
        Started by AlexsOptions, Today, 05:42 PM
        2 responses
        12 views
        0 likes
        Last Post AlexsOptions  
        Started by philli4093, Today, 05:20 PM
        2 responses
        8 views
        0 likes
        Last Post philli4093  
        Started by memonolog, Today, 04:58 PM
        0 responses
        4 views
        0 likes
        Last Post memonolog  
        Started by robvul, Today, 04:20 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Working...
        X