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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        43 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        29 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        46 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        38 views
        0 likes
        Last Post CarlTrading  
        Working...
        X