Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can DrawRay be modified such that is displays the projected price?

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

    Can DrawRay be modified such that is displays the projected price?

    I'm using DrawRay to display trend lines. It works as expected. However, I would like to see the projected price.

    #2
    Hello,

    You want to draw it so it extends into the space to the right of the most recent bar? You should be able to. Provide a screen shot of what you are getting and some code and I will attempt to assist you.
    DenNinjaTrader Customer Service

    Comment


      #3
      Can DrawRay be modified such that is displays the projected price?

      I would like to set PaintPriceMarkers = true and see the price where the ray intersects the y-axis.
      Attached Files
      Last edited by ojohnson; 07-12-2009, 01:33 PM. Reason: posting screen shot and code

      Comment


        #4
        Hello,

        This is not supported. I suggest you put a linear equation (y = mx + b) in your indicator to determine the intercept of the y axis at some point in the future then use DrawTextFixed() to print it on your screen:
        DenNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        245 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        157 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        165 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        250 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        201 views
        0 likes
        Last Post CarlTrading  
        Working...
        X